[pve-devel] [PATCH qemu-server 1/2] Close #880: ability to show paused state via the CLI

Wolfgang Bumiller w.bumiller at proxmox.com
Tue Mar 1 10:58:54 CET 2016


On Fri, Feb 05, 2016 at 10:00:46AM +0100, Dietmar Maurer wrote:
> > > > -	    my $status = $stat->{status} || 'unknown';
> > > > +	    my $status = $stat->{qmpstatus} || 'unknown';
> > > 
> > > What if the VM is running, but qmp does not work for some reason?
> > 
> > vmstatus() ends with:
> > 
> > |    foreach my $vmid (keys %$list) {
> > |	next if $opt_vmid && ($vmid ne $opt_vmid);
> > |	$res->{$vmid}->{qmpstatus} = $res->{$vmid}->{status} if
> > !$res->{$vmid}->{qmpstatus};
> > 
> > so it falls back to putting the regular non-qmp status into the qmpstatus
> > field.
> 
> Ah, OK.

This patch is still missing in the repositories, was there some other
problem with it, too?




More information about the pve-devel mailing list