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

[Xen-devel] Deferrable jobs & hypercalls

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Deferrable jobs & hypercalls
From: Ying-Shiuan Pan <yingshiuan.pan@xxxxxxxxx>
Date: Mon, 3 Jan 2011 14:52:12 +0800
Delivery-date: Sun, 02 Jan 2011 22:53:34 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=q91eJQLTLJEwTaKW8bszQfB4RyuFMFAcorgpgN/p610=; b=Yu96+UrIDdvc98ai4nL3xQQAF6b+g4XCboylf5OUc7iLW6ks5c11HNw47WyACEb4Wj OBa0VCbGx/NdHz/aQU+a7kuM0DxrSQlVvVHs0VycLGmkgNVI4Mv1E3bVB/PlPVoHuz82 uJ7VqAw/kjQ4eQYZhP2OpVg9WyUp0K+1k3O0g=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=tN5M2+63V2cTh0IBDY91xOTBXLmOb2yHcHl2gLsJLhBt2Kq1uTK3ReXsKHrW1QLAo3 YGnYLMD75yrjrR6H2evlGfpqtJiWxCdlRCW3haPfZ8xTlpGgW9NcnNNfNpfuKYUlRvQ3 ia7t1+EvltixKUnqOKxETXDvXoXulgY0qMhyc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, All,

Can anyone suggest a way to perform a long-term/periodic task inside hypervisor?
We have implemented a hypercall which performs a long-term task (e.g. a few seconds).
However, we found that if this is being called, then other hypercalls in dom0 (xm dmesg) will
be blocked until our hypercall is done.

Is there any locking between each hypercall execution or any kind of restriction to
perform tasks inside hypercall routine?

In addition, instead of puting the long-term task inside hypercall, we also try to use the timer
inside xen (i.e. init_timer, set_timer) and the workqueue patch from:
http://lists.xensource.com/archives/html/xen-devel/2010-04/msg00882.html,
but the situation remains the same to block the dom0 hypercalls.

----
Best Regards,
Ying-Shiuan Pan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Deferrable jobs & hypercalls, Ying-Shiuan Pan <=