We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf68a9 commit dfe1dd9Copy full SHA for dfe1dd9
src/hyperlight_host/src/hypervisor/mod.rs
@@ -374,6 +374,8 @@ impl VirtualCPU {
374
#[cfg(any(kvm, mshv3))]
375
interrupt_handle.set_tid();
376
interrupt_handle.set_running();
377
+ // NOTE: `set_running()`` must be called before checking `is_cancelled()`
378
+ // otherwise we risk missing a call to `kill()` because the vcpu would not be marked as running yet so signals won't be sent
379
380
let exit_reason = {
381
if interrupt_handle.is_cancelled() || interrupt_handle.is_debug_interrupted() {
0 commit comments