Ask Your Question
0

Is it safe to suspend (maybe hibernate) while running virtual machines?

asked 2014-05-29 02:42:19 -0600

updated 2014-09-28 19:17:40 -0600

mether gravatar image

Question says it all. It is safe to suspend or hibernate my Fedora 20 KDE while I have virtual machine runnings? I tend to use QEMU/KVM VM, VirtualBox VM, Android Emulator, and Genymotion (VirtualBox based).

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2014-05-29 04:05:35 -0600

NickTux gravatar image

Why not ? A virtual machine is nothing more than a file in your PC. A file that is used as a Virtual Hard Drive in (e.g.) VirtualBox. I cannot think something unsafe about this. Suspend/Hibernate will try to handle the Virtual HDD as a regular file and try to save its state on RAM or Disk. Be informed that if you use hibernation, a lot amount of swap is needed in order to save the Virtual HDD(file) in real HDD.
Also I've tested(Oracle VirtualBox only) both suspend and hibernation(I have 10GBs of swap) and it worked as it should on my F20. No problems at all.

edit flag offensive delete link more

Comments

Thanks. I have 7823 MB of swap as devised by the Anaconda installer. So I think it should be fine to hibernate a 2-3 2GB VMs.

sudhirkhanger gravatar imagesudhirkhanger ( 2014-05-29 08:06:50 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2014-05-29 02:42:19 -0600

Seen: 1,176 times

Last updated: May 29 '14