[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Task Switching and Xen-SVM


  • To: Vivek Mohan <vivek.mt@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • 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
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acb5m/mhOFvk1mWPEduHzQANk04WTA==
  • Thread-topic: [Xen-devel] Task Switching and Xen-SVM



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.