From nobody Mon Feb 9 11:32:25 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1505920991353578.1458556025331; Wed, 20 Sep 2017 08:23:11 -0700 (PDT) Received: from localhost ([::1]:48821 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dugqE-0001Z1-4f for importer@patchew.org; Wed, 20 Sep 2017 11:23:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dufmi-000417-Gh for qemu-devel@nongnu.org; Wed, 20 Sep 2017 10:15:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dufme-0005Mg-GG for qemu-devel@nongnu.org; Wed, 20 Sep 2017 10:15:28 -0400 Received: from ozlabs.ru ([107.173.13.209]:59842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dufme-0005Lh-8c for qemu-devel@nongnu.org; Wed, 20 Sep 2017 10:15:24 -0400 Received: from vpl1.ozlabs.ibm.com (localhost [IPv6:::1]) by ozlabs.ru (Postfix) with ESMTP id 1762F3A6005A; Wed, 20 Sep 2017 07:48:09 -0400 (EDT) From: Alexey Kardashevskiy To: qemu-devel@nongnu.org Date: Wed, 20 Sep 2017 21:46:30 +1000 Message-Id: <20170920114637.42004-12-aik@ozlabs.ru> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170920114637.42004-1-aik@ozlabs.ru> References: <20170920114637.42004-1-aik@ozlabs.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 107.173.13.209 Subject: [Qemu-devel] [PATCH qemu v4 11/18] memory: Move address_space_update_ioeventfds X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexey Kardashevskiy , Paolo Bonzini Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" So it is called (twice) from the same function. This is to make the next patches a bit simpler. Signed-off-by: Alexey Kardashevskiy --- memory.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/memory.c b/memory.c index eb730cd619..9868d0f57c 100644 --- a/memory.c +++ b/memory.c @@ -947,8 +947,6 @@ static void address_space_update_topology(AddressSpace = *as) * counting is necessary. */ flatview_unref(old_view); - - address_space_update_ioeventfds(as); } =20 void memory_region_transaction_begin(void) @@ -971,6 +969,7 @@ void memory_region_transaction_commit(void) =20 QTAILQ_FOREACH(as, &address_spaces, address_spaces_link) { address_space_update_topology(as); + address_space_update_ioeventfds(as); } memory_region_update_pending =3D false; MEMORY_LISTENER_CALL_GLOBAL(commit, Forward); --=20 2.11.0