Re: [libvirt-users] Persisting the libvirt guest's reason code.

Re-adding the mailing list - please don't take discussions off-list in this way. On Tue, Mar 20, 2018 at 05:14:45PM +0000, Tanmoy Sinha wrote:
Daniel,
Thanks for your prompt response. I have another question, as soon as I do virsh save <GuestID> <filename>, the corresponding xml and pid under /var/run/libvirt/qemu is gone, but the guest still has a definition. At this point, if I query the domain state (i.e. virsh domstate --reason <GUESTID>) it reads shutoff(saved). Where does this fetch the reason from, when the /var/run/libvirt/qemu/Guestname.xml file is gone? Libvirtd maintains the reason code in-memory?
That's true only if the guest has a persistent config file in /etc/libvirt. Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
participants (1)
-
Daniel P. Berrangé