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] Accessing the hypervisor from VMs

On Wednesday 09 March 2005 21:17, Diwaker Gupta wrote:
> > You could add one or more hypercalls to do this.  Alternatively, you can
> > put the information you want to pass up into a shared memory page so that
> > dom0 can read it directly.
> >
> > > Is it possible to access the hypervisor through a VM other than dom0?
>
> Sure, I can do all this from dom0, but I want to be able to do it from
> guests other than dom0 -- how does that work?

You could add a new type of hypercall that is available to any dom and returns 
the data you require.  For starters, take a look at the hypercall table in 
xen/arch/x86/x86_32/entry.S

All you need to do to make it work with unpriv domains is to not check the 
domains privileges ;-)

Setting up Xen <-> domU shared memory would be a bit more involved.

Cheers,
Mark


-------------------------------------------------------
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

<Prev in Thread] Current Thread [Next in Thread>