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

[Xen-devel] Hypercall continuation and wait_event


  • To: "xen-devel@xxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxx>
  • From: Ruslan Nikolaev <nruslan_devel@xxxxxxxxx>
  • Date: Mon, 9 Apr 2012 10:51:05 -0700 (PDT)
  • Delivery-date: Mon, 09 Apr 2012 17:51:42 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=QpBG+l8dty5dVU22yO/HV0CJMICsA2fj0C5aoBpy0oLKDU2bMfXWy4M5M4Z3mxB5GkLBnCK05HJGbbCoVIzw+aLvUWHPTY/VDfOrkORwXmf5gHjcBm/LiYC3kHk/w8NlIo0MYnKaG/Xf1Bm8masBpUOvv1vTtIH52ciyRWaKFuE=;
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Hi

I am curious how I can properly support hypercall continuation and wait_event. 
I have a dedicated VCPU in a domain which makes a special hypercall, and the 
hypercall waits for certain event to arrive. I am using queues available in 
Xen, so wait_event will be invoked in the hypercall once its ready to accept 
events. However, my understanding that even though I have a dedicated VCPU for 
this hypercall, I still may need to support hypercall continuation properly. 
(Is this the case?) So, my question is how exactly the need for hypercall 
preemption may affect wait_event() and wait() operations, and where would I 
need to do hypercall_preempt_check()?

Thank you!
Ruslan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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