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: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] Hypercalls from user-space
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Wed, 13 Oct 2010 09:45:38 -0700
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxx>, "Srujan D. Kotikela" <ksrujandas@xxxxxxxxx>
Delivery-date: Wed, 13 Oct 2010 09:46:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1286986809.2003.3551.camel@xxxxxxxxxxxxxxxxxxxxxx>
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>
References: <C8D160B6.25395%keir@xxxxxxx> <4CABA8C1.2060107@xxxxxxxx> <1286986809.2003.3551.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100921 Fedora/3.1.4-1.fc13 Lightning/1.0b3pre Thunderbird/3.1.4
 On 10/13/2010 09:20 AM, Ian Campbell wrote:
> 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:

Oops, thanks.

    J

>
> 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>