xen/disable_emulated_device.diff
Charles Arnold 6aae1b5cd9 - Update to c/s 23010 Xen 4.1 rc8
- use _smp_mflags instead of jobs, jobs is not expanded everywhere

OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=104
2011-03-22 21:15:11 +00:00

17 lines
573 B
Diff

Index: xen-4.1.0-testing/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
===================================================================
--- xen-4.1.0-testing.orig/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
+++ xen-4.1.0-testing/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
@@ -398,6 +398,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 = init_hypercall_stubs();
if (ret < 0)
goto out;