[libvirt] [PATCH v3] qemu: don't use deprecated -no-kvm-pit-reinjection
Ján Tomko
jtomko at redhat.com
Mon Nov 4 10:10:29 UTC 2013
On 09/26/2013 10:50 AM, Ján Tomko wrote:
> Since qemu-kvm 1.1 [1] (since 1.3. in upstream QEMU [2])
> '-no-kvm-pit-reinjection' has been deprecated.
> Use -global kvm-pit.lost_tick_policy=discard instead.
>
> https://bugzilla.redhat.com/show_bug.cgi?id=978719
>
> [1] http://git.kernel.org/cgit/virt/kvm/qemu-kvm.git/commit/?id=4e4fa39
> [2] http://git.qemu.org/?p=qemu.git;a=commitdiff;h=c21fb4f
> ---
> v3: use -global instead of trying to add another -device
>
> re: https://www.redhat.com/archives/libvir-list/2013-July/msg00833.html
> Unsetting the QEMU_CAPS_NO_KVM_PIT capability for QEMU >1.2 seems to work
> okay with libvirtd upgrades.
>
> v2: https://www.redhat.com/archives/libvir-list/2013-July/msg00821.html
> v1: https://www.redhat.com/archives/libvir-list/2013-July/msg00045.html
>
> src/qemu/qemu_capabilities.c | 5 ++--
> src/qemu/qemu_capabilities.h | 1 +
> src/qemu/qemu_command.c | 8 ++++--
> .../qemuxml2argv-kvm-pit-delay.args | 5 ++++
> .../qemuxml2argv-kvm-pit-delay.xml | 29 ++++++++++++++++++++++
> .../qemuxml2argv-kvm-pit-device.args | 5 ++++
> .../qemuxml2argv-kvm-pit-device.xml | 29 ++++++++++++++++++++++
> tests/qemuxml2argvtest.c | 4 +++
> 8 files changed, 82 insertions(+), 4 deletions(-)
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-kvm-pit-delay.args
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-kvm-pit-delay.xml
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-kvm-pit-device.args
> create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-kvm-pit-device.xml
ICMP Echo Request
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131104/dbc275d8/attachment-0001.sig>
More information about the libvir-list
mailing list