diff options
author | Ross Zwisler <zwisler@chromium.org> | 2023-02-15 23:33:50 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-04-04 17:01:58 +0200 |
commit | 9513c55ce3e8f0f118c47423452c4a4bdaa80222 (patch) | |
tree | 24fa8429c20b816fb1a1bd762f78156c0137b994 /tools/virtio | |
parent | vhost-scsi: Fix crash during LUN unmapping (diff) | |
download | linux-9513c55ce3e8f0f118c47423452c4a4bdaa80222.tar.xz linux-9513c55ce3e8f0f118c47423452c4a4bdaa80222.zip |
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 <zwisler@google.com>
Message-Id: <20230215223350.2658616-7-zwisler@google.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/virtio')
-rw-r--r-- | tools/virtio/virtio-trace/README | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtio/virtio-trace/README b/tools/virtio/virtio-trace/README index b64845b823ab..4fb9368bf751 100644 --- a/tools/virtio/virtio-trace/README +++ b/tools/virtio/virtio-trace/README @@ -61,7 +61,7 @@ and id=channel0,name=agent-ctl-path\ ##data path## -chardev pipe,id=charchannel1,path=/tmp/virtio-trace/trace-path-cpu0\ - -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel0,\ + -device virtserialport,bus=virtio-serial0.0,nr=2,chardev=charchannel1,\ id=channel1,name=trace-path-cpu0\ ... |