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] [PATCH] [IOEMU]: fix the crash of HVM live migration wit

To: "Zhai, Edwin" <edwin.zhai@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] [IOEMU]: fix the crash of HVM live migration with intensive disk access
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Wed, 12 Aug 2009 12:28:09 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Wed, 12 Aug 2009 04:28:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A823278.6050207@xxxxxxxxx>
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: <20090811121251.GA16082@xxxxxxxxxxxxxxxxxxxxxx> <alpine.DEB.2.00.0908111347410.28872@kaball-desktop> <4A823278.6050207@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Wed, 12 Aug 2009, Zhai, Edwin wrote:
> One interface should be better. But I'm not sure about the perf 
> implications. You know, qemu use logdirty for its device emulation even 
> without live migration, e.g. vga screen refresh. Changing to 
> xc_hvm_modified_memory would cause many hypercall to set/get the bitmap 
> in xen...
> 

For vga screen refresh qemu calls xc_hvm_track_dirty_vram and
then cpu_physical_memory_set_dirty; the latter needs only to call
xc_hvm_modified_memory in case logdirty is active.
In facts your patch is modifying logdirty_bitmap only when
logdirty_bitmap != NULL that is when a logdirty event is triggered on
xenstore.


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