0c76f22ef1
- bnc#633573 - System fail to boot after running several warm reboot tests 22749-vtd-workarounds.patch - Upstream patches from Jan 22744-ept-pod-locking.patch 22777-vtd-ats-fixes.patch 22781-pod-hap-logdirty.patch 22782-x86-emul-smsw.patch 22789-i386-no-x2apic.patch 22790-svm-resume-migrate-pirqs.patch 22816-x86-pirq-drop-priv-check.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=94
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.2-testing/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
|
|
===================================================================
|
|
--- xen-4.0.2-testing.orig/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
|
|
+++ xen-4.0.2-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);
|