From 1cfe2a38f8099f34f2e649c41b201d5d28ad55ed Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 5 Oct 2016 16:44:14 +0100 Subject: [PATCH] librumpxen_xendev: Disable privcmd and evtchn drivers for now We have fixed the xenbus driver, but the privcmd and evtchn drivers are still broken. (Issue 73.) Disable these two (and add the note about the issue number). This will allow us to enable the libbrumpxen_xendev build to get the xenbus driver. Signed-off-by: Ian Jackson --- platform/xen/librumpxen_xendev/Makefile | 5 +++-- platform/xen/librumpxen_xendev/xendev_component.c | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/platform/xen/librumpxen_xendev/Makefile b/platform/xen/librumpxen_xendev/Makefile index 1aeadac..44321c4 100644 --- a/platform/xen/librumpxen_xendev/Makefile +++ b/platform/xen/librumpxen_xendev/Makefile @@ -4,8 +4,9 @@ LIB= rumpxen_xendev SRCS= xendev_component.c SRCS+= busdev.c -SRCS+= evtdev.c -SRCS+= privcmd.c +# XXX: issue #73 +#SRCS+= evtdev.c +#SRCS+= privcmd.c RUMPTOP= ${TOPRUMP} diff --git a/platform/xen/librumpxen_xendev/xendev_component.c b/platform/xen/librumpxen_xendev/xendev_component.c index 91e4c28..92471e8 100644 --- a/platform/xen/librumpxen_xendev/xendev_component.c +++ b/platform/xen/librumpxen_xendev/xendev_component.c @@ -59,7 +59,7 @@ static const struct xen_dev_info { [cmin] = { path, init_fn, component##_dev_open, \ &component##_dev_fileops } XDEV(0, DEV_XEN "/xenbus", NULL, xenbus), - XDEV(1, "/dev/xenevt", xenevt_dev_init, xenevt), +// XDEV(1, "/dev/xenevt", xenevt_dev_init, xenevt), #undef XDEV }; @@ -156,7 +156,7 @@ RUMP_COMPONENT(RUMP_COMPONENT_DEV) } xenkernfs_init(); - xenprivcmd_init(); +// xenprivcmd_init(); } /* -- 2.39.5