From nobody Wed Nov 5 05:21:43 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; 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=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1532704582427133.29583275430127; Fri, 27 Jul 2018 08:16:22 -0700 (PDT) Received: from localhost ([::1]:41769 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fj4Td-0007lm-2w for importer@patchew.org; Fri, 27 Jul 2018 11:16:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fj4RX-00067k-UQ for qemu-devel@nongnu.org; Fri, 27 Jul 2018 11:14:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fj4RW-0000FP-18 for qemu-devel@nongnu.org; Fri, 27 Jul 2018 11:14:11 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:59496 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fj4RV-0000Eg-Qy for qemu-devel@nongnu.org; Fri, 27 Jul 2018 11:14:09 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8FFC540241FB; Fri, 27 Jul 2018 15:14:06 +0000 (UTC) Received: from blackfin.pond.sub.org (ovpn-116-135.ams2.redhat.com [10.36.116.135]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 692332026D74; Fri, 27 Jul 2018 15:14:06 +0000 (UTC) Received: by blackfin.pond.sub.org (Postfix, from userid 1000) id EBC911133071; Fri, 27 Jul 2018 17:13:59 +0200 (CEST) From: Markus Armbruster To: qemu-devel@nongnu.org Date: Fri, 27 Jul 2018 17:13:59 +0200 Message-Id: <20180727151359.29061-24-armbru@redhat.com> In-Reply-To: <20180727151359.29061-1-armbru@redhat.com> References: <20180727151359.29061-1-armbru@redhat.com> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Fri, 27 Jul 2018 15:14:06 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.6]); Fri, 27 Jul 2018 15:14:06 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'armbru@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH v2 23/23] libqtest: Rename qtest_FOOv() to qtest_vFOO() for consistency 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: thuth@redhat.com, f4bug@amsat.org 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" Signed-off-by: Markus Armbruster --- tests/libqtest.c | 12 ++++++------ tests/libqtest.h | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/libqtest.c b/tests/libqtest.c index a0d44793fa..3706f30aa2 100644 --- a/tests/libqtest.c +++ b/tests/libqtest.c @@ -538,7 +538,7 @@ QDict *qmp_fdv(int fd, const char *fmt, va_list ap) return qmp_fd_receive(fd); } =20 -QDict *qtest_qmpv(QTestState *s, const char *fmt, va_list ap) +QDict *qtest_vqmp(QTestState *s, const char *fmt, va_list ap) { qtest_qmp_vsend(s, fmt, ap); =20 @@ -572,7 +572,7 @@ QDict *qtest_qmp(QTestState *s, const char *fmt, ...) QDict *response; =20 va_start(ap, fmt); - response =3D qtest_qmpv(s, fmt, ap); + response =3D qtest_vqmp(s, fmt, ap); va_end(ap); return response; } @@ -608,7 +608,7 @@ void qtest_qmp_eventwait(QTestState *s, const char *eve= nt) qobject_unref(response); } =20 -char *qtest_hmpv(QTestState *s, const char *fmt, va_list ap) +char *qtest_vhmp(QTestState *s, const char *fmt, va_list ap) { char *cmd; QDict *resp; @@ -637,7 +637,7 @@ char *qtest_hmp(QTestState *s, const char *fmt, ...) char *ret; =20 va_start(ap, fmt); - ret =3D qtest_hmpv(s, fmt, ap); + ret =3D qtest_vhmp(s, fmt, ap); va_end(ap); return ret; } @@ -943,7 +943,7 @@ QDict *qmp(const char *fmt, ...) QDict *response; =20 va_start(ap, fmt); - response =3D qtest_qmpv(global_qtest, fmt, ap); + response =3D qtest_vqmp(global_qtest, fmt, ap); va_end(ap); return response; } @@ -963,7 +963,7 @@ char *hmp(const char *fmt, ...) char *ret; =20 va_start(ap, fmt); - ret =3D qtest_hmpv(global_qtest, fmt, ap); + ret =3D qtest_vhmp(global_qtest, fmt, ap); va_end(ap); return ret; } diff --git a/tests/libqtest.h b/tests/libqtest.h index 3848086928..7e60abc9fd 100644 --- a/tests/libqtest.h +++ b/tests/libqtest.h @@ -106,7 +106,7 @@ void qtest_qmp_send(QTestState *s, const char *fmt, ...) * * Sends a QMP message to QEMU and returns the response. */ -QDict *qtest_qmpv(QTestState *s, const char *fmt, va_list ap) +QDict *qtest_vqmp(QTestState *s, const char *fmt, va_list ap) GCC_FMT_ATTR(2, 0); =20 /** @@ -189,7 +189,7 @@ char *qtest_hmp(QTestState *s, const char *fmt, ...) GC= C_FMT_ATTR(2, 3); * * Returns: the command's output. The caller should g_free() it. */ -char *qtest_hmpv(QTestState *s, const char *fmt, va_list ap) +char *qtest_vhmp(QTestState *s, const char *fmt, va_list ap) GCC_FMT_ATTR(2, 0); =20 /** --=20 2.17.1