commit | d0a0bfe6729ef6044d76ea49fafa07e29fa598bd | [log] [tgz] |
---|---|---|
author | Amit Shah <amit.shah@redhat.com> | Tue Jul 15 10:17:02 2014 +0530 |
committer | Amit Shah <amit.shah@redhat.com> | Mon Aug 18 22:42:49 2014 +0530 |
tree | ed221783760dc3733384087a4ae9fc4c5dbe3525 | |
parent | a1857ad1acbddbefe7ce8adb24b0e40991c5c38f [diff] |
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>