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
Unknown Object (File)
Tue, Dec 3, 7:32 PM
Unknown Object (File)
Fri, Nov 29, 7:17 PM
Unknown Object (File)
Fri, Nov 29, 6:25 PM
Unknown Object (File)
Tue, Nov 26, 5:57 AM
Unknown Object (File)
Nov 12 2024, 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

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 Skipped
Unit
Tests Skipped
Build Status
Buildable 52272
Build 49163: arc lint + arc unit

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
15

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
15

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
15

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

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

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