how to check if savevm is completed?
Hi, all
I run savevm by qemu-monitor, but how to check if savevm is completed? I haven't find the query interface.
Thanks,
Zhang Haoyu
Quoted 1 line · Zhang Haoyu
I run savevm by qemu-monitor, but how to check if savevm is completed? I haven't find the query interface.
That is because savevm is synchronous. It blocks until the operation is complete. You cannot use the QEMU monitor while savevm is executing.
Stefan
Quoted 5 lines
Quoted 1 line
I run savevm by qemu-monitor, but how to check if savevm is completed? I haven't find the query interface.
That is because savevm is synchronous. It blocks until the operation is complete. You cannot use the QEMU monitor while savevm is executing.
So, only the asynchronous operations provide the query interface, like hmp_info_migrate, right?
Thanks,
Zhang Haoyu
Quoted 1 line
Stefan
Quoted 6 lines · Zhang Haoyu
Quoted 5 lines
Quoted 1 line
I run savevm by qemu-monitor, but how to check if savevm is completed? I haven't find the query interface.
That is because savevm is synchronous. It blocks until the operation is complete. You cannot use the QEMU monitor while savevm is executing.
So, only the asynchronous operations provide the query interface, like
hmp_info_migrate, right?
Yes, because the monitor is blocked during synchronous operations. Only one command is processed at a time.
Stefan