Skip to content

Commit 9513c55

Browse files
Ross Zwislermstsirkin
authored andcommitted
tools/virtio: fix typo in README instructions
We need to have a unique chardev for each data path, else the chardevs will collide and qemu will die with this message: qemu-system-x86_64: -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel0, id=channel1,name=trace-path-cpu0: Property 'virtserialport.chardev' can't take value 'charchannel0': Device 'charchannel0' is in use Signed-off-by: Ross Zwisler <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
1 parent 4c363c8 commit 9513c55

File tree

1 file changed

+1
-1
lines changed
  • tools/virtio/virtio-trace

1 file changed

+1
-1
lines changed

tools/virtio/virtio-trace/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ and
6161
id=channel0,name=agent-ctl-path\
6262
##data path##
6363
-chardev pipe,id=charchannel1,path=/tmp/virtio-trace/trace-path-cpu0\
64-
-device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel0,\
64+
-device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,\
6565
id=channel1,name=trace-path-cpu0\
6666
...
6767

0 commit comments

Comments
 (0)