diff options
author | Amit Shah | 2014-07-16 13:08:50 +0200 |
---|---|---|
committer | Amit Shah | 2014-08-18 19:12:37 +0200 |
commit | a1857ad1acbddbefe7ce8adb24b0e40991c5c38f (patch) | |
tree | 8a9949bd2e3c2d8360adba1cc63e451fbbbdab47 /target-microblaze | |
parent | Merge remote-tracking branch 'remotes/mcayland/qemu-sparc' into staging (diff) | |
download | qemu-a1857ad1acbddbefe7ce8adb24b0e40991c5c38f.tar.gz qemu-a1857ad1acbddbefe7ce8adb24b0e40991c5c38f.tar.xz qemu-a1857ad1acbddbefe7ce8adb24b0e40991c5c38f.zip |
virtio-serial: create a linked list of all active devices
To ensure two virtserialports don't get added to the system with the
same 'name' parameter, we need to access all the ports on all the
devices added, and compare the names.
We currently don't have a list of all VirtIOSerial devices added to the
system. This commit adds a simple linked list in which devices are put
when they're initialized, and removed when they go away.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'target-microblaze')
0 files changed, 0 insertions, 0 deletions