Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140161462
D35350.id106789.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
682 B
Referenced Files
None
Subscribers
None
D35350.id106789.diff
View Options
diff --git a/sys/amd64/vmm/intel/vmx.c b/sys/amd64/vmm/intel/vmx.c
--- a/sys/amd64/vmm/intel/vmx.c
+++ b/sys/amd64/vmm/intel/vmx.c
@@ -3184,9 +3184,6 @@
handled, vmexit->exitcode);
}
- if (!handled)
- vmm_stat_incr(vm, vcpu, VMEXIT_USERSPACE, 1);
-
VCPU_CTR1(vm, vcpu, "returning from vmx_run: exitcode %d",
vmexit->exitcode);
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
@@ -1821,6 +1821,7 @@
if (error == 0 && retu == false)
goto restart;
+ vmm_stat_incr(vm, vcpuid, VMEXIT_USERSPACE, 1);
VCPU_CTR2(vm, vcpuid, "retu %d/%d", error, vme->exitcode);
/* copy the exit information */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Dec 22, 12:23 AM (19 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27126377
Default Alt Text
D35350.id106789.diff (682 B)
Attached To
Mode
D35350: vmm: move bumping VMEXIT_USERSPACE stat to the right place
Attached
Detach File
Event Timeline
Log In to Comment