[Spice-devel] [linux/vd-agent 3/3] README: Use block quotes for code or paths
Victor Toso
victortoso at redhat.com
Fri Feb 22 15:18:35 UTC 2019
From: Victor Toso <me at victortoso.com>
Makes it easier to copy-and-paste.
Signed-off-by: Victor Toso <victortoso at redhat.com>
---
README.md | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
index 67a66a5..089c0e5 100644
--- a/README.md
+++ b/README.md
@@ -44,15 +44,20 @@ 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
+>>>
+ \\\\.\\Global\\com.redhat.spice.0
+>>>
Under Linux this virtio serial port has the following name:
-/dev/virtio-ports/com.redhat.spice.0
+>>>
+ /dev/virtio-ports/com.redhat.spice.0
+>>>
To enable the virtio serial port you need to pass the following params on
the qemu cmdline:
--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
+>>>
+ -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
+>>>
--
2.20.1
More information about the Spice-devel
mailing list