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

[Xen-devel] Task Switching and Xen-SVM

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Task Switching and Xen-SVM
From: "Vivek Mohan" <vivek.mt@xxxxxxxxx>
Date: Fri, 27 Oct 2006 11:58:43 +0530
Delivery-date: Thu, 26 Oct 2006 23:29:01 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=KF9zTAZFinjbWVJCi+L2AhNkuQWBIAg4XNMroDJZmDlcpNaWvwjdF/mg27lcPvhoimlF5RVSnlx0AaCrvxP0nJS1B3u+LqEiTIUJkigAQlSZGaySTVE5/SlsF/t/43qmfCHdZzyE2kPVzAw11N0SMyjZY8wv6cquWqgyGY9TKz0=
Envelope-to: www-data@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/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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,

I was just going through the (svm.c) svm_vmexit_handler() in the SVM
part of Xen, and saw that:

case VMEXIT_TASK_SWITCH:
        __hvm_bug(regs);
        break;

task switches are not intercepted and handled. I was wondering if it
is not so, then how do you manage consistency of the VM if the Guest
does a task switch (which could alter the value of CR3)? Am I missing
something here?

Thanks,
Vivek

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