On 09/19/2018 02:57 PM, Luca Boccassi wrote:
Register and unregister the virtio interrupt handler when the device is
started and stopped. This allows a virtio device to be hotplugged or
unplugged.
Fixes: c1f86306a026 ("virtio: add new driver")
Cc: [email protected]
Signed-off-by: Brian Russell <[email protected]>
Signed-off-by: Luca Boccassi <[email protected]>
---
drivers/net/virtio/virtio_ethdev.c | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
Reviewed-by: Maxime Coquelin <[email protected]>
Thanks,
Maxime