aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2022-11-18 18:06:20 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-01-26 22:06:39 +0000
commit4aded963cdceef453656098719a13a2d4842787c (patch)
treec06198e376713a448e7879697952f74ffd8afa8d
parent3e02f8809aec5f8c28d8ad329c0328d3ed4cc069 (diff)
downloadsrc-4aded963cdceef453656098719a13a2d4842787c.tar.gz
src-4aded963cdceef453656098719a13a2d4842787c.zip
vmm: Trim some pointless #ifdef KTR.
Reported by: markj Reviewed by: corvink, markj Differential Revision: https://reviews.freebsd.org/D37272 (cherry picked from commit 49fd5115a9b244c599e068977324e8f6a9993066)
-rw-r--r--sys/amd64/vmm/intel/vmx.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/amd64/vmm/intel/vmx.c b/sys/amd64/vmm/intel/vmx.c
index baf62c1f8e8a..942caa6c58f8 100644
--- a/sys/amd64/vmm/intel/vmx.c
+++ b/sys/amd64/vmm/intel/vmx.c
@@ -1226,28 +1226,22 @@ vmx_handle_cpuid(struct vmx_vcpu *vcpu, struct vmxctx *vmxctx)
static __inline void
vmx_run_trace(struct vmx_vcpu *vcpu)
{
-#ifdef KTR
VMX_CTR1(vcpu, "Resume execution at %#lx", vmcs_guest_rip());
-#endif
}
static __inline void
vmx_exit_trace(struct vmx_vcpu *vcpu, uint64_t rip, uint32_t exit_reason,
int handled)
{
-#ifdef KTR
VMX_CTR3(vcpu, "%s %s vmexit at 0x%0lx",
handled ? "handled" : "unhandled",
exit_reason_to_str(exit_reason), rip);
-#endif
}
static __inline void
vmx_astpending_trace(struct vmx_vcpu *vcpu, uint64_t rip)
{
-#ifdef KTR
VMX_CTR1(vcpu, "astpending vmexit at 0x%0lx", rip);
-#endif
}
static VMM_STAT_INTEL(VCPU_INVVPID_SAVED, "Number of vpid invalidations saved");