|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] how to callback from hypervisor to guest os?
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
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|