From nobody Mon Feb 9 22:19:15 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.zoho.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 1487841663210795.5021899026267; Thu, 23 Feb 2017 01:21:03 -0800 (PST) Received: from localhost ([::1]:57374 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgpa8-0006hr-L2 for importer@patchew.org; Thu, 23 Feb 2017 04:21:00 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgpYB-0005X8-SV for qemu-devel@nongnu.org; Thu, 23 Feb 2017 04:19:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgpYB-0003Bg-1p for qemu-devel@nongnu.org; Thu, 23 Feb 2017 04:18:59 -0500 Received: from mx1.redhat.com ([209.132.183.28]:47860) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cgpY9-0003Au-3s; Thu, 23 Feb 2017 04:18:57 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4C561C05AA5B; Thu, 23 Feb 2017 09:18:57 +0000 (UTC) Received: from lemon.redhat.com (ovpn-8-19.pek2.redhat.com [10.72.8.19]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v1N9Il4m003277; Thu, 23 Feb 2017 04:18:54 -0500 From: Fam Zheng To: qemu-devel@nongnu.org Date: Thu, 23 Feb 2017 17:18:41 +0800 Message-Id: <20170223091845.18523-3-famz@redhat.com> In-Reply-To: <20170223091845.18523-1-famz@redhat.com> References: <20170223091845.18523-1-famz@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 23 Feb 2017 09:18:57 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v2 2/6] stubs: Add stubs for ram block notifier API 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: Paolo Bonzini , Max Reitz , qemu-block@nongnu.org, Stefan Hajnoczi , Karl Rister 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" These two functions will be wanted by block-obj-y but the actual definition is in obj-y which is correctly placed, so stub them to keep the linker happy. Signed-off-by: Fam Zheng Acked-by: Paolo Bonzini --- stubs/Makefile.objs | 1 + stubs/ram-block-notifier.c | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 stubs/ram-block-notifier.c diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs index aa6050f..38e3bdc 100644 --- a/stubs/Makefile.objs +++ b/stubs/Makefile.objs @@ -36,3 +36,4 @@ stub-obj-y +=3D qmp_pc_dimm_device_list.o stub-obj-y +=3D target-monitor-defs.o stub-obj-y +=3D target-get-monitor-def.o stub-obj-y +=3D pc_madt_cpu_entry.o +stub-obj-y +=3D ram-block-notifier.o diff --git a/stubs/ram-block-notifier.c b/stubs/ram-block-notifier.c new file mode 100644 index 0000000..ea5d528 --- /dev/null +++ b/stubs/ram-block-notifier.c @@ -0,0 +1,10 @@ +#include "qemu/osdep.h" +#include "exec/ramlist.h" + +void ram_block_notifier_add(RAMBlockNotifier *n) +{ +} + +void ram_block_notifier_remove(RAMBlockNotifier *n) +{ +} --=20 2.9.3