From: "Devdutt Patnaik" Subject: Re: Avoiding VmEntry/VmExit. Date: Mon, 29 Oct 2007 20:26:03 -0400 Message-ID: <15184ca00710291726g170f7780p79f3610d60ef2071@mail.gmail.com> References: <15184ca00710290449n70c060cfx41f58540bd9de34b@mail.gmail.com> <200710292342.20122.mark.williamson@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200710292342.20122.mark.williamson@cl.cam.ac.uk> 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: Mark Williamson Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Yes, this is for HVM. On a related note, is there any bit in the VMCS region that will cause an IRET in the guest VM to trap into Xen so that I can then service another VM ? On Oct 29, 2007 7:42 PM, Mark Williamson wrote: > 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! >