summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2011-04-01 12:04:53 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2011-04-01 12:36:48 +0200
commit0e3249ec76a07706559f8b04c9ccf88d50b0a6d9 (patch)
tree09bf9913c624bd1b443ae9f7d629340df27c393b
parentccf2c69f07ecb03b4f04ea06fe713e699ec8ff3a (diff)
README: Add qemu commandline options for vdagentHEADmaster
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.
-rw-r--r--README17
1 files changed, 17 insertions, 0 deletions
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