Trait hypervisor::VcpuSignalHandleInner
source · pub(crate) trait VcpuSignalHandleInner {
// Required method
fn signal_immediate_exit(&self);
}
Expand description
Signal-safe mechanism for requesting an immediate VCPU exit.
Each hypervisor backend must implement this for its VCPU type.
Required Methods§
sourcefn signal_immediate_exit(&self)
fn signal_immediate_exit(&self)
Signal the associated VCPU to exit if it is currently running.
§Safety
The implementation of this function must be async signal safe. https://man7.org/linux/man-pages/man7/signal-safety.7.html