Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102641521
D37227.id.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.id.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
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)
Attached To
Mode
D37227: vmm: do not leak halted_cpus bit after suspension
Attached
Detach File
Event Timeline
Log In to Comment