From: Keir Fraser Subject: Re: First release candidate for 3.2.0 Date: Wed, 12 Dec 2007 14:28:13 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: John Levon Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On 12/12/07 14:25, "Keir Fraser" wrote: >> The first big one, as you say, is our privcmd driver. We have to decode the >> hypercall and essentially do a copy_from/to_user() on all the buffers passed >> in. The best way to fix this is to do it in userspace: make xc_solaris.c use >> a >> new ioctl() that passes in buffer address+size information as well as the >> structs themselves. To do this cleanly means pushing a lot of do_domctl() >> etc. >> into xc_$OS.c, and we just haven't had time - though I'd certainly be >> interested to know how you felt about a change like that. > > I'm happy to see OS-specific changes in libxc, and even some restructuring > if absolutely necessary. I'd much rather that than have kernel dependencies > on domctl and sysctl. libxc is not in its current form due to some grand > plan. ;-) I'd like to see a brief proposal before you really go to town though... -- Keir