cloud-hypervisor/vm-virtio/src
Rob Bradford 3b2faa9f11 vm-virtio: Reset underlying device on driver request
If the driver triggers a reset by writing zero into the status register
then reset the underlying device if supported. A device reset also
requires resetting various aspects of the queue.

In order to be able to do a subsequent reactivate it is required to
reclaim certain resources (interrupt and queue EventFDs.) If a device
reset is requested by the driver but the underlying device does not
support it then generate an error as the driver would not be able to
configure it anyway.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
2019-05-09 15:44:18 +02:00
..
transport vm-virtio: Reset underlying device on driver request 2019-05-09 15:44:18 +02:00
block.rs cloud-hypervisor: Add proper licensing 2019-05-09 15:44:17 +02:00
device.rs cloud-hypervisor: Add proper licensing 2019-05-09 15:44:17 +02:00
lib.rs vm-virtio: Reset underlying device on driver request 2019-05-09 15:44:18 +02:00
queue.rs vm-virtio: Reset underlying device on driver request 2019-05-09 15:44:18 +02:00