From nobody Tue Nov 4 22:03:34 2025 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; dkim=fail; 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; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1533566616103728.2963654784187; Mon, 6 Aug 2018 07:43:36 -0700 (PDT) Received: from localhost ([::1]:34394 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmgjO-0003QT-UV for importer@patchew.org; Mon, 06 Aug 2018 10:43:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fmgav-0004wL-Au for qemu-devel@nongnu.org; Mon, 06 Aug 2018 10:34:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fmgat-0000oi-ER for qemu-devel@nongnu.org; Mon, 06 Aug 2018 10:34:49 -0400 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]:39561) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fmgat-0000oR-69 for qemu-devel@nongnu.org; Mon, 06 Aug 2018 10:34:47 -0400 Received: by mail-ed1-x542.google.com with SMTP id h4-v6so5253002edi.6 for ; Mon, 06 Aug 2018 07:34:47 -0700 (PDT) Received: from localhost.localdomain ([194.230.159.126]) by smtp.gmail.com with ESMTPSA id x13-v6sm14615157edx.17.2018.08.06.07.34.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Aug 2018 07:34:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=x3g4JuICbSIRTcPOrd/TkhgR8kZgKKEwrsUUicGspTM=; b=XTwLSoI66VuaWfFeePy2INEKA+E/jIOQE3x0gv5FZUNk1ewBDRJx8MX2lUa8JKgvVd vNpAz4yTeJ469UYVF9j8rOy0tX0+duYHFIIARP+MRDDJx3KYkcC1vgQaWI4Tt0xsdCMR L9s2q5Wqyb2RHES7R/Xz3YwDpZ6c2v8EA60eqTWgIeXd96uJvOqBov6Bz53ES99/CKfS kGuKShB8vz7CHmFbHlw8J4+gVo9KFlbQi844ff3oI9Nc4pDlwW54gKUZJeWDTJtfHaDN d0eSdTRtrZMXFc/3BkwJ6WcvIe9H/dHjgBaeG0xNTmEaIYpAkgqhv8qKhrmqyInqJm5H pxDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=x3g4JuICbSIRTcPOrd/TkhgR8kZgKKEwrsUUicGspTM=; b=OV53zb/dUiXcR5eV84vLkbYQb4rJ/VNRkd7smmsMGq1wZ58J7OLfJ1WDfBI+JWATN/ Ryv4JeoOqIuZ39EgeLGfgNyu5pBt6ryktYOZ2KBttZcWdS4Q+2nFtXMaWNcaiu7AhjlY nXCYwnyvm+03DlRKdnICQ8E5Vat7nyNr1P7e0iGOp6BHYn/v8fbpUcg9fMdOqLLtJO9z ulRBFuRBKcl7dYD3kFsZyznTPZ47kaZ7LP1ElCnrEK6mpGdM2EcC9STcRd5InJMQKFKQ mVk/j5t696DQdKXQintbPLMqjKEDSukToKXGsBU1Jfv1jHFwd+ZOzSopQE0RPTSua/VR dlmA== X-Gm-Message-State: AOUpUlFt9OQ+weKv/koxP33kx8//HLo9MZER26jkDdDbSTFUrAFyKP0q P7lmOhLGRcRZ3Y2nG5aWzd8= X-Google-Smtp-Source: AAOMgpcnchMIwx6a2g7EaAR5vGbptfldIZzZ8YEOKizzwulg8FNdBfGGkf6jMrJgIofm6A0Y3fnhqg== X-Received: by 2002:a50:f297:: with SMTP id f23-v6mr18911961edm.40.1533566086138; Mon, 06 Aug 2018 07:34:46 -0700 (PDT) From: Emanuele Giuseppe Esposito To: Paolo Bonzini Date: Mon, 6 Aug 2018 16:33:46 +0200 Message-Id: <20180806143412.27722-9-e.emanuelegiuseppe@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180806143412.27722-1-e.emanuelegiuseppe@gmail.com> References: <20180806143412.27722-1-e.emanuelegiuseppe@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::542 Subject: [Qemu-devel] [PATCH v2 08/34] tests/qgraph: rename qpci_init_spapr functions 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: Laurent Vivier , Stefan Hajnoczi , Emanuele Giuseppe Esposito , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDMRC_1 RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Rename qpci_init_spapr in qpci_new_spapr, since the function actually allocates a new QPCIBusSPAPR and initialize it. Signed-off-by: Emanuele Giuseppe Esposito --- tests/libqos/libqos-spapr.c | 2 +- tests/libqos/pci-spapr.c | 2 +- tests/libqos/pci-spapr.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/libqos/libqos-spapr.c b/tests/libqos/libqos-spapr.c index a37791e5d0..b3ba421cee 100644 --- a/tests/libqos/libqos-spapr.c +++ b/tests/libqos/libqos-spapr.c @@ -6,7 +6,7 @@ static QOSOps qos_ops =3D { .init_allocator =3D spapr_alloc_init_flags, .uninit_allocator =3D spapr_alloc_uninit, - .qpci_init =3D qpci_init_spapr, + .qpci_init =3D qpci_spapr_new, .qpci_free =3D qpci_free_spapr, .shutdown =3D qtest_spapr_shutdown, }; diff --git a/tests/libqos/pci-spapr.c b/tests/libqos/pci-spapr.c index c0f7e6db9b..30b6d5b5a7 100644 --- a/tests/libqos/pci-spapr.c +++ b/tests/libqos/pci-spapr.c @@ -160,7 +160,7 @@ static void qpci_spapr_config_writel(QPCIBus *bus, int = devfn, uint8_t offset, #define SPAPR_PCI_MMIO32_WIN_SIZE 0x80000000 /* 2 GiB */ #define SPAPR_PCI_IO_WIN_SIZE 0x10000 =20 -QPCIBus *qpci_init_spapr(QTestState *qts, QGuestAllocator *alloc) +QPCIBus *qpci_spapr_new(QTestState *qts, QGuestAllocator *alloc) { QPCIBusSPAPR *ret =3D g_new0(QPCIBusSPAPR, 1); =20 diff --git a/tests/libqos/pci-spapr.h b/tests/libqos/pci-spapr.h index 387686dfc8..d5305d16f8 100644 --- a/tests/libqos/pci-spapr.h +++ b/tests/libqos/pci-spapr.h @@ -11,7 +11,7 @@ #include "libqos/malloc.h" #include "libqos/pci.h" =20 -QPCIBus *qpci_init_spapr(QTestState *qts, QGuestAllocator *alloc); +QPCIBus *qpci_spapr_new(QTestState *qts, QGuestAllocator *alloc); void qpci_free_spapr(QPCIBus *bus); =20 #endif --=20 2.17.1