On 06/10/2018 08:50 AM, Patrick O'Callaghan wrote:
On Sun, 2018-06-10 at 08:02 -0400, Robert Moskowitz wrote:
Finally rebooted last night after a kernel update...
On 06/03/2018 01:16 PM, Samuel Sieb wrote:
On 06/03/2018 06:29 AM, Robert Moskowitz wrote:
On 06/03/2018 12:43 AM, Samuel Sieb wrote:
By default, libvirt and qemu will pause the VM and save it when you
reboot. On startup, it resumes from where it left off.
This has NOT been my experience with my F21 image i qemu. Is there
some setting I need for this?
I am tired of also restarting my F21 image. Yes there is little I do
in it; it is more a toy thing...
Try enabling (and starting?) the "libvirt-guests" service.
I noticed that the shutdown was taking real time, so did an <ALT-d> and
saw the messages of suspending the QEMU running image. After restart
and getting a few things running, I opened the Virtual Machine Manager,
and there was my image already up and running. Only had to open the
window to it and log back in.
Assuming you were logged into the guest when doing the host shutdown,
then if you had to log back in, the guest can't have been suspended and
resumed from where it left off.
I was logged in, but at the time, the session was locked. It sure
seemed to be where I left it.
I did a grep of suspend on the messages log:
Jun 9 23:36:58 lx121e systemd[1]: Stopping Suspend/Resume Running
libvirt Guests...
Jun 9 23:37:02 lx121e libvirt-guests.sh[26912]: Suspending guests on
default URI...
Jun 9 23:37:03 lx121e libvirt-guests.sh[26912]: Suspending fedora21: ...
Jun 9 23:37:08 lx121e libvirt-guests.sh[26912]: Suspending fedora21:
135.802 MiB
Jun 9 23:37:13 lx121e libvirt-guests.sh[26912]: Suspending fedora21:
319.096 MiB
Jun 9 23:37:18 lx121e libvirt-guests.sh[26912]: Suspending fedora21:
488.785 MiB
Jun 9 23:37:24 lx121e libvirt-guests.sh[26912]: Suspending fedora21:
666.404 MiB
Jun 9 23:37:29 lx121e libvirt-guests.sh[26912]: Suspending fedora21:
804.281 MiB
Jun 9 23:37:34 lx121e libvirt-guests.sh[26912]: Suspending fedora21:
977.524 MiB
Jun 9 23:37:38 lx121e libvirt-guests.sh[26912]: Suspending fedora21: done
Jun 9 23:37:38 lx121e systemd[1]: Stopped Suspend/Resume Running
libvirt Guests.
Jun 9 23:38:36 lx121e systemd[1]: Starting Suspend/Resume Running
libvirt Guests...
Jun 9 23:38:58 lx121e systemd[1]: Started Suspend/Resume Running
libvirt Guests.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/SLGRUEFH7XKMHIO3X3L3GY2R2O4X57AK/