Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jan 2026 23:31:34 +0000
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 0aaa95ae0280 - main - vmm: Add an include to vmm_ktr.h for vm_name()
Message-ID:  <69603e56.3503d.53c93aef@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=0aaa95ae02803ba0195c5da695ffbb17a79135bc

commit 0aaa95ae02803ba0195c5da695ffbb17a79135bc
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2026-01-08 23:29:06 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2026-01-08 23:29:06 +0000

    vmm: Add an include to vmm_ktr.h for vm_name()
    
    Required when KTR is configured.
    
    Remove the pcpu.h include while here, as it seems to be unneeded.
    
    Reported by:    Jenkins
    Fixes:          5f13d6b60740 ("vmm: Move common accessors and vm_eventinfo into sys/dev/vmm")
---
 sys/dev/vmm/vmm_ktr.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys/dev/vmm/vmm_ktr.h b/sys/dev/vmm/vmm_ktr.h
index 20370a229530..afd9831e4225 100644
--- a/sys/dev/vmm/vmm_ktr.h
+++ b/sys/dev/vmm/vmm_ktr.h
@@ -30,7 +30,9 @@
 #define	_VMM_KTR_H_
 
 #include <sys/ktr.h>
-#include <sys/pcpu.h>
+#ifdef KTR
+#include <dev/vmm/vmm_vm.h>
+#endif
 
 #ifndef KTR_VMM
 #define	KTR_VMM	KTR_GEN


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69603e56.3503d.53c93aef>