qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] a1857a: virtio-serial: create a linked list o


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] a1857a: virtio-serial: create a linked list of all active ...
Date: Tue, 19 Aug 2014 03:00:05 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: a1857ad1acbddbefe7ce8adb24b0e40991c5c38f
      
https://github.com/qemu/qemu/commit/a1857ad1acbddbefe7ce8adb24b0e40991c5c38f
  Author: Amit Shah <address@hidden>
  Date:   2014-08-18 (Mon, 18 Aug 2014)

  Changed paths:
    M hw/char/virtio-serial-bus.c
    M include/hw/virtio/virtio-serial.h

  Log Message:
  -----------
  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 <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>


  Commit: d0a0bfe6729ef6044d76ea49fafa07e29fa598bd
      
https://github.com/qemu/qemu/commit/d0a0bfe6729ef6044d76ea49fafa07e29fa598bd
  Author: Amit Shah <address@hidden>
  Date:   2014-08-18 (Mon, 18 Aug 2014)

  Changed paths:
    M hw/char/virtio-serial-bus.c

  Log Message:
  -----------
  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: <address@hidden>
Signed-off-by: Amit Shah <address@hidden>
Reviewed-by: Markus Armbruster <address@hidden>


  Commit: 073fd73e566c711f5c0cdaa300fdd1a3c8e7faa0
      
https://github.com/qemu/qemu/commit/073fd73e566c711f5c0cdaa300fdd1a3c8e7faa0
  Author: Peter Maydell <address@hidden>
  Date:   2014-08-18 (Mon, 18 Aug 2014)

  Changed paths:
    M hw/char/virtio-serial-bus.c
    M include/hw/virtio/virtio-serial.h

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/amit/for-2.2' into staging

* remotes/amit/for-2.2:
  virtio-serial: search for duplicate port names before adding new ports
  virtio-serial: create a linked list of all active devices

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/08ab59770da5...073fd73e566c

reply via email to

[Prev in Thread] Current Thread [Next in Thread]