Communication between Qemu/KVM guest and host
Posted: febbraio 25th, 2011 | Author: Francesco Apollonio | Filed under: English, Guide, KVM, Virtualizzazione | Tags: Guide, hacking, kvm, linux, qemu, utility, vde, virtual | No Comments »
Hi *,
I need to write text from my Qemu/KVM host machine to guest without using ssh.
I’ve launched kvm with the option:
-serial unix:/tmp/socket,server,nowait
after you can read/write data from host using unixterm (located in vde package or any other program to read/write serial console as socat or others).
From guest machine you can use cat /dev/ttyS0 to read data and echo “text” > /dev/ttyS0 to write on serial port.
Happy hacking.








Leave a Reply