From 0e3249ec76a07706559f8b04c9ccf88d50b0a6d9 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Fri, 1 Apr 2011 12:04:53 +0200 Subject: README: Add qemu commandline options for vdagent It's not obvious how qemu should be started so that vdagentd can find its com.redhat.spice.0 virtio device. It's explained at http://spice-space.org/page/Whiteboard/AgentProtocol but is easier to find if it's explained in README too. --- README | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README b/README index ad40b3a..3f58ebe 100644 --- a/README +++ b/README @@ -22,6 +22,23 @@ Features: Not handled: multiple displays. + +All vdagent communications on the guest side run over a single pipe which +gets presented to the guest os as a virtio serial port. + +Under windows this virtio serial port has the following name: +\\\\.\\Global\\com.redhat.spice.0 + +Under Linux this virtio serial port has the following name: +/dev/virtio-ports/com.redhat.spice.0 + +Qemu will enable the virtio serial port when using the following params: + +-device virtio-serial-pci,id=virtio-serial0,max_ports=16,bus=pci.0,addr=0x5 \ +-chardev spicevmc,name=vdagent,id=vdagent \ +-device \ +virtserialport,nr=1,bus=virtio-serial0.0,chardev=vdagent,name=com.redhat.spice.0 + Enjoy, Gerd & Hans -- cgit v1.2.3