]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: domain: Fix backing store terminator for non-backing local files
authorPeter Krempa <pkrempa@redhat.com>
Fri, 24 Nov 2017 11:59:59 +0000 (12:59 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 30 Nov 2017 21:40:23 +0000 (22:40 +0100)
commitadcc31bb89e47ef642cbcfcff372131db7cd8d8b
tree58258438a737daa7a679130114f45296d6f38835
parent24e47ee2b93312742f73a785b9ca788df4677749
qemu: domain: Fix backing store terminator for non-backing local files

Raw local files do not pass through the backing store detector and thus
the code did not allocate the required backing store terminator for
them. Previously the terminating element would be formatted into the XML
since the default values used for the metadata allowed that. This is a
regression since a693fdba0111ff which was not detected in the review.

This patch also reverts all the changes in the test files.
src/qemu/qemu_domain.c
tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live+ccw-virtio.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live-with-2-ccw-virtio+ccw-virtio-1-reverse.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live-with-2-ccw-virtio.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live-with-ccw-virtio+ccw-virtio-2-explicit.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-ccw-live-with-ccw-virtio+ccw-virtio-2.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-live+disk-scsi-wwn+disk-scsi-duplicate-wwn.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-live+disk-scsi.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-live+disk-usb.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-live+disk-virtio.xml
tests/qemuhotplugtestdomains/qemuhotplug-base-without-scsi-controller-live+disk-scsi-2.xml