Date: Thu, 26 Jan 2023 22:12:16 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 4aded963cdce - stable/13 - vmm: Trim some pointless #ifdef KTR. Message-ID: <202301262212.30QMCGYr022463@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=4aded963cdceef453656098719a13a2d4842787c commit 4aded963cdceef453656098719a13a2d4842787c Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-11-18 18:06:20 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2023-01-26 22:06:39 +0000 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) --- 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");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301262212.30QMCGYr022463>