Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102634020
D37446.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
638 B
Referenced Files
None
Subscribers
None
D37446.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
@@ -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
Details
Attached
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)
Attached To
Mode
D37446: vmm: Fix build w/o KDTRACE_HOOKS.
Attached
Detach File
Event Timeline
Log In to Comment