Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I launched KVM VM with this command:

kvm /kvm/hdd/v1/v1-1.raw -m 512 -daemonize -smp 2 -nographic -net nic,model=virtio,macaddr=aa:aa:aa:aa:aa:01 -net tap,ifname=tap0 -monitor telnet:localhost:7001,server,nowait,nodelay

Then I connect to the monitor via telnet. But when I'm quitting the monitor with 'quit' or 'q', the VM stops. Why and how to quit without stopping the VM?

share|improve this question
up vote 8 down vote accepted

Did you try to 'telnet' way? I.e.:

telnet> quit
share|improve this answer

When connected to the monitor via telnet, anything that you type will be interpreted as a command by the monitor itself. You can view the full list of commands in the QEMU Emulator User Documentation, one of which is quit (or q for short).

To disconnect the telnet session you need to first use the telnet escape key which is Ctrl-] and then you can type quit when you see the telnet> prompt.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.