]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: domain: Convert the status XML code for 'storage' nodenames to new accessors
authorPeter Krempa <pkrempa@redhat.com>
Mon, 25 Sep 2023 14:34:39 +0000 (16:34 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 17 Oct 2023 12:16:15 +0000 (14:16 +0200)
commit1f7f5b01cbfb3c703f3bcccae20292d5269a4248
tree59c953259f8467f72d005d70a0b7d1ec3aed644f
parente7c7af19d0e2753742443c7b9734d9e376ecc97b
qemu: domain: Convert the status XML code for 'storage' nodenames to new accessors

Use the new accessors in the private XML formatters and parsers and the
recovery code.

Specifically in all instances we use the proper (not effective) storage
nodename. In the virStorageSource private data it is what we need to
store. In blockjobs status XML it simply serves us to find the
appropriate 'virStorageSource' struct so using the storage layer node
name is simpler.

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