summaryrefslogtreecommitdiff
path: root/include/hw/virtio/virtio-serial.h
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2014-07-15 10:17:02 +0530
committerAmit Shah <amit.shah@redhat.com>2014-08-18 22:42:49 +0530
commitd0a0bfe6729ef6044d76ea49fafa07e29fa598bd (patch)
treeed221783760dc3733384087a4ae9fc4c5dbe3525 /include/hw/virtio/virtio-serial.h
parenta1857ad1acbddbefe7ce8adb24b0e40991c5c38f (diff)
downloadqemu-d0a0bfe6729ef6044d76ea49fafa07e29fa598bd.tar.gz
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 'include/hw/virtio/virtio-serial.h')
0 files changed, 0 insertions, 0 deletions