]> xenbits.xensource.com Git - libvirt.git/commit
qemu: block: Add accessors for protocol/storage node names
authorPeter Krempa <pkrempa@redhat.com>
Mon, 21 Jun 2021 15:01:12 +0000 (17:01 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 17 Oct 2023 12:16:15 +0000 (14:16 +0200)
commit84c85337ad490e3799d76becc60ea00dae5017a5
tree75861efd68c6d6d670c05da24177457215fe4aba
parent2568e9d29e67e8170c6863774cfa8341fe94be8a
qemu: block: Add accessors for protocol/storage node names

Introduce a set of accessors, which return node names based on
semantics. This will allow to us to modify how we setup the backing
chain in cases when e.g. the format driver can be omitted, without
breaking all the code.

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