From: Dulloor Subject: Re: ioctl and Xen Date: Fri, 7 Aug 2009 16:22:38 -0400 Message-ID: <940bcfd20908071322y3d5fe8ffv6f79cfb6d7ab5cb2@mail.gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0394269697==" 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: Derek Riley Cc: xen-devel@lists.xensource.com, Marco Tizzoni List-Id: xen-devel@lists.xenproject.org --===============0394269697== Content-Type: multipart/alternative; boundary=0016e6d99a7f5cb27a047092ffd9 --0016e6d99a7f5cb27a047092ffd9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 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 wrote: > >> On Fri, Aug 7, 2009 at 7:54 PM, Derek >> Riley 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@lists.xensource.com > http://lists.xensource.com/xen-devel > > --0016e6d99a7f5cb27a047092ffd9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You can look at the way trace-bufs are implemented in xentrace. You will fi= nd xentrace in xen/tools.

-dulloor

On Fri, Aug 7, 2009 at 3:36 PM, Derek Riley <derek.riley@isis.vanderbilt.edu= > wrote:
Thanks for your r= eply.=A0 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).=A0

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

On Fri, Aug 7, 2009 at 2:29 PM, M= arco Tizzoni <marco.tizzoni@gmail.com> wrote:
On Fri, Aug 7, 2009 at 7:54 PM, Derek
Riley<derek.riley@isis.vanderbilt.edu> 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@lists.xensource.= com
http://l= ists.xensource.com/xen-devel


--0016e6d99a7f5cb27a047092ffd9-- --===============0394269697== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0394269697==--