21 lines
677 B
Diff
21 lines
677 B
Diff
|
Disable the emulated devices when we are loading PV drivers.
|
||
|
|
||
|
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
|
||
|
|
||
|
Index: xen-unstable/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
|
||
|
===================================================================
|
||
|
--- xen-unstable.orig/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
|
||
|
+++ xen-unstable/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
|
||
|
@@ -247,6 +247,11 @@ static int __devinit platform_pci_init(s
|
||
|
platform_mmio = mmio_addr;
|
||
|
platform_mmiolen = mmio_len;
|
||
|
|
||
|
+ /*
|
||
|
+ * Disconnect the emulated devices.
|
||
|
+ */
|
||
|
+ outl(1, (ioaddr + 4));
|
||
|
+
|
||
|
ret = get_hypercall_stubs();
|
||
|
if (ret < 0)
|
||
|
goto out;
|