virtio-serial: Prevent addition of ports with same name
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 11 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | virtio-serial: create a linked list of all active deviceshw/ include/ | +12 | 7 replies | |
| 2/2 | virtio-serial: search for duplicate port names before adding new portshw/ | +22 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Markus Armbruster |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/2] virtio-serial: Prevent addition of ports with same name
Hi,
The 2nd patch prevents adding ports to the system with conflicts in the 'name' parameter. This is done by going through all the ports in the system, including ports on other virtio-serial devices.
The first patch prepares for this by creating a linked list of all available virtio-serial devices, so they can be walked over to check their ports' names.
Please review.
Amit Shah (2):
virtio-serial: create a linked list of all active devices
virtio-serial: search for duplicate port names before adding new ports
hw/char/virtio-serial-bus.c | 32 ++++++++++++++++++++++++++++++++ include/hw/virtio/virtio-serial.h | 2 ++ 2 files changed, 34 insertions(+)
Signature · 1 line
1.9.3