]> xenbits.xensource.com Git - qemu-xen-4.0-testing.git/commit
[stubdom] fix the crash of HVM live migration with intensive disk access
authorIan Jackson <ian.jackson@eu.citrix.com>
Fri, 4 Sep 2009 15:10:46 +0000 (16:10 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Fri, 4 Sep 2009 15:10:46 +0000 (16:10 +0100)
commit32710fbdc75e055f73a63d246737ce615b9109e9
treec5646d9d477e8bc38d0af48524111ea28c7bfb10
parenta83d119cfcc20bc7edb427992d6e31b3e99430be
[stubdom] 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@intel.com>
cpu-all.h
i386-dm/exec-dm.c