Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F131842425
D37227.id112452.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
426 B
Referenced Files
None
Subscribers
None
D37227.id112452.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Oct 12, 3:25 PM (3 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23628458
Default Alt Text
D37227.id112452.diff (426 B)
Attached To
Mode
D37227: vmm: do not leak halted_cpus bit after suspension
Attached
Detach File
Event Timeline
Log In to Comment