From: "Jan Beulich" Subject: [PATCH, updated] linux: allow pciback to be built as a module Date: Thu, 09 Mar 2006 15:41:52 +0100 Message-ID: <44104CC0.76F0.0078.0@novell.com> References: <440EC8DD.76F0.0078.0@novell.com> <1141833942.22889.56.camel@moss-tarheels.epoch.ncsc.mil> <440F15A5.76F0.0078.0@novell.com> <1141844517.22889.108.camel@moss-tarheels.epoch.ncsc.mil> <441002F0.76F0.0078.0@novell.com> <1141912713.2503.10.camel@moss-tarheels.epoch.ncsc.mil> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartA287FBA0.0__=" Return-path: In-Reply-To: <1141912713.2503.10.camel@moss-tarheels.epoch.ncsc.mil> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartA287FBA0.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Attached an update patch; most of the changes requested by Ryan have already been carried out, presumably by Keir. Jan --=__PartA287FBA0.0__= Content-Type: text/plain; name="xenlinux-modular-pciback-2.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="xenlinux-modular-pciback-2.patch" Index: head-2006-03-06/drivers/xen/Kconfig =================================================================== --- head-2006-03-06.orig/drivers/xen/Kconfig +++ head-2006-03-06/drivers/xen/Kconfig @@ -35,7 +35,9 @@ config XEN_UNPRIVILEGED_GUEST default XEN_PRIVILEGED_GUEST help The PCI device backend driver allows the kernel to export arbitrary - PCI devices to other guests. + PCI devices to other guests. If you select this to be a module, you + will need to make sure no other driver has bound to the device(s) + you want to make visible to other guests. choice prompt "PCI Backend Mode" Index: head-2006-03-06/drivers/xen/pciback/pci_stub.c =================================================================== --- head-2006-03-06.orig/drivers/xen/pciback/pci_stub.c 2006-03-07 11:34:12.000000000 +0100 +++ head-2006-03-06/drivers/xen/pciback/pci_stub.c 2006-03-09 11:01:27.913227992 +0100 @@ -378,7 +378,7 @@ static int __init pcistub_init(void) static int __init pciback_init(void) { -#ifndef MODULE +#ifdef MODULE int err; err = pcistub_init(); --=__PartA287FBA0.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__PartA287FBA0.0__=--