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: "Sangmin Lee" <sal008@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Thread in hypervisor
From: "George Dunlap" <gdunlap@xxxxxxxxxxxxx>
Date: Wed, 18 Apr 2007 10:27:35 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 Apr 2007 02:26:51 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=VlSWI7fwTmD+o2TH0xUSU7J1PIxvTAxV6II2iv37WNRJ9AdHg+6sbqYXGki45/wGK52tKuVsASj7MVoD8dvPASxQFtY1CFVJT/koxjQulUQ/F3Jm8F5+AZjkBBrSjcSsAV6Pu8yh/vpyXh/sduXtA45+6s4kKUzCIwPA96dl6Dk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=XxlKLjHjpS0MdD8QW/VfwGDMh46IkGPLqYCR7P9RqFY1JdJC/teQLw37EeAWPsbcwqtF1lfheI8bzy1RH7+eVXfOAekDXpQyih5xD62SIBYBSBC+OUNAAvaHuTeJYllT0BTPlVY/HcmzqHPWzHBlCHPngbpQ9mmQC+tY0ZEJFxk=
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
The Linux kernel is that the Linux kernel keeps kernel process stacks,
so you can have a "kernel thread".  Xen does not keep in-hypervisor
stacks around -- once Xen returns to domain-space, all context is
completely gone.  So there can be no 'hypervisor threads'.  (It's a
weird concept to get used to at first.)

So your options are basically, to create a specialized domain to do
whatever "thread" activity you want done, or to use a timer function
to do the same thing.

What kind of a task are you talking about?

-George

On 4/17/07, Sangmin Lee <sal008@xxxxxxxxxxx> wrote:
Hi all,
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 :-) ).
Does anyone have any idea on this?
Thanks,
Sangmin

_______________________________________________
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>