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] how to callback from hypervisor to guest os?

To: "Jeremy Fitzhardinge" <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] how to callback from hypervisor to guest os?
From: weiming <zephyr.zhao@xxxxxxxxx>
Date: Mon, 7 Jul 2008 18:14:47 -0400
Cc: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>, Daniel Stodden <stodden@xxxxxxxxxx>
Delivery-date: Mon, 07 Jul 2008 15:15:09 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=q16J5J2k81OLnN3SSbnWW3Nvh8L52gxNWwnuc/dxPl4=; b=DFJozStUBzz2ASp7IwAhgKvDFx31DFOX1v+9tyM1D2oE34hIxf5PsjBGAudroGOSX4 NNbVcsMmK6sCjYMCO1ZokT/9Zt0FHlWp6cAK7UQVMBFwZ7sBo7Zy2JcQhDmQ9juFgPTT Wz256YPhWSjTEd6hpx4B4sdiyTB/OSPtUXhss=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=PYCU1QkjXpvzGN31ui4UM9mvvKUTq8RJh/3aovC3LYOjweIRddC3KtvNbTkUFdfIHy hF1dtinVs0ZGLm4eb0nSKMaKQJ+QE31LEqw3GrUwEMeiw6mIke0aPNJv+jmLDL0WTrIv 2GG3ZQb+S2p1hHoQKbEmm6Qc3eh57K+c0J23M=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4872915A.1080705@xxxxxxxx>
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>
References: <add59a3f0807052118o184a1d20q3f750b57ac96c8f7@xxxxxxxxxxxxxx> <1215335738.9407.39.camel@xxxxxxxxxxxxxxxxxxxx> <add59a3f0807060846w2cf4531v9fe036bb805818e1@xxxxxxxxxxxxxx> <1215379562.22922.21.camel@xxxxxxxxxxxxxxxxxxxx> <add59a3f0807071446h1de8fe70ic228774939c03667@xxxxxxxxxxxxxx> <4872915A.1080705@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Do you mean making a hypercall after guest domain finishes processing?  If so, in xen, after event_send(), will xxx() be executed immediately (non-blocking)?

Xen:                                              Guest:

_interrupt_handler()                                     
{
   ...
   ...
   event_send(guest_dom)                event_virq_handler()
post: xxx()                                  {
                                                              do_process()
                                                              hypercall_xxx()?

                                                     }
   ...
}

On Mon, Jul 7, 2008 at 5:57 PM, Jeremy Fitzhardinge <jeremy@xxxxxxxx> wrote:
weiming wrote:
Hi Daniel,

Event channel is one-way and async, right?
When hypervisor send a notification to guest within a interrupt handler, can the guest receive and response to the notification? If yes, after guest finished processing, can the control be back to xen?

It can do a hypercall.

  J

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