]> xenbits.xensource.com Git - libvirt.git/commit
qemu: block: Add accessors for format layer node names
authorPeter Krempa <pkrempa@redhat.com>
Wed, 20 Sep 2023 13:24:14 +0000 (15:24 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 17 Oct 2023 12:16:16 +0000 (14:16 +0200)
commit239772a0352c0767be24e39f21faab5fa611f2e3
treebf522d61643af3018f64eab21bda0e9a958018d6
parent02ea7182c228906fcbb6d63b9b0f20666abde87d
qemu: block: Add accessors for format layer 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