diff options
author | Amit Shah <amit.shah@redhat.com> | 2014-07-15 10:17:02 +0530 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2014-08-18 22:42:49 +0530 |
commit | d0a0bfe6729ef6044d76ea49fafa07e29fa598bd (patch) | |
tree | ed221783760dc3733384087a4ae9fc4c5dbe3525 /qemu-options.h | |
parent | a1857ad1acbddbefe7ce8adb24b0e40991c5c38f (diff) | |
download | qemu-d0a0bfe6729ef6044d76ea49fafa07e29fa598bd.zip qemu-d0a0bfe6729ef6044d76ea49fafa07e29fa598bd.tar.gz qemu-d0a0bfe6729ef6044d76ea49fafa07e29fa598bd.tar.bz2 |
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 'qemu-options.h')
0 files changed, 0 insertions, 0 deletions