summaryrefslogtreecommitdiffstats
path: root/hw/scsi/esp-pci.c
diff options
context:
space:
mode:
authorAmit Shah2014-07-15 06:47:02 +0200
committerAmit Shah2014-08-18 19:12:49 +0200
commitd0a0bfe6729ef6044d76ea49fafa07e29fa598bd (patch)
treeed221783760dc3733384087a4ae9fc4c5dbe3525 /hw/scsi/esp-pci.c
parentvirtio-serial: create a linked list of all active devices (diff)
downloadqemu-d0a0bfe6729ef6044d76ea49fafa07e29fa598bd.tar.gz
qemu-d0a0bfe6729ef6044d76ea49fafa07e29fa598bd.tar.xz
qemu-d0a0bfe6729ef6044d76ea49fafa07e29fa598bd.zip
virtio-serial: search for duplicate port names before adding new ports
Before adding new ports to VirtIOSerial devices, check if there's a conflict in the 'name' parameter. This ensures two virtserialports with identical names are not initialized. Reported-by: <mazhang@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/scsi/esp-pci.c')
0 files changed, 0 insertions, 0 deletions