From: Rik Theys Subject: how to determine that the VM is running Date: Fri, 10 Oct 2008 15:16:05 +0200 Message-ID: <48EF5595.4030300@esat.kuleuven.be> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from cavspool01.kulnet.kuleuven.be ([134.58.240.41]:39318 "EHLO cavspool01.kulnet.kuleuven.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753640AbYJJNqN (ORCPT ); Fri, 10 Oct 2008 09:46:13 -0400 Received: from cavuit02.kulnet.kuleuven.be (cavuit02.kulnet.kuleuven.be [134.58.240.44]) by cavspool01.kulnet.kuleuven.be (Postfix) with ESMTP id 556F2B9B4 for ; Fri, 10 Oct 2008 15:17:43 +0200 (CEST) Received: from smtps02.kuleuven.be (smtpshost02.kulnet.kuleuven.be [134.58.240.75]) by cavuit02.kulnet.kuleuven.be (Postfix) with ESMTP id 5A51775A494 for ; Fri, 10 Oct 2008 15:16:06 +0200 (CEST) Received: from smtps02.kuleuven.be (localhost [127.0.0.1]) by smtps02.kuleuven.be (Postfix) with ESMTP id 170D9F3863 for ; Fri, 10 Oct 2008 15:16:06 +0200 (CEST) Received: from nijl.esat.kuleuven.be (nijl.esat.kuleuven.be [134.58.56.153]) by smtps02.kuleuven.be (Postfix) with ESMTP id 0452AF3862 for ; Fri, 10 Oct 2008 15:16:06 +0200 (CEST) Received: from [10.33.138.9] (lucifer.esat.kuleuven.be [10.33.138.9]) by nijl.esat.kuleuven.be (8.14.3/8.14.3) with ESMTP id m9ADG5b5021922 for ; Fri, 10 Oct 2008 15:16:06 +0200 Sender: kvm-owner@vger.kernel.org List-ID: Hi, I'm currently configuring two hosts that will run KVM virtual machines. They are attached to a shared storage device on which the vm's will be stored. I start the VM on one of the hosts and then connect to the monitor interface. To migrate, I enter the "migrate ssh://other-host" command and the VM gets migrated to the other host. The kvm process on the first host remains active and so does the monitor interface. But how can I determine if the VM is running on this host or the other one? Which command in the monitor interface will tell me if the current kvm process is currenly running or not? Another question I haven't found the answer to, is how can I add an additional disk to an already running vm using the disk_add monitor command? A third question is how can I hot-add a CPU/memory to a VM, or is that not possible right now? Regards, Rik -- Rik Theys System Engineer KU Leuven - Dept. Elektrotechniek (ESAT) Kasteelpark Arenberg 10 B-3001 LEUVEN - HEVERLEE Tel.: +32(0)16/32.11.07 ---------------------------------------------------------------- <> Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm