]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Add capabilities bit for -no-kvm-pit-reinjection
authorDoug Goldstein <cardoe@cardoe.com>
Mon, 18 Feb 2013 05:46:29 +0000 (23:46 -0600)
committerDoug Goldstein <cardoe@cardoe.com>
Mon, 18 Feb 2013 18:03:52 +0000 (12:03 -0600)
The conversion to qemuCaps dropped the ability with qemu{,-kvm} 1.2 and
newer to set the lost tick policy for the PIT. While the
-no-kvm-pit-reinjection option is depreacated, it is still supported at
least through 1.4, it is better to not lose the functionality.

src/qemu/qemu_capabilities.c

index 51fc9dc08b0df1b3722fb5319671a8ab3dda42d5..af52bbf63bba9de2229eff1dd7080a46b898baa6 100644 (file)
@@ -2284,6 +2284,7 @@ virQEMUCapsInitQMPBasic(virQEMUCapsPtr qemuCaps)
     virQEMUCapsSet(qemuCaps, QEMU_CAPS_NO_USER_CONFIG);
     virQEMUCapsSet(qemuCaps, QEMU_CAPS_NETDEV_BRIDGE);
     virQEMUCapsSet(qemuCaps, QEMU_CAPS_SECCOMP_SANDBOX);
+    virQEMUCapsSet(qemuCaps, QEMU_CAPS_NO_KVM_PIT);
 }