Qemu in an ssh session or the quest for the nographic option

qemussh

I ssh to a machine and I would like to start a qemu session inside this ssh session.

I thought that the nographic option would do the trick.

-nographic
Normally, QEMU uses SDL to display the VGA output. With this
option, you can totally disable graphical output so that QEMU
is a simple command line application. The emulated serial port
is redirected on the console. Therefore, you can still use QEMU
to debug a Linux kernel with a serial console.

Unfortunately, I don't see any output. The command line that I'm using once i've ssh'd to the machine is:

qemu-system-x86_64  -hda debian.img -nographic

Any idea what's happening?

Best Answer

My bad,

the -curses option seems to do the trick for what i want to do.