]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: driver: Improve error suppression in qemuDomainStorageUpdatePhysical
authorPeter Krempa <pkrempa@redhat.com>
Wed, 14 Aug 2019 15:57:18 +0000 (17:57 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 16 Aug 2019 11:17:41 +0000 (13:17 +0200)
commit3d7ea4165b890880f43074e1e5e6e10bf0ad21d6
tree4d0bfe2c079055eff92df20642b6af4d151c735f
parentb074363136ddcf1599c36f11b9f5a5fe45c5b3e5
qemu: driver: Improve error suppression in qemuDomainStorageUpdatePhysical

None of the callers of qemuDomainStorageUpdatePhysical care about
errors.

Use the new flag for qemuDomainStorageOpenStat which suppresses some
errors and move the reset of the rest of the uncommon errors into this
function. Document what is happening in a comment for the function.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c