mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-25 10:03:49 +03:00
9b03ffc7a4
With the new approach we are actually able to correctly detect node names for the two instances of the same backing file. Test images were created as: qemu-img create -f qcow2 /var/lib/libvirt/images/base.qcow2 10M qemu-img create -f qcow2 \ -o "backing_fmt=qcow2,backing_file=/var/lib/libvirt/images/base.qcow2 \ /var/lib/libvirt/images/a.qcow2 qemu-img create -f qcow2 \ -o "backing_fmt=qcow2,backing_file=/var/lib/libvirt/images/base.qcow2 \ /var/lib/libvirt/images/b.qcow2 and then used for two separate disks. Reviewed-by: Eric Blake <eblake@redhat.com>
24 lines
631 B
Plaintext
24 lines
631 B
Plaintext
drive-sata0-0-1
|
|
filename : '/var/lib/libvirt/images/b.qcow2'
|
|
format node : '#block548'
|
|
format drv : 'qcow2'
|
|
storage node: '#block487'
|
|
storage drv : 'file'
|
|
filename : '/var/lib/libvirt/images/base.qcow2'
|
|
format node : '#block771'
|
|
format drv : 'qcow2'
|
|
storage node: '#block692'
|
|
storage drv : 'file'
|
|
|
|
drive-sata0-0-0
|
|
filename : '/var/lib/libvirt/images/a.qcow2'
|
|
format node : '#block132'
|
|
format drv : 'qcow2'
|
|
storage node: '#block020'
|
|
storage drv : 'file'
|
|
filename : '/var/lib/libvirt/images/base.qcow2'
|
|
format node : '#block320'
|
|
format drv : 'qcow2'
|
|
storage node: '#block224'
|
|
storage drv : 'file'
|