PCI passthrough support for VGA devices in VirtualBox on FreeBSD

Sam Fourman Jr. sfourman at gmail.com
Sun Aug 4 16:20:52 UTC 2013


Hello List,

would anyone be able to tell me if PCI passthrough is available in
Virtualbox if FreeBSD is the host?
it has been available since version 4.1
http://www.virtualbox.org/manual/ch09.html#idp14053504

I know that this requires a VirtualBox extension pack, and i am not certian
if FreeBSD needs one?
My use case is, I want to pass through a AMD raedon PCI-E graphics card to
a Linux guest.

I built a FreeBSD kernel based on experimental work being done here:
https://wiki.freebsd.org/AMD_GPU

here are excerpts from a dmesg:

info: [drm] Initialized drm 1.1.0 20060810
drmn0: <Tahiti PRO [Radeon HD 7950]> on vgapci0
info: [drm] MSI enabled 1 message(s)
info: [drm] RADEON_IS_PCIE
info: [drm] initializing kernel modesetting (TAHITI 0x1002:0x679A
0x1462:0x2773).
info: [drm] register mmio base: 0xFE700000
info: [drm] register mmio size: 262144
info: [drm] radeon_atrm_get_bios: ===> Try ATRM...
info: [drm] radeon_atrm_get_bios: pci_find_class() found: 0:7:0:0,
vendor=1002, device=679a
info: [drm] radeon_atrm_get_bios: Get ACPI device handle
info: [drm] radeon_acpi_vfct_bios: ===> Try VFCT...
info: [drm] radeon_acpi_vfct_bios: Get "VFCT" ACPI table
info: [drm] radeon_acpi_vfct_bios: Failed to get "VFCT" table: AE_NOT_FOUND
info: [drm] igp_read_bios_from_vram: ===> Try IGP's VRAM...
info: [drm] igp_read_bios_from_vram: VRAM base address: 0xc0000000
info: [drm] igp_read_bios_from_vram: Map address: 0xfffffe00c0000000
(262144 bytes)
info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x6207
info: [drm] radeon_read_bios: ===> Try PCI Expansion ROM...
vga_pci_map_bios: Mapping BIOS shadow
info: [drm] radeon_read_bios: Map address: 0xfffffe00000c0000 (131072 bytes)
vga_pci_unmap_bios: Unmapping BIOS shadow
info: [drm] ATOM BIOS: 113
drmn0: info: VRAM: 3072M 0x0000000000000000 - 0x00000000BFFFFFFF (3072M
used)
drmn0: info: GTT: 512M 0x00000000C0000000 - 0x00000000DFFFFFFF
info: [drm] Detected VRAM RAM=3072M, BAR=256M
info: [drm] RAM width 384bits DDR
[TTM] Zone  kernel: Available graphics memory: 16714132 kiB
[TTM] Zone   dma32: Available graphics memory: 2097152 kiB



my hope is to use VirtualBox until Behyve supports booting linux guests

Thank you for your help

-- 

Sam Fourman Jr.


More information about the freebsd-virtualization mailing list