vdev hpet
Provide the guest with an HPET device
Synopsis:
vdev hpet options
Options:
- frequency value
- Use the given frequency instead of the default 14318180 Hz.
- intr intr_def[,intr_def[,intr_def[,...]]]
- Define timers and assign interrupt lines to them. For complex reasons and to support legacy operations, a Linux guest will expect the first timer to be on IRQ 0, and a QNX guest will expect it to be on IRQ 2. The second timer should be set to IRQ 8 in both cases, and any additional timer can use any other interrupt.
- legacy-free
-
Clear the
legacy
bit (LEG_RT_CA) in the main ID register. Specifically, clearing or not clearing the bit determines where Timer0 interrupts may be routed. - loc
- The base address of the HPET registers.
For a list of options available to all vdevs, see Common vdev options
at the beginning of this chapter.
Description:
x86 only. The hpet vdev provides a High-Precision Event Timer (HPET) device to the guest. It is exposed to the guest through an ACPI device. If this device is provided in the VM (qvm process instance), the guest may use HPET services. For example, for a QNX guest, the startup-apic command in a boot image will search for and use the virtualized HPET timer if it exists.
Currently, only the first HPET vdev is exposed, and there is no way for the guest to discover the address of any additional HPET vdev.
This vdev supports up to 32 timers. The guest can't change the IRQ assignment of each timer, but Message Signaled Interupts (MSIs) are supported.