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] Task Switching and Xen-SVM

To: Vivek Mohan <vivek.mt@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Task Switching and Xen-SVM
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 27 Oct 2006 08:46:13 +0100
Delivery-date: Fri, 27 Oct 2006 00:57:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <d871009d0610262328u22120ce4sdc534c0b94b1dfa0@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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acb5m/mhOFvk1mWPEduHzQANk04WTA==
Thread-topic: [Xen-devel] Task Switching and Xen-SVM
User-agent: Microsoft-Entourage/11.2.5.060620


On 27/10/06 7:28 am, "Vivek Mohan" <vivek.mt@xxxxxxxxx> wrote:

> 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?

Task switches aren't currently supported. The guest is marked as 'crashed'
if it attempts to do one.

 -- Keir



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