|
From: | Avi Kivity |
Subject: | [Qemu-devel] Re: qemu vs. kvm: When to flush the coalesced mmio buffer? |
Date: | Mon, 03 Jan 2011 14:32:16 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Thunderbird/3.1.7 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |