[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] ioctl and Xen


  • To: Dulloor <dulloor@xxxxxxxxx>
  • From: Derek Riley <derek.riley@xxxxxxxxxxxxxxxxxxx>
  • Date: Fri, 7 Aug 2009 15:59:36 -0500
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Marco Tizzoni <marco.tizzoni@xxxxxxxxx>
  • Delivery-date: Fri, 07 Aug 2009 14:00:10 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=q0b+1nryMsxw6JbjIwfzUh7bkztdlh2eT/stSi8zwFuQuE+cn15mL3zQeoM4yMG0Kb U9MIRv1R795GhzvmEKaJRuwt5FszK1J0NzVBSWLgxlOU8+IzHNp7ezlk3a0iJ6hc9xi7 sG+0NMUwr92xpCllkG8pPSsMDKgZdRjrj/G8E=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Thanks for the suggestion.  It appears to me that the xentrace only implements one-way communication between the kernel and user space, but I need 2 way communication. 

I know it is not the "right" way to do it, but is there a way to read/write a file within the scheduler?  I am working on a 1-off implementation for a specialized project that will never make it into the main kernel. 

Thanks
--Derek

On Fri, Aug 7, 2009 at 3:22 PM, Dulloor <dulloor@xxxxxxxxx> wrote:
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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.