Add pciback device to XEN3 dom0 kernels

This commit is contained in:
bouyer 2009-03-05 19:51:49 +00:00
parent 8178950407
commit 2c02d488fa
2 changed files with 18 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: XEN3_DOM0,v 1.36 2009/03/04 07:31:33 nisimura Exp $
# $NetBSD: XEN3_DOM0,v 1.37 2009/03/05 19:51:49 bouyer Exp $
include "arch/amd64/conf/std.xen"
@ -227,6 +227,14 @@ pci* at pchb? bus ?
ppb* at pci? dev ? function ? # PCI-PCI bridges
pci* at ppb? bus ?
# pci backend devices, used for PCI pass-through. To export a PCI device
# to a domU, the device has to be attached to the pciback driver in the dom0.
# you can force a device to attach to the pciback driver in dom0 passing
# pciback.hide=(bus:dev.fun)(bus:dev.func) to the dom0 kernel boot parameters.
# bus and dev are 2-digits hex number, func is a single-digit number:
# pciback.hide=(00:1a.0)(00:1a.1)(00:1a.7)
pciback* at pci? #pci backend device
# PCI bridges
ichlpcib* at pci? dev ? function ? # Intel ICH PCI-ISA w/ timecounter,
# watchdog and SpeedStep support

View File

@ -1,4 +1,4 @@
# $NetBSD: XEN3_DOM0,v 1.11 2008/11/13 01:45:48 cegger Exp $
# $NetBSD: XEN3_DOM0,v 1.12 2009/03/05 19:51:49 bouyer Exp $
#
# XEN3_0: Xen 3.0 domain0 kernel
@ -15,6 +15,14 @@ xenbus* at hypervisor? # Xen virtual bus
ppb* at pci? dev ? function ? # PCI-PCI bridges
pci* at ppb? bus ?
# pci backend devices, used for PCI pass-through. To export a PCI device
# to a domU, the device has to be attached to the pciback driver in the dom0.
# you can force a device to attach to the pciback driver in dom0 passing
# pciback.hide=(bus:dev.fun)(bus:dev.func) to the dom0 kernel boot parameters.
# bus and dev are 2-digits hex number, func is a single-digit number:
# pciback.hide=(00:1a.0)(00:1a.1)(00:1a.7)
pciback* at pci? #pci backend device
acpi0 at hypervisor?
options MPBIOS
options MPDEBUG