]> xenbits.xensource.com Git - libvirt.git/commit
qemu: domain: Identify blockjobs by storage nodename in VM status XML
authorPeter Krempa <pkrempa@redhat.com>
Thu, 4 Mar 2021 15:12:20 +0000 (16:12 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 17 Oct 2023 12:16:15 +0000 (14:16 +0200)
commit8bc0d3fb7a6f662651799deb8d24d72ddc86c44c
tree184aa0f693f4343963ef9d58afa05e95cc88ee5a
parent37d5a141b673269426a46454c514c2d3dce6cb2b
qemu: domain: Identify blockjobs by storage nodename in VM status XML

Use the node name of the storage access driver to identify the block job
volumes. This will prepare the blockjob code for the possibility that the
format layer may be missing. Our lookup code can find either of them,
thus we can safely switch.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_domain.c
tests/qemustatusxml2xmldata/blockjob-blockdev-in.xml