diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-05-25 10:17:43 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-05-25 10:17:43 +0100 |
commit | cc329786641d576af0f7675121588cdc0d66bc19 (patch) | |
tree | 52337cda0f4d83772af5c1c3ad82bd0e27c7c317 | |
parent | 55c81d635cce396ebfe4d052ac6ece0b23a720c4 (diff) | |
download | xen-cc329786641d576af0f7675121588cdc0d66bc19.tar.gz xen-cc329786641d576af0f7675121588cdc0d66bc19.tar.bz2 xen-cc329786641d576af0f7675121588cdc0d66bc19.zip |
linux: Fix PV-on-HVM crash when installing PV drivers on native system.
From: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
-rw-r--r-- | linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c | 1 | ||||
-rw-r--r-- | linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe_backend.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c index d16d67602a..c7f8c1d836 100644 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c @@ -172,6 +172,7 @@ static struct xen_bus_type xenbus_frontend = { .levels = 2, /* device/type/<id> */ .get_bus_id = frontend_bus_id, .probe = xenbus_probe_frontend, + .error = -ENODEV, .bus = { .name = "xen", .match = xenbus_match, diff --git a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe_backend.c b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe_backend.c index 0b92c42860..e8007bdef1 100644 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe_backend.c +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe_backend.c @@ -115,6 +115,7 @@ static struct xen_bus_type xenbus_backend = { .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, |