]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Do not drop unknown CPU features from domain XML
authorJiri Denemark <jdenemar@redhat.com>
Tue, 8 Oct 2024 10:26:41 +0000 (12:26 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 9 Oct 2024 12:46:51 +0000 (14:46 +0200)
commit00e55059e6d68c9a62eead4b47230e039314eb46
treea205385fc985057093073e3c14c8349efed1e873
parentaae8a5774ba7891401408c1169b5ed70037372bb
qemu: Do not drop unknown CPU features from domain XML

CPU features with policy='disable' which are unknown to QEMU may be
safely skipped when generating the -cpu command line, but we should
still keep them in the domain definition so that we can properly check
they are disabled after migrating the domain to a newer QEMU.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_command.c
src/qemu/qemu_process.c