<div dir="ltr"><div><div><div><div><span style="font-family:times new roman,serif">Hi,<br></span></div><span style="font-family:times new roman,serif">I am using libvirt version 1.2.9.2 on F21 and i am unable to get the complete backing chain info in the virsh dumpxml output. Details below :<br><br></span></div><span style="font-family:times new roman,serif"><b>My backing chain per qemu-img :</b><br></span></div><span style="font-family:times new roman,serif"><br>[stack@devstack-f21 test]$ qemu-img info --backing-chain snap4.qcow2 <br>image: snap4.qcow2<br>file format: qcow2<br>virtual size: 1.0G (1073741824 bytes)<br>disk size: 196K<br>cluster_size: 65536<br>backing file: ./snap3.qcow2<br>Format specific information:<br>    compat: 1.1<br>    lazy refcounts: false<br><br>image: ./snap3.qcow2<br>file format: qcow2<br>virtual size: 1.0G (1073741824 bytes)<br>disk size: 196K<br>cluster_size: 65536<br>backing file: ./snap2.qcow2 (actual path: ././snap2.qcow2)<br>Format specific information:<br>    compat: 1.1<br>    lazy refcounts: false<br><br>image: ././snap2.qcow2<br>file format: qcow2<br>virtual size: 1.0G (1073741824 bytes)<br>disk size: 196K<br>cluster_size: 65536<br>backing file: ./snap1.qcow2 (actual path: ./././snap1.qcow2)<br>Format specific information:<br>    compat: 1.1<br>    lazy refcounts: false<br><br>image: ./././snap1.qcow2<br>file format: qcow2<br>virtual size: 1.0G (1073741824 bytes)<br>disk size: 196K<br>cluster_size: 65536<br>backing file: ./base.qcow2 (actual path: ././././base.qcow2)<br>Format specific information:<br>    compat: 1.1<br>    lazy refcounts: false<br><br>image: ././././base.qcow2<br>file format: qcow2<br>virtual size: 1.0G (1073741824 bytes)<br>disk size: 196K<br>cluster_size: 65536<br>Format specific information:<br>    compat: 1.1<br>    lazy refcounts: false<br><br></span></div><span style="font-family:times new roman,serif">I created 4 snapshots using commands (similar to the below, just dumping the last one here ):<br><br></span><div><span style="font-family:times new roman,serif">[stack@devstack-f21 test]$ virsh snapshot-create-as test-domain on-test-snap4  --disk-only --reuse-external --diskspec hda,snapshot=external,file=/home/stack/test/snap4.qcow2 <br>Domain snapshot on-test-snap4 created<br><br>[stack@devstack-f21 test]$ virsh domblklist test-domain<br>Target     Source<br>------------------------------------------------<br>hda        /home/stack/test/snap4.qcow2<br><br><br><br>virsh dumpxml test-domain|more<br>....<br><br>    <disk type='file' device='disk'><br>      <driver name='qemu' type='qcow2' cache='none'/><br>      <source file='/home/stack/test/snap4.qcow2'/><br>      <backingStore type='file' index='1'><br>        <format type='raw'/><br>        <source file='/home/stack/test/./snap3.qcow2'/><br>        <backingStore/><br>      </backingStore><br>      <target dev='hda' bus='ide'/><br>      <alias name='ide0-0-0'/><br>      <address type='drive' controller='0' bus='0' target='0' unit='0'/><br>    </disk><br><br><br>.....<br><br></span></div><div><span style="font-family:times new roman,serif">I think thats happening beccause the backingStore format is coming as 'raw'<br></span></div><div><span style="font-family:times new roman,serif">What am i missing ?<br><br></span></div><div><span style="font-family:times new roman,serif">thanx,<br></span></div><div><span style="font-family:times new roman,serif">deepak<br><br></span></div></div>