]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fix pit timer tick policy=delay
authorMaxim Nestratov <mnestratov@virtuozzo.com>
Fri, 9 Dec 2016 14:28:04 +0000 (17:28 +0300)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 6 Jan 2017 23:27:06 +0000 (18:27 -0500)
commitef5c8bb4120d457c77058398cf5b747f46a9d3ac
treeb84f6b722cc6c49eacf9c45c9d5aa85332d95662
parent78be2e8b7460352f1c5041aa670194e52149947a
qemu: Fix pit timer tick policy=delay

By a mistake, for the VIR_DOMAIN_TIMER_TICKPOLICY_DELAY qemu
command line creation, 'discard' was used instead of 'delay'
in commit id '1569fa14'.

Test "kvm-pit-delay" is fixed accordingly to show the correct
option being generated.

Remove the (now) redundant kvm-pit-device tests. As it turns
out there is no need to specify both QEMU_CAPS_NO_KVM_PIT and
QEMU_CAPS_KVM_PIT_TICK_POLICY since they are mutually exclusive
and "kvm-pit-device" becomes just the same as "kvm-pit-delay".

Signed-off-by: Maxim Nestratov <mnestratov@virtuozzo.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/qemuxml2argv-kvm-pit-delay.args
tests/qemuxml2argvtest.c