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. Cheers, Mark On Wednesday 09 March 2005 19:31, Diwaker Gupta wrote:> Hi everyone, > > Is it possible to access the hypervisor through a VM other than dom0? > I''m not interested in all the control functions -- lets just say I > want to access the value of some hypervisor variable (stime_irq, for > instance) from a guest. > > TIA------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Hi everyone, Is it possible to access the hypervisor through a VM other than dom0? I''m not interested in all the control functions -- lets just say I want to access the value of some hypervisor variable (stime_irq, for instance) from a guest. TIA -- Diwaker Gupta http://resolute.ucsd.edu/diwaker ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> 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? -- Diwaker Gupta http://resolute.ucsd.edu/diwaker ------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel