[0/3] Fix hot plug/unplug of virtual devices
mbox series

Message ID 20180816135032.28283-1-bluca@debian.org
Headers show
  • Fix hot plug/unplug of virtual devices
Related show


Luca Boccassi Aug. 16, 2018, 1:50 p.m. UTC
Although not very common and perhaps a bit strange, we do have users
that want to be able to hot plug/unplug virtio or vmxnet devices from
a running system, without shutting down the application nor the VM.

We have been enabling this in production for a year or so, so it's well
tested. The only issues found so far are fixed by this series.

Luca Boccassi (3):
  net/virtio: register/unregister intr handler on start/stop
  net/vmxnet3: fix vmxnet3 dev_uninit() hot-unplug
  eal/linux: handle uio read failure in interrupt handler

 drivers/net/virtio/virtio_ethdev.c           | 26 ++++++++------
 drivers/net/vmxnet3/vmxnet3_ethdev.c         | 36 ++++++++++++++------
 lib/librte_eal/linuxapp/eal/eal_interrupts.c | 19 ++++++++++-
 3 files changed, 59 insertions(+), 22 deletions(-)