From: Mark Williamson Subject: Re: Accessing the hypervisor from VMs Date: Thu, 10 Mar 2005 02:40:58 +0000 Message-ID: <200503100240.58692.maw48@cl.cam.ac.uk> References: <1b0b45570503091131732d34a0@mail.gmail.com> <200503091930.20765.maw48@cl.cam.ac.uk> <1b0b4557050309131729ba2409@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit In-Reply-To: <1b0b4557050309131729ba2409@mail.gmail.com> Content-Disposition: inline Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Diwaker Gupta Cc: Mark Williamson , xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org 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