|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Hypercalls from user-space
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
|
|
|
|
|