Probe for capacity in virStorageBackendUpdateVolTargetInfo
Instead of just looking at the output of fstat, call virStorageFileGetMetadata to get the full capacity from image headers. Note that the capacity is probed unconditionally. The updateCapacity bool parameter is ignored and will be removed in the following commit.
Showing
想要评论请 注册 或 登录