Page MenuHomeFreeBSD

D37446.diff
No OneTemporary

D37446.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
@@ -2350,7 +2350,9 @@
uint32_t eax, ecx, edx, idtvec_info, idtvec_err, intr_info, inst_info;
uint32_t intr_type, intr_vec, reason;
uint64_t exitintinfo, qual, gpa;
+#ifdef KDTRACE_HOOKS
int vcpuid;
+#endif
bool retu;
CTASSERT((PINBASED_CTLS_ONE_SETTING & PINBASED_VIRTUAL_NMI) != 0);
@@ -2358,7 +2360,9 @@
handled = UNHANDLED;
vmxctx = &vcpu->ctx;
+#ifdef KDTRACE_HOOKS
vcpuid = vcpu->vcpuid;
+#endif
qual = vmexit->u.vmx.exit_qualification;
reason = vmexit->u.vmx.exit_reason;

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 16, 2:58 AM (21 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14652099
Default Alt Text
D37446.diff (638 B)

Event Timeline