From: "Ky Srinivasan" Subject: [PATCH] PV driver compatibility Date: Wed, 20 Jan 2010 09:02:03 -0700 Message-ID: <4B56C68B020000300007DB60@sinclair.provo.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartB79DA6EB.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --=__PartB79DA6EB.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline The attached patch fixes what I believe is a typo and permits guests = running the latest PV drivers to correctly interact with older back-ends. Signed-off-by: K. Y. Srinivasan --=__PartB79DA6EB.0__= Content-Type: text/plain; name="magic_ioport_compat.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="magic_ioport_compat.patch" Make our PV drivers work with older hosts that do not recognize the new = PV driver protocol. =0A=0ASigned-off-by: K. Y. Srinivasan =0A=0AIndex: xen-4.0.0-testing/unmodified_drivers/linux-2.6/platform= -pci/platform-pci.c=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =0A--- xen-4.0.0-testing.orig/unmodified_drivers/linux-2.6/platform-pci/pla= tform-pci.c 2009-12-22 06:23:01.000000000 -0700=0A+++ xen-4.0.0-testing= /unmodified_drivers/linux-2.6/platform-pci/platform-pci.c 2010-01-06 = 12:50:53.000000000 -0700=0A@@ -284,7 +284,10 @@=0A =0A if (magic !=3D = XEN_IOPORT_MAGIC_VAL) {=0A dev_err(dev, "invalid magic %#x", = magic);=0A- return -ENODEV;=0A+ /* =0A+ * = Older backend; just return 0 to be compatible.=0A+ */=0A+ = return 0;=0A }=0A =0A protocol =3D inb(XEN_IOPORT_PROTOVER);=0A --=__PartB79DA6EB.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=__PartB79DA6EB.0__=--