Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Closing qemu Cleanly #12

Closed
rylev opened this issue Dec 29, 2015 · 8 comments
Closed

Closing qemu Cleanly #12

rylev opened this issue Dec 29, 2015 · 8 comments
Labels

Comments

@rylev
Copy link
Contributor

rylev commented Dec 29, 2015

I can't seem to find a good way to cleanly shut down qemu. The docs I found here (http://wiki.qemu.org/download/qemu-doc.html) show a way to "Exit emulator", but this doesn't seem to work for me at least inside of the Vagrant VM. For now, I'm just using pgrep qemu | xargs kill -15

@steveklabnik
Copy link
Member

It didn't work for me in not-a-vm either. Hmm.

@sarahhodne
Copy link

Ctrl-C in the terminal that's running qemu does the trick for me. Ctrl-A, X only works in “nographics" mode, which we're not using. You can also do Ctrl-Alt-2 in the qemu window to bring up the monitor and enter quit.

@steveklabnik
Copy link
Member

Ah ha!

@rylev
Copy link
Contributor Author

rylev commented Jan 3, 2016

Hmmm neither works for me running on Mac using the VM specified in the vagrant file.

@lulezi
Copy link

lulezi commented Jan 4, 2016

I ran into this issue as well. @rylev, thanks for pgrep qemu | xargs kill -15. Also, I don't know if this is related but when I try to start qemu with qemu-system-x86_64 -cdrom os.iso it exits saying Could not initialize SDL(No available video device) - exiting. This can be avoided using the -curses flag.

@BrendanBuono
Copy link
Contributor

As a note, Ctrl-Alt didn't work for me, I had to use Esc instead

@avocadofan2
Copy link

Esc+2 ( or alt+2 ) works for me. This switches consoles where you can use the quit command

@steveklabnik
Copy link
Member

So, I'm gonna say that we should mention that alt-2 + quit works, and that this is a book issue. Moving it over to that repo!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants