[pve-devel] stream lock status in the cluster ?

Alexandre DERUMIER aderumier at odiso.com
Mon Jul 15 09:36:25 CEST 2013


>>This is a refinement of the 'running' state? So we extend
>>
>>running => running, migrate , backup, snapshot, rollback
>>
>>What do you think?
Yes, something like that. (But I don't known if mixing running with other values could break something in proxmox code)


>>Or maybe we should add the missing states to qemu?

Not sure it's easy. I prefer to do it on proxmox side.


----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com 
Envoyé: Lundi 15 Juillet 2013 09:24:24 
Objet: RE: [pve-devel] stream lock status in the cluster ? 

> From the doc, the status values are: 
> 
> 
> - "status": one of the following values (json-string) 
> "debug" - QEMU is running on a debugger 
> "inmigrate" - guest is paused waiting for an incoming migration 
> "internal-error" - An internal error that prevents further guest 
> execution has occurred 
> "io-error" - the last IOP has failed and the device is configured 
> to pause on I/O errors 
> "paused" - guest has been paused via the 'stop' command 
> "postmigrate" - guest is paused following a successful 'migrate' 
> "prelaunch" - QEMU was started with -S and guest has not started 
> "finish-migrate" - guest is paused to finish the migration process 
> "restore-vm" - guest is paused to restore VM state 
> "running" - guest is actively running 
> "save-vm" - guest is paused to save the VM state 
> "shutdown" - guest is shut down (and -no-shutdown is in use) 
> "watchdog" - the watchdog action is configured to pause and 
> has been triggered 
> 
> 
> So, we can't see if a livemigrate is running from the source vm by example. 
> 
> I was more thinking about stream the lock values 
> 
> $conf->{lock} = 'migrate'; 
> $conf->{lock} = 'backup'; 
> $conf->{lock} = 'snapshot'; 
> $conf->{lock} = 'rollback'; 

This is a refinement of the 'running' state? So we extend 

running => running, migrate , backup, snapshot, rollback 

What do you think? 



More information about the pve-devel mailing list