Re: HPET configuration in Seabios

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/29/2011 02:05 PM, Jan Kiszka wrote:
On 2011-08-29 13:00, Avi Kivity wrote:
>  On 08/29/2011 01:25 PM, Jan Kiszka wrote:
>>>
>>>   Can't seabios just poke at the hpet itself and see if it exists or not?
>>>
>>
>>  Would be hard for the BIOS to guess the locations of the blocks unless
>>  we define the addresses used by QEMU as something like base + hpet_no *
>>  block_size in all cases.
>>
>
>  Currently we have a fixed address.  We could do:
>
>    if available in fw_cfg:
>        use that (may indicate no hpet)
>    elif fixed address works:
>        use that
>    else
>        no hpet

Currently, we also only have a single HPET block, but that's just
because of some QEMU limitations that will vanish sooner or later. Then
nothing will prevent multiple "-device hpet,base=XXX".


Yes, so we should enable the fw_cfg interface before that happens.


--
error compiling committee.c: too many arguments to function

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux