Hi,
If i stop a vm, there is a small timeframe, that vm status is wrong in api.
When i watch the vm console, and it's closed because "Guest not running". I use two api call:
#pvesh get /nodes/vps2/qemu/200/status/current --output-format json-pretty
{
"agent" : 1,
"cpu" : 0,
"cpus" : 2...