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-ia64-devel

Re: [Xen-ia64-devel] [PATCH] add support for hvm live migration

To: Kouya Shimura <kouya@xxxxxxxxxxxxxx>
Subject: Re: [Xen-ia64-devel] [PATCH] add support for hvm live migration
From: Tristan Gingold <tgingold@xxxxxxx>
Date: Wed, 13 Feb 2008 23:00:29 +0100
Cc: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 13 Feb 2008 13:53:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <7k1w7izh9s.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
References: <7k1w7izh9s.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Tue, Feb 12, 2008 at 05:54:39PM +0900, Kouya Shimura wrote:
Content-Description: message body text
> Hi,
> 
> This is a naive implementation of log dirty mode for HVM.
[...]
> diff -r 9203ee23e724 xen/arch/ia64/vmx/vmx_ivt.S
> --- a/xen/arch/ia64/vmx/vmx_ivt.S     Thu Feb 07 11:08:49 2008 -0700
> +++ b/xen/arch/ia64/vmx/vmx_ivt.S     Tue Feb 12 16:37:32 2008 +0900
> @@ -433,8 +433,27 @@ END(vmx_dkey_miss)
>  
> /////////////////////////////////////////////////////////////////////////////////////////
>  // 0x2000 Entry 8 (size 64 bundles) Dirty-bit (54)
>  ENTRY(vmx_dirty_bit)
> -    VMX_DBG_FAULT(8)
> -    VMX_REFLECT(8)
> +    mov r29=cr.ipsr
> +    mov r31=pr
> +    ;;
> +    tbit.z p6,p0=r29,IA64_PSR_VM_BIT
> +    mov r19=8
> +(p6)br.spnt.many dispatch_to_fault_handler
> +    mov r19=cr.ifa
> +    movl r22=THIS_CPU(cpu_kr)+IA64_KR_CURRENT_OFFSET
> +    ;;
> +    tpa r19=r19

Can't this tpa generate a nested tlb miss ?

Tristan.

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