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] exception handler caused by context switching and settin

To: lijiandm <lijiandm@xxxxxxx>
Subject: Re: [Xen-devel] exception handler caused by context switching and setting trap flag
From: "Paul Samon" <paul.samon@xxxxxxxxx>
Date: Wed, 29 Oct 2008 09:49:17 +0800
Cc: xen组 <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 28 Oct 2008 18:49:39 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=7aGkbGrJV/xbaGfUZDm1PATd/HRWV9eFPr9W9sIFnYA=; b=kPyeq6I3Nkjy9PJ8bjmpLUW8yCZ79egk7zk7rbhlZkWPByBjyPMMxurS4IAMZ/qv/T Ue1PiBWgkBmyZXEQGM0XxMGxXSeyXXQ7CaKzIbq44m/1Ms7fJfG04gHJy542CALdo7Dk 6Yx+puhsw8bjY2yaSLv4RSGSpE5VrYQayUtVQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=MjoNwLlTjQZbrf3SUywH80i4jI4iykpzVY9r+ZdE3i70cMVta5RkgUcKNxqjZaEHMt uGp3H3bl8qDhI9YMGjnXPMZBBM5SA/F2GI6czpWm5UdoTS4SYUrl/wACwyGDAJ+R75+0 32n7g7uZaU6GhdKNLnET626BpNBths0QJSrAA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <30835906.84501225243958907.JavaMail.coremail@xxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <30835906.84501225243958907.JavaMail.coremail@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
HVM guest's VMexit is handled by Xen itself (see xen/arch/x86/hvm/vmx/entry.S: vmx_asm_vmexit_handler if you're using an Intel VT-capable host) , not Dom0 (a PV guest) at all.
 
vcpu context switch itself doesn't cause VMexit.
 
 
-- Paul S.

On Wed, Oct 29, 2008 at 9:32 AM, lijiandm <lijiandm@xxxxxxx> wrote:
 
 hello:
      I have two trivial question.
      In dom0,which exception handler is used to handle VMexit caused by context switching in domU?
      If I want to replace the handler ,what should I do?
 Thanks.
 JianLi

 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>