]> xenbits.xensource.com Git - libvirt.git/commit
cpu_conf: Don't format empty model for host-model CPUs
authorJiri Denemark <jdenemar@redhat.com>
Tue, 12 Nov 2019 14:54:12 +0000 (15:54 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Mon, 25 Nov 2019 14:29:19 +0000 (15:29 +0100)
commitaf8e39921acafa123fbd215602c98cf90a16cbf9
tree8991c47abe4b37e32eb18442d92dffbb26c95f46
parent65fa7bba1a7b57e727bee51525d309c9afbc786b
cpu_conf: Don't format empty model for host-model CPUs

Most likely for historical reasons our CPU def formatting code is
happily adding useless <model fallback='allow'/> for host-model CPUs. We
can just drop it.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/conf/cpu_conf.c
tests/cputestdata/ppc64-host+guest-compat-none.xml
tests/qemuxml2xmloutdata/cpu-check-default-partial.xml
tests/qemuxml2xmloutdata/cpu-host-model-features.xml