<div dir="ltr"><div>Hi,</div><div><br></div>In the output of "virsh dumpxml" command the disk section is as follows:<div><br></div><div><div><disk type='network' device='disk'></div><div>      <driver name='qemu' type='raw' cache='writeback'/></div>
<div>      <auth username='svl-cc1-cinder-user'></div><div>        <secret type='ceph' uuid='e80afa94-a64c-486c-9e34-d55e85f26406'/></div><div>      </auth></div><div>      <source protocol='rbd' name='svl-cc1-cinder-volume-1/volume-0a4cdeab-863d-4394-845f-008b993bc4e9'></div>
<div>        <host name='10.34.114.211' port='6789'/></div><div>        <host name='10.34.114.212' port='6789'/></div><div>        <host name='10.34.114.213' port='6789'/></div>
<div>      </source></div><div>      <target dev='vda' bus='virtio'/></div><div>      <serial>0a4cdeab-863d-4394-845f-008b993bc4e9</serial></div><div>      <alias name='virtio-disk0'/></div>
<div>      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/></div><div>    </disk></div></div><div><br></div><div>In this case how can I use libvirt to get the disk/volume size information?</div>
<div><br></div><div>Thanks,</div><div>Bruce</div></div>