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: libxc handles (was Re: [Xen-devel] ring buffer overflow)

To: Tim Deegan <tim@xxxxxxx>
Subject: Re: libxc handles (was Re: [Xen-devel] ring buffer overflow)
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Fri, 7 Oct 2011 17:46:36 +0100
Cc: David Xu <davidxu06@xxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 07 Oct 2011 09:47:38 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20111007155615.GB53408@xxxxxxxxxxxxxxxxxxxxx>
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: <CAGjowiTc0NAJbWR-RxwLTrz+bhbAFfvcPKPAB_F8r1ef6__PbA@xxxxxxxxxxxxxx> <1317368064.26672.198.camel@xxxxxxxxxxxxxxxxxxxxxx> <CAGjowiQE_3gTJxK+Ja850QU9g1+97hZ8hAgdv_a4B18jxmCNGw@xxxxxxxxxxxxxx> <1317393663.26672.288.camel@xxxxxxxxxxxxxxxxxxxxxx> <CAGjowiSrPCY50-iBK67nGfOGdK7z1htc58ohtrqJtmutmRRQzQ@xxxxxxxxxxxxxx> <1317394559.26672.293.camel@xxxxxxxxxxxxxxxxxxxxxx> <CAGjowiSkwN9Oz-qevYk2G1NgwBmFOLWFLtT30aBu0SAe=jqtog@xxxxxxxxxxxxxx> <CAGjowiSQO_Hzdbz0FxQK_7ppr-yvBSWYVbzoSUd_RfiWytZKPw@xxxxxxxxxxxxxx> <1318002580.21903.361.camel@xxxxxxxxxxxxxxxxxxxxxx> <20111007155615.GB53408@xxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, 2011-10-07 at 16:56 +0100, Tim Deegan wrote:
> At 16:49 +0100 on 07 Oct (1318006180), Ian Campbell wrote:
> > Stop top posting, I've asked you this before.
> 
> Also, please start a new thread for a new question; the subject line of
> your email didn't match the contents.
> 
> > On Fri, 2011-10-07 at 16:23 +0100, David Xu wrote:
> > > Hi,
> > > 
> > > I want to use the libxc function xc_sched_credit_domain_set( int
> > > xc_handle, uint32_t domid, struct xen_domctl_sched_credit *sdom) in a
> > > user-level application. But I don't know how to set the value of
> > > xc_handle. Is there somebody familiar with it? Thanks.
> > 
> > You can't use xc_* functions in the kernel, they are userspace.
> 
> He's programming in userspace. :)

So he is, I was confused by the existing context...

Ian.



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