2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 12:14:01 +08:00
linux-next/drivers/s390/kvm
Heinz Graalfs e75279c4fb virtio_ccw: introduce device_lost in virtio_ccw_device
When a device is lost, the common I/O layer calls the notification
handler with CIO_GONE: In that event, flag device_lost as true.

In case the device had been flagged as lost when the remove/offline callbacks
are called, call the new virtio_break_device() function prior to invoking
device_unregister(). This avoids hangs of I/O triggered via the device
unregistration callbacks.

Signed-off-by: Heinz Graalfs <graalfs@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2014-04-28 11:34:13 +09:30
..
kvm_virtio.c s390/irq: Use defines for external interruption codes 2014-04-03 14:30:52 +02:00
Makefile KVM: s390: Add a channel I/O based virtio transport driver. 2012-12-18 14:37:13 +02:00
virtio_ccw.c virtio_ccw: introduce device_lost in virtio_ccw_device 2014-04-28 11:34:13 +09:30