mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
virtio-devices, vmm: Shutdown VMM on virtio thread panic
Shutdown the VMM in the virtio (or VMM side of vhost-user) thread panics. See: #3031 Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
@@ -80,8 +80,12 @@ pub enum ActivateError {
|
||||
BadActivate,
|
||||
/// Queue number is not correct
|
||||
BadQueueNum,
|
||||
/// Failed to clone Kill event
|
||||
/// Failed to clone Kill event fd
|
||||
CloneKillEventFd,
|
||||
/// Failed to clone exit event fd
|
||||
CloneExitEventFd(std::io::Error),
|
||||
// Failed to spawn thread
|
||||
ThreadSpawn(std::io::Error),
|
||||
/// Failed to create Vhost-user interrupt eventfd
|
||||
VhostIrqCreate,
|
||||
/// Failed to setup vhost-user-fs daemon.
|
||||
|
||||
Reference in New Issue
Block a user