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

[Xen-devel] Blocking upcall to dom0



xen-devel,

I'm working on a project in which I'd like to implement an upcall into
dom0 from certain points within Xen, where Xen is running in the context
of one of the unprivileged domains.  The upcall will pass a
variable-sized data structure (up to a few hundred bytes) to dom0, and
I need Xen to block on the completion of this upcall.  Also, it's
important that the source of the upcall start from within Xen itself,
rather than the domU guest.

For example, on each hypercall from a particular domU, I'd want to
collect a bunch of state from within Xen and pass that state to dom0,
then wait for a return value before continuing on with the hypercall.  

I'm looking for suggestions on the best way to go about this.  I've just
started looking at the event channel code and I'm wondering how I can
best use this.  My first thought is to create a virtual interrupt, but
I'm not sure whether this will synchronously deliver the VIRQ and wait
for dom0 to complete before proceeding.  Another issue is how best to
pass the data, though it appears a shared page between Xen and dom0 is
the preferred approach.

Any information or pointers to files/functions would be a great help.
   
Thanks,
Andrew


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel


 


Rackspace

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