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] [PATCH 6 of 6] [XEN][LINUX] Add 32-bit privcmd ioctlconv

To: "Hollis Blanchard" <hollisb@xxxxxxxxxx>, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 6 of 6] [XEN][LINUX] Add 32-bit privcmd ioctlconversion for 64-bit kernels
From: "Jan Beulich" <jbeulich@xxxxxxxxxx>
Date: Fri, 06 Jul 2007 09:09:44 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 06 Jul 2007 01:06:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <3833674b6d561e690b49.1183674475@localhost>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1183674469@localhost> <3833674b6d561e690b49.1183674475@localhost>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>--- a/fs/compat_ioctl.c        Thu Jul 05 17:25:47 2007 -0500
>+++ b/fs/compat_ioctl.c        Thu Jul 05 17:26:48 2007 -0500
>@@ -2948,6 +2953,18 @@ COMPATIBLE_IOCTL(LPRESET)
> /*LPGETSTATS not implemented, but no kernels seem to compile it in anyways*/
> COMPATIBLE_IOCTL(LPGETFLAGS)
> HANDLE_IOCTL(LPSETTIMEOUT, lp_timeout_trans)
>+
>+#ifdef CONFIG_XEN
>+HANDLE_IOCTL(IOCTL_PRIVCMD_MMAP_32, privcmd_ioctl_32)
>+HANDLE_IOCTL(IOCTL_PRIVCMD_MMAPBATCH_32, privcmd_ioctl_32)
>+COMPATIBLE_IOCTL(IOCTL_PRIVCMD_HYPERCALL)

Where does the hypercall argument translation happen?

>+COMPATIBLE_IOCTL(IOCTL_EVTCHN_BIND_VIRQ)
>+COMPATIBLE_IOCTL(IOCTL_EVTCHN_BIND_INTERDOMAIN)
>+COMPATIBLE_IOCTL(IOCTL_EVTCHN_BIND_UNBOUND_PORT)
>+COMPATIBLE_IOCTL(IOCTL_EVTCHN_UNBIND)
>+COMPATIBLE_IOCTL(IOCTL_EVTCHN_NOTIFY)
>+COMPATIBLE_IOCTL(IOCTL_EVTCHN_RESET)
>+#endif
> };
> 
> int ioctl_table_size = ARRAY_SIZE(ioctl_start);

Jan


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

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