[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] linux: Fix PV-on-HVM crash when installing PV drivers on native system.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1180084663 -3600
# Node ID 546044bfd49fea0a9cb5e8aa896ffcc379ebfd4d
# Parent  4730ec3d5ab36eaac488cfe3b82d23e638090194
linux: Fix PV-on-HVM crash when installing PV drivers on native system.
From: Gerd Hoffmann <kraxel@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c         |    1 +
 linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe_backend.c |    1 +
 2 files changed, 2 insertions(+)

diff -r 4730ec3d5ab3 -r 546044bfd49f 
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c    Fri May 25 
10:16:00 2007 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c    Fri May 25 
10:17:43 2007 +0100
@@ -172,6 +172,7 @@ static struct xen_bus_type xenbus_fronte
        .levels = 2,            /* device/type/<id> */
        .get_bus_id = frontend_bus_id,
        .probe = xenbus_probe_frontend,
+       .error = -ENODEV,
        .bus = {
                .name     = "xen",
                .match    = xenbus_match,
diff -r 4730ec3d5ab3 -r 546044bfd49f 
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe_backend.c
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe_backend.c    Fri May 
25 10:16:00 2007 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe_backend.c    Fri May 
25 10:17:43 2007 +0100
@@ -115,6 +115,7 @@ static struct xen_bus_type xenbus_backen
        .levels = 3,            /* backend/type/<frontend>/<id> */
        .get_bus_id = backend_bus_id,
        .probe = xenbus_probe_backend,
+       .error = -ENODEV,
        .bus = {
                .name     = "xen-backend",
                .match    = xenbus_match,

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.