eeeeaf88a6
xend-devid-or-name.patch - Upstream patches from Jan 22019-x86-cpuidle-online-check.patch 22051-x86-forced-EOI.patch 22067-x86-irq-domain.patch 22068-vtd-irte-RH-bit.patch 22071-ept-get-entry-lock.patch 22084-x86-xsave-off.patch - bnc#638465 - hypervisor panic in memory handling heaplock.patch - Update to Xen 4.0.1. This is a bug fix release. OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=73
21 lines
746 B
Diff
21 lines
746 B
Diff
Make our PV drivers work with older hosts that do not recognize the new PV driver protocol.
|
|
|
|
Signed-off-by: K. Y. Srinivasan <ksrinivasan@novell.com>
|
|
|
|
Index: xen-4.0.1-testing/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
|
|
===================================================================
|
|
--- xen-4.0.1-testing.orig/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
|
|
+++ xen-4.0.1-testing/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
|
|
@@ -320,7 +320,10 @@ static int check_platform_magic(struct d
|
|
|
|
if (magic != XEN_IOPORT_MAGIC_VAL) {
|
|
err = "unrecognised magic value";
|
|
- goto no_dev;
|
|
+ /*
|
|
+ * Older backend; just return 0 to be compatible.
|
|
+ */
|
|
+ return 0;
|
|
}
|
|
|
|
protocol = inb(XEN_IOPORT_PROTOVER);
|