[pve-devel] [PATCH qemu-server v2 4/6] resume suspended vm on start
Dominik Csapak
d.csapak at proxmox.com
Thu Mar 14 09:19:38 CET 2019
On 14/03/2019 08:44, Thomas Lamprecht wrote:
> On 3/13/19 9:55 AM, Dominik Csapak wrote:
>> if a vm has the 'suspend' lock, we resume with the saved state
>> and remove the lock, the saved vmstate and the saved runningmachine
>> after the vm started
>
> how this all plays out if I start a VM someone is currently in the process
> of suspending? flock isn't taken here, or? so maybe really do an two step
> lock approach (suspending, suspended) should make things clearer and also
> easier to understand for users if errors occur.
>
yeah you are right, will send a v3 with a two lock approach
(suspending suspended)
More information about the pve-devel
mailing list