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

Re: [Xen-devel] [PATCH] [IOEMU]: fix the crash of HVM live migration with intensive disk access



On Tue, 11 Aug 2009, Zhai, Edwin wrote:
>  [IOEMU]: fix the crash of HVM live migration with intensive disk access
> 
> Intensive disk access, e.g. sum of big file, during HVM live migration would 
> cause guest error even file system crash. Guest dmesg said
> "attempt to access beyond end of device
> hda1: rw=0, want=10232032112, limit=10474317"
> 
> Current map cache used by qemu dma doesn't mark the page dirty, so that these 
> pages(probably holding DMA data struct) are not transferred in the last 
> iteration during live migration.
> 
> This patch fixes it, and also merges the qemu's original dirty bitmap used by 
> other devices such as vga.
> 
> Signed-Off-By: Zhai Edwin <edwin.zhai@xxxxxxxxx>
> 

I think the fix is correct but we should thinking about dropping
logdirty and start using xc_hvm_modified_memory instead for all cases.
I think Gianluca also may have something to say about this but this week
he is on vacation.


_______________________________________________
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®.