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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]