Page MenuHomeFreeBSD

bhyve: Compile some device models only on amd64
ClosedPublic

Authored by markj on Jun 23 2023, 10:03 PM.
Tags
None
Referenced Files
F103537261: D40738.diff
Tue, Nov 26, 5:57 AM
Unknown Object (File)
Tue, Nov 12, 1:58 PM
Unknown Object (File)
Oct 21 2024, 5:10 PM
Unknown Object (File)
Oct 18 2024, 5:09 AM
Unknown Object (File)
Oct 7 2024, 4:29 AM
Unknown Object (File)
Oct 6 2024, 2:54 PM
Unknown Object (File)
Oct 1 2024, 11:10 AM
Unknown Object (File)
Sep 30 2024, 8:26 AM

Details

Summary

These models register legacy PCI interrupts, which won't be supported in
the arm64 port. In principle it should be possible to make these models
work on arm64 with a bit of effort, so don't move the sources to the
amd64 subdirectory.

No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jun 26 2023, 6:05 AM
jhb added inline comments.
usr.sbin/bhyve/amd64/Makefile.inc
13

I kind of feel like this one might be x86 specific, though I think it's also QEMU specific?

markj added inline comments.
usr.sbin/bhyve/amd64/Makefile.inc
13

pctestdev? As I understand it's used to support KVM unit tests. Currently it's amd64-specific since it registers an I/O port space but I think it might be used for an arm64 port of the same tests? I think @andrew would know more.

usr.sbin/bhyve/amd64/Makefile.inc
13

Yeah, pctestdev. It's easy enough to move back later if we find QEMU supports it on arm64.

usr.sbin/bhyve/amd64/Makefile.inc
13

pc-testdev is x86/amd64 only. We have to implement another qemu testdev for arm64. See

https://www.linux-kvm.org/page/KVM-unit-tests#Testdevs