> >>I introduced 'qmpstatus' for that purpose (instead of using 'status')
> >>- to make sure that we do not break something.
> Oh, ok, perfect !
> 
> So, maybe do we just need to extend:
> 
> PVE::QemuServer::vmstatus
> 
> # fixme: better status?
> $d->{status} = $list->{$vmid}->{pid} ? 'running' : 'stopped';

Yes, but then you have the risk that you break clients.

I don’t want to do that now, so I introduced 'qmpstatus' instead.

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to