From: Jeremy Fitzhardinge <jeremy@goop.org>
To: weiming <zephyr.zhao@gmail.com>
Cc: Xen Developers <xen-devel@lists.xensource.com>,
Daniel Stodden <stodden@cs.tum.edu>
Subject: Re: how to callback from hypervisor to guest os?
Date: Mon, 07 Jul 2008 17:20:53 -0700 [thread overview]
Message-ID: <4872B2E5.2000008@goop.org> (raw)
In-Reply-To: <add59a3f0807071712lbe80094p78531c8d3619c64c@mail.gmail.com>
weiming wrote:
> Hi Jeremy,
>
> Thanks for your answering.
>
> If my understanding is correct, do you mean the hypervisor side should
> look like:
>
> Xen:
>
> _interrupt_handler()
> ...
> ...
> event_send(guest_dom)
> while(event_receive(&result))
> {
>
> }
> post: xxx()
>
> ...
> }
>
No, not at all. It would have to be something like:
interrupt_handler()
{
set_up_state(guest_dom);
send_event(guest_dom);
}
...
do_my_hypercall(...)
{
do_stuff(guest_dom);
}
J
prev parent reply other threads:[~2008-07-08 0:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-06 4:18 how to callback from hypervisor to guest os? weiming
2008-07-06 9:15 ` Daniel Stodden
2008-07-06 15:46 ` weiming
2008-07-06 21:26 ` Daniel Stodden
2008-07-07 21:46 ` weiming
2008-07-07 21:57 ` Jeremy Fitzhardinge
2008-07-07 22:14 ` weiming
2008-07-07 22:32 ` Jeremy Fitzhardinge
2008-07-08 0:12 ` weiming
2008-07-08 0:20 ` Jeremy Fitzhardinge [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4872B2E5.2000008@goop.org \
--to=jeremy@goop.org \
--cc=stodden@cs.tum.edu \
--cc=xen-devel@lists.xensource.com \
--cc=zephyr.zhao@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.