diff options
author | Ross Zwisler <zwisler@chromium.org> | 2023-02-15 15:33:50 -0700 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-04-04 11:01:58 -0400 |
commit | 9513c55ce3e8f0f118c47423452c4a4bdaa80222 (patch) | |
tree | 24fa8429c20b816fb1a1bd762f78156c0137b994 | |
parent | 4c363c81f66c77e0a2394b9a4efa707d122dc544 (diff) |
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>
-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\ ... |