Communication between Qemu/KVM guest and host

Posted: febbraio 25th, 2011 | Author: | Filed under: English, Guide, KVM, Virtualizzazione | Tags: , , , , , , , | 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.

  • Articoli Recenti:

  • Tag

  • Categorie

  • Meta

  • Licenza Creative Commons

    Copyright © 2020, | – Blog is proudly powered by WordPress All rights Reserved | Theme by Ryan McNair modified By Francesco Apollonio

    Smilla Magazine Il Bloggatore Feedelissimo - tecnologia WebShake - tecnologia