[pve-devel] [PATCH qemu-server 1/2] Close #880: ability to show paused state via the CLI
Dietmar Maurer
dietmar at proxmox.com
Fri Feb 5 10:00:46 CET 2016
> > > - 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.
More information about the pve-devel
mailing list