mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
xen: parse and generate hpet item in sxpr
Recent versions of Xen disable the virtual HPET by default. This is usually more precise because tick policies are not implemented for the HPET in Xen. However, there may be several reasons to control the HPET manually: 1) to test the emulation; 2) because distros may provide the knob while leaving the default to "enabled" for compatibility reasons. This patch provides support for the hpet item in both sexpr and xm formats, and translates it to a <timer> element. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
committed by
Eric Blake
parent
fa4732724e
commit
e547e44cb0
@@ -231,6 +231,9 @@ mymain(void)
|
||||
DO_TEST("fullvirt-serial-udp", 2);
|
||||
DO_TEST("fullvirt-serial-unix", 2);
|
||||
|
||||
DO_TEST("fullvirt-force-hpet", 2);
|
||||
DO_TEST("fullvirt-force-nohpet", 2);
|
||||
|
||||
DO_TEST("fullvirt-parallel-tcp", 2);
|
||||
|
||||
DO_TEST("fullvirt-sound", 2);
|
||||
|
||||
Reference in New Issue
Block a user