Page MenuHomeFreeBSD

D35350.id106789.diff
No OneTemporary

D35350.id106789.diff

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

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)

Event Timeline