Amit Shah <amit.s...@redhat.com> writes: > Hi, > > The 2nd patch prevents adding ports to the system with conflicts in > the 'name' parameter. This is done by going through all the ports in > the system, including ports on other virtio-serial devices. > > The first patch prepares for this by creating a linked list of all > available virtio-serial devices, so they can be walked over to check > their ports' names. > > Please review.
No advice from Andreas on better ways to iterate over devices, yet (vacation time?). If there is one, we can always use it on top. Reviewed-by: Markus Armbruster <arm...@redhat.com>