git: 49fd5115a9b2 - main - vmm: Trim some pointless #ifdef KTR.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 18 Nov 2022 18:26:58 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=49fd5115a9b244c599e068977324e8f6a9993066 commit 49fd5115a9b244c599e068977324e8f6a9993066 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-11-18 18:06:20 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-11-18 18:25:39 +0000 vmm: Trim some pointless #ifdef KTR. Reported by: markj Reviewed by: corvink, markj Differential Revision: https://reviews.freebsd.org/D37272 --- sys/amd64/vmm/intel/vmx.c | 6 ------ 1 file changed, 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");