[libvirt] [PATCH 0/4] qemu: Refactor ManagedSave code and fix error reporting

Peter Krempa pkrempa at redhat.com
Tue Dec 11 18:48:10 UTC 2012


This series improves helpers to retrieve domain objects from
virDomainPtrs and uses the improvements in the ManagedSave APIs.

This series also fixes a bug in error reporting of qemuDomainManagedSaveRemove
where if unlink() failed no error was reported but an error code was returned.

Although there's a slight net increase of number of lines by this patch, it's
mainly due to the docs added in 1/4

Peter Krempa (4):
  qemu: Add a new domain lookup helper and improve the docs
  qemu: Refactor managed save functions to use domain lookup helpers
  qemu: Small code cleanups in the managedsave functions
  qemu: Improve error reporting from qemuDomainManagedSaveRemove

 src/qemu/qemu_driver.c | 115 +++++++++++++++++++++++++++----------------------
 1 file changed, 63 insertions(+), 52 deletions(-)

-- 
1.8.0




More information about the libvir-list mailing list