From: Mark Williamson Subject: Re: Avoiding VmEntry/VmExit. Date: Mon, 29 Oct 2007 23:42:19 +0000 Message-ID: <200710292342.20122.mark.williamson@cl.cam.ac.uk> References: <15184ca00710290449n70c060cfx41f58540bd9de34b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <15184ca00710290449n70c060cfx41f58540bd9de34b@mail.gmail.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Devdutt Patnaik List-Id: xen-devel@lists.xenproject.org Is this for HVM? AFAIK you can't really avoid doing a VMexit from HVM guest mode if you want to get back to Xen: Xen just doesn't exist in the address space of the guest. For PV guests, Xen is mapped into the address space so you basically just need to do a ring transition. Cheers, Mark > I am trying to provide services to guest VMs where I wish to run guest VMs > in a loop. > > I wish to use a core to schedule a guest VM, service it eg. execute an ISR > etc and then return to the context of Xen on that core, so that I can then > schedule the next VM on that core. > In doing all this, the goal is to avoid the calls to VMEntry and VMExit. Is > there a workaround for this to be done or will I always have to face a > VMExit to return to the Xen context on that core ? > > Looking forward to some pointers. > > Thanks, > Devdutt. -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!