]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2xmltest: Add case for host-model vendor_id
authorJiri Denemark <jdenemar@redhat.com>
Wed, 19 Feb 2020 12:10:27 +0000 (13:10 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 19 Feb 2020 14:11:40 +0000 (15:11 +0100)
commit1939fbef989e6990cb5dd2d2d7ff8ea002c517c2
treeaaf0e4ea12d8f685a9361bb87c99e95eebcae1e3
parent9bf9e0ae6af38c806f4672ca7b12a6b38d5a9581
qemuxml2xmltest: Add case for host-model vendor_id

This patch shows a bug in our code: the

    <model vendor_id="Libvirt QEMU"/>

element present in the source XML is lost when the parsed CPU definition
is formatted back to XML.

https://bugzilla.redhat.com/show_bug.cgi?id=1804549

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2xmloutdata/cpu-host-model-vendor.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c