[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] virtio-serial: Prevent addition of ports with s
From: |
Amit Shah |
Subject: |
[Qemu-devel] [PATCH 0/2] virtio-serial: Prevent addition of ports with same name |
Date: |
Wed, 16 Jul 2014 17:01:02 +0530 |
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(+)
--
1.9.3
- [Qemu-devel] [PATCH 0/2] virtio-serial: Prevent addition of ports with same name,
Amit Shah <=