On 01/03/2011 02:11 PM, Jan Kiszka wrote:
Hi again, another subtle difference between qemu-kvm and upstream: When we leave the guest for an IO window (KVM_RUN returns EINTR or EAGAIN), we call kvm_flush_coalesced_mmio_buffer in qemu-kvm but not in upstream. When version is better? I can't find any rationales in both git logs.
We must flush on EINTR, otherwise a live migration can leave some mmios in the source host and not replay them on the destination host.
(plus, as Gleb says, if you're in userspace you might as well flush) -- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html