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] Hypercalls in Intel-VT

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Hypercalls in Intel-VT
From: "Ashish Bijlani" <ashish.bijlani@xxxxxxxxx>
Date: Thu, 25 Oct 2007 19:44:03 -0400
Delivery-date: Thu, 25 Oct 2007 16:44:44 -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:in-reply-to:mime-version:content-type:references; bh=tZgJ/CUDf/uh8dajEdWnr95Wpq55AwzdPps3fVIbcjY=; b=YHldiO2Uqz/Vsnk89LWM0082ES5u0YF+d41laMl8SZYPg3gDDpRzIxtX20Gj+aQZ+BhG4iiCa8h5JW5L5mzGOorIyoY3TTcFFkWCgp6swGLvef0FVb4mkmjt9WoTJOcOmroJfTM5Hv1aAZtRscLOfyreAIxEWKuceY2s9yeGxbg=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Rie6X5GdQMUA/l9BeTLKwMKRxS/+HFpzUX7FL1pU0hT+vIr1JJ7hKh7peNYLJT8d77+0SOCWDYI6dZ+cY5xdptzx1WzvyYl+8xx82kGmoP9tNew6Yhn/ZhPob9LAcbxVsm7E+P5GVyXSt7Vvc6b1osswaFDFbMCp2NaNjvlAIkY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <FE7BBCFBB500984A9A7922EBC95F516E70F4DA@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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: <ec55b17e0710251603w41333364oa499101cdb64af5b@xxxxxxxxxxxxxx> <FE7BBCFBB500984A9A7922EBC95F516E70F4DA@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
if I push xen's some addr (cs & eip) on the target guest os krnl stack when an interrupt occurs, would the guest os krnl return to xen immediately upon executing iret (as iret pops cs, eip from the krnl stack)? or would it make a vmexit coz of some illegal addr access
 
On 10/25/07, Cui, Dexuan <dexuan.cui@xxxxxxxxx > wrote:
HVM's hypercalls are implemented by VMCALL(a VMX instruction).
 
When HVM guest executes VMCALL, a EXIT_REASON_VMCALL VMexit occurs -- see xen/arch/x86/hvm/vmx/vmx.c: vmx_vmexit_handler() -> hvm_do_hypercall().
 
-- Dexuan


From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ashish Bijlani
Sent: 2007年10月26日 7:04
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Hypercalls in Intel-VT

folks,

how are hypercalls made in intel-vt? do they cause any vmenter/vmexit? thanks.

-a

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