From patchwork Mon Jun 25 07:01:02 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kiszka X-Patchwork-Id: 166969 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 9AB00100A07 for ; Mon, 25 Jun 2012 17:01:46 +1000 (EST) Received: from localhost ([::1]:42675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sj3Iu-0001LO-Dx for incoming@patchwork.ozlabs.org; Mon, 25 Jun 2012 03:01:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sj3IX-0001A3-Mv for qemu-devel@nongnu.org; Mon, 25 Jun 2012 03:01:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sj3IQ-0000cF-PU for qemu-devel@nongnu.org; Mon, 25 Jun 2012 03:01:21 -0400 Received: from goliath.siemens.de ([192.35.17.28]:29246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sj3IQ-0000bs-Fg for qemu-devel@nongnu.org; Mon, 25 Jun 2012 03:01:14 -0400 Received: from mail1.siemens.de (localhost [127.0.0.1]) by goliath.siemens.de (8.13.6/8.13.6) with ESMTP id q5P719FR009385; Mon, 25 Jun 2012 09:01:09 +0200 Received: from mchn199C.mchp.siemens.de ([139.22.34.212]) by mail1.siemens.de (8.13.6/8.13.6) with SMTP id q5P7135v001108; Mon, 25 Jun 2012 09:01:09 +0200 From: Jan Kiszka To: Anthony Liguori , qemu-devel Date: Mon, 25 Jun 2012 09:01:02 +0200 Message-Id: X-Mailer: git-send-email 1.7.3.4 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 192.35.17.28 Cc: Liu Ping Fan , Avi Kivity , kvm , Marcelo Tosatti Subject: [Qemu-devel] [PATCH 5/5] kvm: Stop flushing coalesced MMIO on vmexit X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org The memory subsystem will now take care of flushing whenever affected regions are accessed or the memory mapping changes. Signed-off-by: Jan Kiszka --- kvm-all.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/kvm-all.c b/kvm-all.c index f8e4328..a1d32f6 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -1483,8 +1483,6 @@ int kvm_cpu_exec(CPUArchState *env) qemu_mutex_lock_iothread(); kvm_arch_post_run(env, run); - kvm_flush_coalesced_mmio_buffer(); - if (run_ret < 0) { if (run_ret == -EINTR || run_ret == -EAGAIN) { DPRINTF("io window exit\n");