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: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Avoiding VmEntry/VmExit.
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Mon, 29 Oct 2007 23:42:19 +0000
Cc: Devdutt Patnaik <xendevid@xxxxxxxxx>
Delivery-date: Mon, 29 Oct 2007 16:43:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <15184ca00710290449n70c060cfx41f58540bd9de34b@xxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)
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>