git: 2efcefea15e2 - stable/14 - bhyve: Move the gvt-d driver to amd64/

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Wed, 11 Oct 2023 13:25:12 UTC
The branch stable/14 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=2efcefea15e25b1d000318105282bf4d59c607ed

commit 2efcefea15e25b1d000318105282bf4d59c607ed
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-10-04 16:24:04 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-10-11 13:22:01 +0000

    bhyve: Move the gvt-d driver to amd64/
    
    It is amd64-only.  No functional change intended.
    
    Reviewed by:    corvink, jhb
    MFC after:      1 week
    Sponsored by:   Innovate UK
    Differential Revision:  https://reviews.freebsd.org/D40736
    
    (cherry picked from commit 4ab7aea8ec2f5fac0e6d140300c8f04db99d83df)
---
 usr.sbin/bhyve/Makefile                         | 1 -
 usr.sbin/bhyve/amd64/Makefile.inc               | 1 +
 usr.sbin/bhyve/{ => amd64}/pci_gvt-d-opregion.h | 0
 usr.sbin/bhyve/{ => amd64}/pci_gvt-d.c          | 0
 4 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/bhyve/Makefile b/usr.sbin/bhyve/Makefile
index 7c14dbc4a524..d510c32fccd0 100644
--- a/usr.sbin/bhyve/Makefile
+++ b/usr.sbin/bhyve/Makefile
@@ -41,7 +41,6 @@ SRCS=	\
 	pci_e82545.c		\
 	pci_emul.c		\
 	pci_fbuf.c		\
-	pci_gvt-d.c		\
 	pci_hda.c		\
 	pci_hostbridge.c	\
 	pci_irq.c		\
diff --git a/usr.sbin/bhyve/amd64/Makefile.inc b/usr.sbin/bhyve/amd64/Makefile.inc
index a176b0e5471f..5caecb35a620 100644
--- a/usr.sbin/bhyve/amd64/Makefile.inc
+++ b/usr.sbin/bhyve/amd64/Makefile.inc
@@ -4,6 +4,7 @@ SRCS+=	\
 	fwctl.c		\
 	kernemu_dev.c	\
 	mptbl.c		\
+	pci_gvt-d.c	\
 	pm.c		\
 	post.c		\
 	ps2kbd.c	\
diff --git a/usr.sbin/bhyve/pci_gvt-d-opregion.h b/usr.sbin/bhyve/amd64/pci_gvt-d-opregion.h
similarity index 100%
rename from usr.sbin/bhyve/pci_gvt-d-opregion.h
rename to usr.sbin/bhyve/amd64/pci_gvt-d-opregion.h
diff --git a/usr.sbin/bhyve/pci_gvt-d.c b/usr.sbin/bhyve/amd64/pci_gvt-d.c
similarity index 100%
rename from usr.sbin/bhyve/pci_gvt-d.c
rename to usr.sbin/bhyve/amd64/pci_gvt-d.c