search for: getblockinfo

Displaying 2 results from an estimated 2 matches for "getblockinfo".

Did you mean: setblockinfo
2016 Dec 20
1
Re: virDomainBlockInfo for local volume
...host storage in bytes occupied by the image (such as highest allocated extent if there are no holes, similar to 'du') physical: host physical size in bytes of the image container (last offset, similar to 'ls') The data virDomainGetBlockInfo gets when the domain is not active is the same data that virStorageVolGetInfo gets (which I know you couldn't use because it didn't have <physical>). IOW: In the long run for libvirt, they use the same API's to get the data. For a "file" backed <disk> the API'...
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