Hi!
Have just started to use QEMU after using Virtualbox for several years. One thing i used to do in Virtualbox is to use a script to automatically set my VM in saved state when I reboot the host and then restore my VM on boot.
I was hoping to do the same in QEMU but there are some problems...
In QEMU there is option in virt-manager to save, but when I restore the VM, the USB device I have added does not seem to be restored and I have to redirect it manually.
The USB device is also lost when I in console use:
If my problem with the USB device is possible to solve, then I need to figure out how to best do to have my VM automatically saved before reboot and then restored at boot.
With Virtualbox I had a script in init.d. Should take the same approach with QEMU or is there a way to do it by editing a xml in QEMU's configs?
Have just started to use QEMU after using Virtualbox for several years. One thing i used to do in Virtualbox is to use a script to automatically set my VM in saved state when I reboot the host and then restore my VM on boot.
I was hoping to do the same in QEMU but there are some problems...
In QEMU there is option in virt-manager to save, but when I restore the VM, the USB device I have added does not seem to be restored and I have to redirect it manually.
The USB device is also lost when I in console use:
Code:
virsh managedsave guest
virsh start guest
With Virtualbox I had a script in init.d. Should take the same approach with QEMU or is there a way to do it by editing a xml in QEMU's configs?