mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
storage: Fixing missing 'backingStore' tag from volume XML dumps.
After commit a693fdb
'vol-dumpxml' missed the ability to show backingStore
information. This commit adds a volume type for files that fixes this
problem.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1529663
Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
This commit is contained in:
parent
6534b3c4bb
commit
d0307a9a76
@ -1957,6 +1957,8 @@ virStorageBackendUpdateVolTargetInfoFD(virStorageSourcePtr target,
|
||||
target->timestamps->ctime = get_stat_ctime(sb);
|
||||
target->timestamps->mtime = get_stat_mtime(sb);
|
||||
|
||||
target->type = VIR_STORAGE_TYPE_FILE;
|
||||
|
||||
VIR_FREE(target->perms->label);
|
||||
|
||||
#if WITH_SELINUX
|
||||
|
Loading…
Reference in New Issue
Block a user