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] ioctl and Xen

To: Derek Riley <derek.riley@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] ioctl and Xen
From: Dulloor <dulloor@xxxxxxxxx>
Date: Fri, 7 Aug 2009 16:22:38 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Marco Tizzoni <marco.tizzoni@xxxxxxxxx>
Delivery-date: Fri, 07 Aug 2009 13:23:06 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=xU/CpNVRf1FjJPK3ncPGxjCxvPacGel5mSrjt55YD6s=; b=h1voWY3HLloMlwZq0mStV89xzs29SGXbuWOMAot/jLHyp23+6818cu4Hy5/Kyi33Ej IXJZxOW8XTK7JvBASqVl+PH1AqwQvDdwN47Qf5PbW92ZSjyBVRJq57+zoXG7W+uvQwui +hBCWGOIxH48CxuReeQRpNhQ1FRPSp/OCUdfA=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=xR/XdL6qa1y5YUMmIugN03TENa001/RZhA0/nUCLXdNAcMvF8ZU3EdQNOKLknN6gdC plXuFIcXDtGvPrR06HGlHPeXvQVSVqpPMQGSSGKFnCXXfuh/umS+yOCHBSw0qbN67Bhd /6kSa5KXbf9AiloDdSWAQrpeeiREUCjrakaos=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <e314beff0908071236p1a3118et7da15cbfaf83831f@xxxxxxxxxxxxxx>
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: <e314beff0908071054l5d71e50dtf005219442f9a337@xxxxxxxxxxxxxx> <f9611b0f0908071229r412309f2r113c05d68426683b@xxxxxxxxxxxxxx> <e314beff0908071236p1a3118et7da15cbfaf83831f@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
You can look at the way trace-bufs are implemented in xentrace. You will find xentrace in xen/tools.

-dulloor

On Fri, Aug 7, 2009 at 3:36 PM, Derek Riley <derek.riley@xxxxxxxxxxxxxxxxxxx> wrote:
Thanks for your reply.  I am familiar with the files you listed, but they do not do what I need, nor do I see how they could be modified to do what I want (although I may be missing something). 

I am trying to pass simple information in and out of the scheduler while it is running to a user process for monitoring and control.  I just need an IPC method that is fast so it won't bog down the scheduler or the user space process.  Any thoughts?  Thanks
--Derek

On Fri, Aug 7, 2009 at 2:29 PM, Marco Tizzoni <marco.tizzoni@xxxxxxxxx> wrote:
On Fri, Aug 7, 2009 at 7:54 PM, Derek
Riley<derek.riley@xxxxxxxxxxxxxxxxxxx> wrote:
> Hello developers-
> I am trying to modify the Xen Hypervisor kernel to pass information to and
> from a user space program to the domain scheduler (sched_credit),

I'm not experienced but I think you could have a look at:

xen/include/public/domctl.h
xen/include/public/sched.h
xen/include/public/sched-if.h
xen/common/sched_credit.c
tools/libxc/xc_csched.c

m-


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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>