mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-21 20:15:21 +00:00
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>
Cloud Hypervisor
Description
Languages
Rust
97.9%
Shell
1.8%
Python
0.2%
Dockerfile
0.1%