]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Prefer dashes for hyperv features
authorJiri Denemark <jdenemar@redhat.com>
Thu, 25 Jul 2019 13:36:14 +0000 (15:36 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 29 Jul 2019 13:41:50 +0000 (15:41 +0200)
commitd99e8f01c7f9b5a0f384ccaac40187091a4e6c6c
tree3b09c1c4da36cfdb335cf166227813cd8e337844
parent0ccdd476bb329f1486438b896255e5c44a91ff4a
qemu: Prefer dashes for hyperv features

Starting with QEMU 4.1, we're using the canonical feature names on the
command line and avoid aliases to prepare for possible deprecation of
all aliases in QEMU. But we do so only for features from our CPU map,
hyperv features defined in the code were unchanged and this patch fixes
it. Some features use "hv-" prefix unconditionally because they were
introduced recently enough to always support spelling with a dash.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Tested-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c
tests/qemuxml2argvdata/clock-timer-hyperv-rtc.args
tests/qemuxml2argvdata/hyperv-panic.args
tests/qemuxml2argvdata/hyperv.args
tests/qemuxml2argvdata/panic-double.args