search for: virdomainblockinfo

Displaying 3 results from an estimated 3 matches for "virdomainblockinfo".

2016 Nov 30
2
virDomainBlockInfo for local volume
Hi, I am using virStorageVolGetInfo to get the volume size virStorageVol.download to download a normal file for VDSM project. I want to add support for block devices as well, I was able to see the size via virDomainBlockInfo and download via virDomain.blockPeek which is works fine for both file and block device. 1. Can I depend on virDomainBlockInfo for non block devices? 2. Does the virDomainBlockInfo return the correct physical size for normal file? 3. Performance wise do we have a difference between virStorageVol.d...
2016 Dec 05
0
Re: virDomainBlockInfo for local volume
..., Shahar Havivi <shavivi at redhat.com> wrote: > Hi, > > I am using virStorageVolGetInfo to get the volume size > virStorageVol.download to download a > normal file for VDSM project. > > I want to add support for block devices as well, I was able to see the size > via virDomainBlockInfo and download via virDomain.blockPeek which is works > fine for both file and block device. > > 1. Can I depend on virDomainBlockInfo for non block devices? > 2. Does the virDomainBlockInfo return the correct physical size for normal > file? > 3. Performance wise do we have a diffe...
2016 Dec 20
1
Re: virDomainBlockInfo for local volume
...irStorageVol.download to download a > normal file for VDSM project. Normal as in a 'raw' fully allocated file? As opposed to a sparse and/or container (e.g. qcow2) file? > > I want to add support for block devices as well, I was able to see > the size > via virDomainBlockInfo and download via virDomain.blockPeek which is > works > fine for both file and block device. As described in the bz, but for others benefit... While looking into this I found a commit Eric Blake made: http://libvirt.org/git/?p=libvirt.git;a=commit;h=0282ca45a0a4c384226d526d4878cacd7...