qm suspend shows no result

holgihero

Member
Jan 13, 2010
79
0
6
Hi all,

what exactly should be the effect of using "qm suspend <vmid>"?

What kind of suspend mode should the vm run into?
I tried the command on some vm (win or lin) with no effect. They run happily ever after...

My goal is to send some machines to a defined state which do not react to "qm shutdown" in case of power failure...

Regards, Holgi
 
OK, I was misleaded by "qm status" which shows a state of "running" for a suspended machine. Which IMHO is wrong and should be corrected if possible.
The vm's DO go to suspend mode...

So my question is now: Will a suspended state behave well after shutdown and restart of the host? Will it resume propperly? What happens with vm memory? Will it be lost?

Regards, Holgi
 
as it does not suspend to disk the state will be lost if you reboot the host.
 
Suspend-to-disk is simple and stable with kvm. If more than a few people are interested i could implement it and send patches in my next open timeslot. Design question: would you like to give a hibernation filename or should it be autogenerated? Would you like to see a suspendonreboot init.d script to suspend on host shutdown and resume on startup?

Regards,
Mario
 
Suspend-to-disk is simple and stable with kvm. If more than a few people are interested i could implement it and send patches in my next open timeslot. Design question: would you like to give a hibernation filename or should it be autogenerated? Would you like to see a suspendonreboot init.d script to suspend on host shutdown and resume on startup?

Please wait until we release 2.0 beta - It make no sense to impl. that in 1.X
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!