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

Dietmar Maurer dietmar at proxmox.com
Mon Jul 15 09:30:41 CEST 2013


Or maybe we should add the missing states to qemu?

> -----Original Message-----
> From: pve-devel-bounces at pve.proxmox.com [mailto:pve-devel-
> bounces at pve.proxmox.com] On Behalf Of Dietmar Maurer
> Sent: Montag, 15. Juli 2013 09:24
> To: Alexandre DERUMIER
> Cc: pve-devel at pve.proxmox.com
> Subject: 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?
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


More information about the pve-devel mailing list