mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 05:35:20 +00:00
00800b8499
The latest vhost-user specification describes VHOST_USER_RESET_OWNER command as deprecated with the following explanation: This is no longer used. Used to be sent to request disabling all rings, but some back-ends interpreted it to also discard connection state (this interpretation would lead to bugs). It is recommended that back-ends either ignore this message, or use it to disable all rings. Also, it's been observed that when using either Rust Hypervisor Firmware or EDK2 OVMF firmware with SPDK (using the block device as the boot disk), the virtio reset that happens when the firmware no longer needs to access the block device caused a failure by triggering the command VHOST_USER_RESET_OWNER. For all these reasons, this patch simplifies the virtio reset implementation by simply disabling the virtqueues and no longer calling into VHOST_USER_RESET_OWNER. Partially fixes #4285 Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |