[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 0/2] Cleanly save session VMs on logout/shutdown



Atm, when you exit the sessin (via logout or shutdown for instance) we
just leave the qemu:///session handling libvirtd process around, including
any running VMs. This is not particularly nice, as there is no way to
know that the VMs are running, and you risk data loss if you shutdown
while the VMs are running.

This new version is basically the same as the previous, except it
runs inside libvirtd, and it exits libvirtd too after saving the VMs.

Alexander Larsson (2):
  virdbus: Add virDBusGetSessionBus helper
  Shut down session libvirtd cleanly

 daemon/libvirtd.c        | 244 +++++++++++++++++++++++++++++++++++++++++++++++
 src/libvirt_private.syms |   1 +
 src/util/virdbus.c       |  84 ++++++++++++----
 src/util/virdbus.h       |   1 +
 4 files changed, 310 insertions(+), 20 deletions(-)

-- 
1.7.12.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]