WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: "Mark Williamson" <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Avoiding VmEntry/VmExit.
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=NBU298H8Xhv3phHnRhqqKCkou5RPKsLT7eCZKEVa4Ro=; b=d+c9BVaUZZi5a12sWlKNUdi8fEjgY0dzS3fy1tbAkUhLLCugEHoUKmDL5OR+6ETC/bvXtV/3OSGhIOKnpRrLTpfBtd5xQgTn+5Zb3ZcrOrd0oLZ7OAVoRocXWmXg7b1wQ3yQRI4g6/lBvdCcB2AvTjOCmPHDhdvclZHheyM+YtM=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200710292342.20122.mark.williamson@xxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <15184ca00710290449n70c060cfx41f58540bd9de34b@xxxxxxxxxxxxxx> <200710292342.20122.mark.williamson@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>