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] Thread in hypervisor

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Thread in hypervisor
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Wed, 18 Apr 2007 16:17:10 +0100
Cc: Stephan Diestelhorst <Stephan.Diestelhorst@xxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxx>, Sangmin Lee <sal008@xxxxxxxxxxx>
Delivery-date: Wed, 18 Apr 2007 08:14:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <46255620.3010107@xxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <46255620.3010107@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.5
> I would like to run some tasks in context of hypervisor.
> I saw some suggested to use timer but timer function seems to run in
> context of a domain which is currently running.
> What I want is something like kernel thread in hypervisor,( hypervisor
> thread :-) ).

Xen's traditionally been event-driven, but I think there's a feeling that 
hypervisor threads may happen at some point.  I don't know what the details 
are though.  (side note: IIRC, there was a load balancer design that used the 
idle domain as a "hypervisor thread" - maybe you could hack something in 
there?)

The other possibility, I guess, is that depending on what you want to do you 
might be able to add a hypercall interface so that the "thread context" can 
be a kernel / user thread in dom0.

Cheers,
Mark

-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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

<Prev in Thread] Current Thread [Next in Thread>