qemuBlockStorageSourceGetFormatProps: Use new frontend name accessor

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
Peter Krempa 2023-09-12 16:53:01 +02:00
parent ef0e0c61b2
commit 11567c1e50

View File

@ -1418,7 +1418,7 @@ qemuBlockStorageSourceGetFormatProps(virStorageSource *src,
src->format >= VIR_STORAGE_FILE_BACKING) {
if (virStorageSourceIsBacking(backingStore)) {
backingFormatterStr = "s:backing";
backingNodename = backingStore->nodeformat;
backingNodename = qemuBlockStorageSourceGetEffectiveNodename(backingStore);
} else {
/* chain is terminated, indicate that no detection should happen in qemu */
backingFormatterStr = "n:backing";