WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Hypercalls from user-space

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] Hypercalls from user-space
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Wed, 13 Oct 2010 17:20:09 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxx>, "Srujan D. Kotikela" <ksrujandas@xxxxxxxxx>
Delivery-date: Wed, 13 Oct 2010 09:21:54 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CABA8C1.2060107@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <C8D160B6.25395%keir@xxxxxxx> <4CABA8C1.2060107@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 2010-10-05 at 23:37 +0100, Jeremy Fitzhardinge wrote:
> On 10/05/2010 03:09 PM, Keir Fraser wrote:
> > /proc/xen/privcmd should be available in domU as well. You might need to
> > enable some dom0 build config options to get it though.
> 
> xenfs doesn't init privcmd on non-privileged kernels.
> 
> Srujan, this should be enough to enable it in domU:

I see you fixed this properly in 66d850da but I think you also need the
following:


Subject: build privcmd for domU now that it is exposed

Fixes build error introduced in 66d850da "xen/privcmd: make privcmd
visible in domU"

drivers/built-in.o:(.data+0xd44): undefined reference to `privcmd_file_ops'
make[1]: *** [.tmp_vmlinux1] Error 1
make: *** [sub-make] Error 2

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

diff --git a/drivers/xen/xenfs/Makefile b/drivers/xen/xenfs/Makefile
index 4a0be9a..4fde944 100644
--- a/drivers/xen/xenfs/Makefile
+++ b/drivers/xen/xenfs/Makefile
@@ -1,4 +1,4 @@
 obj-$(CONFIG_XENFS) += xenfs.o
 
-xenfs-y                          = super.o xenbus.o
-xenfs-$(CONFIG_XEN_DOM0) += xenstored.o privcmd.o
+xenfs-y                          = super.o xenbus.o privcmd.o
+xenfs-$(CONFIG_XEN_DOM0) += xenstored.o



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

<Prev in Thread] Current Thread [Next in Thread>