]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: add support for tsc.on_reboot element
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 24 Mar 2022 09:48:39 +0000 (10:48 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 25 Mar 2022 15:31:02 +0000 (16:31 +0100)
commit06c960e477de4561c7ba956f82994fa120226397
treedd89e7781937b8b1b9623b5d78940b7584f9217f
parent150540394ddaa515f6857616a2bcf792748f162c
qemu: add support for tsc.on_reboot element

QEMU 7.0.0 adds a new property tsc-clear-on-reset to x86 CPU, corresponding
to Libvirt's <tsc on_reboot="clear"/> element.  Plumb it in the validation,
command line handling and tests.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
src/qemu/qemu_command.c
src/qemu/qemu_validate.c
tests/qemucapabilitiesdata/caps_7.0.0.x86_64.replies
tests/qemucapabilitiesdata/caps_7.0.0.x86_64.xml
tests/qemuxml2argvdata/cpu-tsc-clear-on-reset.args [new file with mode: 0644]
tests/qemuxml2argvdata/cpu-tsc-clear-on-reset.x86_64-7.0.0.args [new file with mode: 0644]
tests/qemuxml2argvdata/cpu-tsc-clear-on-reset.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c