Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qemu: resume guest from suspend to ram?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Mon Aug 15, 2011 6:57 pm    Post subject: qemu: resume guest from suspend to ram? Reply with quote

I'm testing something out in a virtual machine where I'll need to suspend to ram and resume again, in a guest under qemu `echo mem > /sys/power/state` seems to at least suspend, but I haven't been able to come up with a way to resume the guest...

Anyone know of any such method or functionality?

Thanks.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
jormartr
Apprentice
Apprentice


Joined: 02 Jan 2008
Posts: 174

PostPosted: Mon Aug 15, 2011 9:46 pm    Post subject: Reply with quote

Did you try this:

on running machine, type on qemu monitor

Code:
savevm /path/save.file


next time you start the machine, run qemu with -loadvm /path/save.file, like

Code:
qemu ... -loadvm /path/save.file
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum