af6dcd473d
build dependencies. Remove binaries after build if xend is disabled - update ifarch usage in xen.spec to cover also arm - blktapctrl is used only by xend - fix xend-tools-xend sub pkg handling - default to gcc47 for sles11sp3 builds - remove all latex packages from BuildRequires - aarch64-rename-PSR_MODE_ELxx-to-match-linux-headers.patch - add arch dependent install suffix for /boot/xen files - Set max_cpus==4 for non-x86_64 builds - Update to Xen 4.4.0 RC3 c/s 28321 - Add flex and bison to BuildRequires, needed by previous patch - fate#316071: add discard support for file backed storage (qdisk) libxl.add-option-for-discard-support-to-xl-disk-conf.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=296
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.4.0-testing/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
|
|
===================================================================
|
|
--- xen-4.4.0-testing.orig/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
|
|
+++ xen-4.4.0-testing/unmodified_drivers/linux-2.6/platform-pci/platform-pci.c
|
|
@@ -337,7 +337,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);
|