diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2011-05-10 13:24:14 +0200 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-05-10 16:16:55 -0600 |
commit | e547e44cb0f3d3b556ca94de899b1dcedd878afd (patch) | |
tree | ead757d4de11051112d38e6ad518e16cfecec9b7 /tests/xml2sexprtest.c | |
parent | docs: updates to CA cert and client cert/key info (diff) | |
download | libvirt-e547e44cb0f3d3b556ca94de899b1dcedd878afd.tar.gz libvirt-e547e44cb0f3d3b556ca94de899b1dcedd878afd.tar.bz2 libvirt-e547e44cb0f3d3b556ca94de899b1dcedd878afd.zip |
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>
Diffstat (limited to 'tests/xml2sexprtest.c')
-rw-r--r-- | tests/xml2sexprtest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/xml2sexprtest.c b/tests/xml2sexprtest.c index dab8c8468..d8cdcbbe5 100644 --- a/tests/xml2sexprtest.c +++ b/tests/xml2sexprtest.c @@ -143,6 +143,8 @@ mymain(void) DO_TEST("fv-usbmouse", "fv-usbmouse", "fvtest", 1); DO_TEST("fv-usbmouse", "fv-usbmouse", "fvtest", 1); DO_TEST("fv-kernel", "fv-kernel", "fvtest", 1); + DO_TEST("fv-force-hpet", "fv-force-hpet", "fvtest", 1); + DO_TEST("fv-force-nohpet", "fv-force-nohpet", "fvtest", 1); DO_TEST("fv-serial-null", "fv-serial-null", "fvtest", 1); DO_TEST("fv-serial-file", "fv-serial-file", "fvtest", 1); |