[libvirt] [PATCH 0/4] qemu: Unify cleanup paths in qemuStartVMDaemon

Cole Robinson crobinso at redhat.com
Mon May 17 17:17:01 UTC 2010


Many of the cleanup paths in qemuStartVMDaemon have the potential of
squashing a legitimate startup error message. qemuShutdownVMDaemon
already properly handles this, so let's unify all the cleanup to use it.

This series fixes a few teardown issues, and changes ShutdownVMDaemon to
not reject non-running VMs. This could be an issue if some caller was
depending on this functionality, but I couldn't find one.

Cole Robinson (4):
  qemu: Properly cleanup in security startup error path
  qemu: Remove explicit VNC XML cleanup
  qemu: Don't deny ShutdownVMDaemon for non-running VMs
  qemu: Use ShutdownVMDaemon for all startup cleanup paths

 src/qemu/qemu_driver.c |   31 +++++--------------------------
 1 files changed, 5 insertions(+), 26 deletions(-)




More information about the libvir-list mailing list