Skip to content
Snippets Groups Projects
  1. Feb 09, 2013
  2. Feb 08, 2013
  3. Feb 07, 2013
    • Michael Roth's avatar
      net: fix infinite loop on exit · b8904921
      Michael Roth authored
      
      1ceef9f2 added handling for cleaning
      up multiple queues in qemu_del_nic() for cases where multiqueue is in
      use. To determine the number of queues it looks at nic->conf->queues,
      then iterates through all the queues to cleanup the associated
      NetClientStates. If no queues are found, no NetClientStates are deleted.
      
      However, nic->conf->queues is only set when a peer is created via
      -netdev or netdev_add, and is otherwise 0. This causes us to spin in
      net_cleanup() if we attempt to shut down qemu before adding a host
      device.
      
      Since qemu_new_nic() unconditionally creates at least 1
      queue/NetClientState at queue idx 0, make qemu_del_nic() always attempt
      to clean it up.
      
      Signed-off-by: default avatarMichael Roth <mdroth@linux.vnet.ibm.com>
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      b8904921
    • Anthony Liguori's avatar
      Update version for release · ecd8d471
      Anthony Liguori authored
      
      Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
      ecd8d471
  4. Feb 06, 2013
  5. Feb 05, 2013
Loading