Page MenuHomeFreeBSD

D37227.id.diff
No OneTemporary

D37227.id.diff

diff --git a/sys/amd64/vmm/vmm.c b/sys/amd64/vmm/vmm.c
--- a/sys/amd64/vmm/vmm.c
+++ b/sys/amd64/vmm/vmm.c
@@ -1424,8 +1424,13 @@
if (td_ast_pending(td, TDA_SUSPEND)) {
vcpu_unlock(vcpu);
error = thread_check_susp(td, false);
- if (error != 0)
+ if (error != 0) {
+ if (vcpu_halted) {
+ CPU_CLR_ATOMIC(vcpuid,
+ &vm->halted_cpus);
+ }
return (error);
+ }
vcpu_lock(vcpu);
}
}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 5:40 AM (3 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14649612
Default Alt Text
D37227.id.diff (426 B)

Event Timeline