]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Fill default value in //cpu/@migratable attribute
authorJiri Denemark <jdenemar@redhat.com>
Tue, 2 Jun 2020 13:34:07 +0000 (15:34 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 9 Jun 2020 18:32:50 +0000 (20:32 +0200)
commit201bd5db639c063862b0c1b1abfab9a9a7c92591
tree9878c227f78e9ca12a6ef772158f10f0f943466a
parent19926477cb63c7871c34bd475c6bc712cc5eff0c
qemu: Fill default value in //cpu/@migratable attribute

Before QEMU introduced migratable CPU property, "-cpu host" included all
features that could be enabled on the host, even those which would block
migration. In other words, the default was equivalent to migratable=off.
When the migratable property was introduced, the default changed to
migratable=on. Let's record the default in domain XML.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c
tests/qemustatusxml2xmldata/migration-in-params-in.xml
tests/qemustatusxml2xmldata/migration-out-params-in.xml
tests/qemuxml2xmloutdata/cpu-check-default-none.xml
tests/qemuxml2xmloutdata/cpu-host-kvmclock.xml
tests/qemuxml2xmloutdata/cpu-host-passthrough-features.xml
tests/qemuxml2xmloutdata/kvm-features.xml