[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Avoiding VmEntry/VmExit.


  • To: "Mark Williamson" <mark.williamson@xxxxxxxxxxxx>
  • From: "Devdutt Patnaik" <xendevid@xxxxxxxxx>
  • Date: Mon, 29 Oct 2007 20:26:03 -0400
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 29 Oct 2007 17:26:43 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uACQFuaWzAdxj03RXicgDkvtteupqiWFeFUhK+OEd+weUftrFVqIxgot+Q0eXhQzyxjAVaUItcnOlNlRi6QFY7VEJ0cbLLzgaNStLy87Ux1p1F8JOCyJvLiFTtsY11Yco83nZOt7MdbUYJRk13zjTpM+0WB3PO5Be09rbuLP9/M=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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 <mark.williamson@xxxxxxxxxxxx> 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!
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.