[libvirt] [PATCH] qemu: Don't fail if physical size can't be updated in qemuDomainGetBlockInfo

Peter Krempa pkrempa at redhat.com
Wed Apr 26 15:48:09 UTC 2017


On Thu, Apr 20, 2017 at 15:50:00 +0200, Peter Krempa wrote:
> Since commit c5f6151390 qemuDomainBlockInfo tries to update the
> "physical" storage size for all network storage and not only block
> devices.
> 
> Since the storage driver APIs to do this are not implemented for certain
> storage types (RBD, iSCSI, ...) the code would fail to retrieve any data
> since the failure of qemuDomainStorageUpdatePhysical is fatal.
> 
> Since it's desired to return data even if the total size can't be
> updated we need to ignore errors from that fucntion and return plausible
> data.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1442344
> ---

Ping
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170426/4aad9860/attachment-0001.sig>


More information about the libvir-list mailing list