Changes between Initial Version and Version 1 of qemu-monitor


Ignore:
Timestamp:
May 22, 2011, 3:41:39 PM (13 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • qemu-monitor

    v1 v1  
     1= QEMU Monitor on running KVM guests =
     2
     3Each KVM guests have a [https://secure.wikimedia.org/wikibooks/en/wiki/QEMU/Monitor qemu monitor], which allows you to interact with the running guests via the software the powers the guest.
     4
     5To start the qemu monitor, login as the guest user account. For example, to access julia.mayfirst.org, login as julia to julia's host (pietri.mayfirst.org):
     6
     7{{{
     8ssh julia@pietri.mayfirst.org
     9}}}
     10
     11Then run the following command (chaning julia to the name of the guest in question):
     12
     13{{{
     14julia@pietri:~$ socat vms/julia/monitor.socket STDIO
     15}}}
     16
     17Here's an example session (see ticket #4254 for context):
     18
     19{{{
     20julia@pietri:~$ socat vms/julia/monitor.socket STDIO
     21QEMU 0.12.5 monitor - type 'help' for more information
     22(qemu) info balloon
     23info balloon
     24balloon: actual=3072
     25(qemu) balloon 2500
     26balloon 2500
     27(qemu) ^Cjulia@pietri:~$
     28}}}
     29
     30Note the use of ctrl-C to detach from the monitor -- if you were to do exit or quit instead, you would be effectively asking the kvm process itself to die. You don't want that!
     31
     32