I want to get information in terms of number of active qemu processes. How can I track this information from host? As you said, the commands 'info migrate' can be run in qemu console. For this, I have to switch to qemu console. How can I get the information whether the qemu processes are live or suspended from host?
On Thu, Mar 21, 2013 at 2:41 AM, mdroth <mdr...@linux.vnet.ibm.com> wrote: > On Wed, Mar 20, 2013 at 01:26:22PM +0530, Mrugani Kurtadikar wrote: >> Hi, >> We are trying qemu migration. >> Suppose VM1 is migrated from hostA to hostB. >> After complete migration, VM1 starts on hostB. But VM1 on hostA >> remains in suspended mode. >> We want to identify all live VMs on hostA. >> We are not able to identify live VMs. 'ps -eaf | grep qemu' command >> gives all the qemu processes. >> Do you have any idea of to find all live VMs on host? >> Please help. > > If the guest is configured with an HMP console (qemu ... -monitor stdio, for > instance) you can use the command 'info migrate' to check the > in-migrate/post-migrate status of the guests > > If the guest is configured with a QMP console (qemu ... -qmp stdio, for > instance) you can use the 'query-migrate' command to get similar > information > >> >> >> >> -- >> Mrugani Kurtadikar >> Btech IT >> College of Engineering, Pune. >> -- Mrugani Kurtadikar Btech IT College of Engineering, Pune.