From nobody Mon Apr 29 01:54:05 2024 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 (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1518249461500708.6689570913607; Fri, 9 Feb 2018 23:57:41 -0800 (PST) Received: from localhost ([::1]:36939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ2O-0003uO-Gj for importer@patchew.org; Sat, 10 Feb 2018 02:57:32 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ0F-0002eC-VB for qemu-devel@nongnu.org; Sat, 10 Feb 2018 02:55:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQ0C-0000eD-09 for qemu-devel@nongnu.org; Sat, 10 Feb 2018 02:55:19 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:34419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ0B-0000dC-EX; Sat, 10 Feb 2018 02:55:15 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 0A4D640C54; Sat, 10 Feb 2018 10:55:14 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 9034B7A3; Sat, 10 Feb 2018 10:55:15 +0300 (MSK) Received: (nullmailer pid 22787 invoked by uid 1000); Sat, 10 Feb 2018 07:55:13 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:54:56 +0300 Message-Id: <8ff5b30b38cae61f7709114307b04bab879f3f04.1518249254.git.mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 01/17] qapi-schema.json: spelling (independant comparation) 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: qemu-trivial@nongnu.org, Michael Tokarev 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: Michael Tokarev Reviewed-by: Eric Blake --- qapi-schema.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qapi-schema.json b/qapi-schema.json index 5c06745c79..0262b9f20b 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -2023,7 +2023,7 @@ # # @static: Expand to a static CPU model, a combination of a static base # model name and property delta changes. As the static base model= will -# never change, the expanded CPU model will be the same, independ= ant of +# never change, the expanded CPU model will be the same, independ= ent of # independent of QEMU version, machine type, machine options, and # accelerator options. Therefore, the resulting model can be used= by # tooling without having to specify a compatibility machine - e.g= . when @@ -2102,7 +2102,7 @@ ## # @CpuModelCompareResult: # -# An enumeration of CPU model comparation results. The result is usually +# An enumeration of CPU model comparison results. The result is usually # calculated using e.g. CPU features or CPU generations. # # @incompatible: If model A is incompatible to model B, model A is not --=20 2.11.0 From nobody Mon Apr 29 01:54:05 2024 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 (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1518249461500412.6114755766072; Fri, 9 Feb 2018 23:57:41 -0800 (PST) Received: from localhost ([::1]:36938 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ2N-0003tR-E4 for importer@patchew.org; Sat, 10 Feb 2018 02:57:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ0F-0002e8-Uv for qemu-devel@nongnu.org; Sat, 10 Feb 2018 02:55:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQ0B-0000e0-Uw for qemu-devel@nongnu.org; Sat, 10 Feb 2018 02:55:19 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:35607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ0B-0000dA-EA; Sat, 10 Feb 2018 02:55:15 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 3916940C56; Sat, 10 Feb 2018 10:55:14 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id B62FD7AA; Sat, 10 Feb 2018 10:55:15 +0300 (MSK) Received: (nullmailer pid 22790 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:54:57 +0300 Message-Id: <8c2486a5122e50a5f88f2ecb47c5086ad52c716e.1518249254.git.mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 02/17] scripts/argparse.py: spelling (independant) 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: qemu-trivial@nongnu.org, Michael Tokarev 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: Michael Tokarev Reviewed-by: Eric Blake --- scripts/argparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/argparse.py b/scripts/argparse.py index 288c1f06c0..27d1f28935 100644 --- a/scripts/argparse.py +++ b/scripts/argparse.py @@ -76,7 +76,7 @@ considered public as object names -- the API of the forma= tter objects is still considered an implementation detail.) """ =20 -__version__ =3D '1.4.0' # we use our own version number independant of the +__version__ =3D '1.4.0' # we use our own version number independent of the # one in stdlib and we release this on pypi. =20 __external_lib__ =3D True # to make sure the tests really test THIS lib, --=20 2.11.0 From nobody Mon Apr 29 01:54:05 2024 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 1518249696939687.5089236801342; Sat, 10 Feb 2018 00:01:36 -0800 (PST) Received: from localhost ([::1]:37221 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ6K-0007T6-8V for importer@patchew.org; Sat, 10 Feb 2018 03:01:36 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ0G-0002eD-0Q for qemu-devel@nongnu.org; Sat, 10 Feb 2018 02:55:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQ0C-0000f6-PC for qemu-devel@nongnu.org; Sat, 10 Feb 2018 02:55:19 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:49257) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ0C-0000ee-DN; Sat, 10 Feb 2018 02:55:16 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 70B1740C58; Sat, 10 Feb 2018 10:55:14 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id E365D7A3; Sat, 10 Feb 2018 10:55:15 +0300 (MSK) Received: (nullmailer pid 22792 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:54:58 +0300 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 03/17] machine: Polish -machine xxx,help 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 , qemu-trivial@nongnu.org, Michael Tokarev 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" From: Alexey Kardashevskiy The "-machine xxx,help" prints kernel-irqchip possible values as "OnOffSplit", this adds separators to the printed line. Also, since only lower case letters are specified in qapi/common.json, this changes the letter cases too. Signed-off-by: Alexey Kardashevskiy Signed-off-by: Michael Tokarev --- hw/core/machine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/core/machine.c b/hw/core/machine.c index cdc1163dc6..5d445839e8 100644 --- a/hw/core/machine.c +++ b/hw/core/machine.c @@ -520,7 +520,7 @@ static void machine_class_init(ObjectClass *oc, void *d= ata) object_class_property_set_description(oc, "accel", "Accelerator list", &error_abort); =20 - object_class_property_add(oc, "kernel-irqchip", "OnOffSplit", + object_class_property_add(oc, "kernel-irqchip", "on|off|split", NULL, machine_set_kernel_irqchip, NULL, NULL, &error_abort); object_class_property_set_description(oc, "kernel-irqchip", --=20 2.11.0 From nobody Mon Apr 29 01:54:05 2024 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 1518250799477258.8831946180692; Sat, 10 Feb 2018 00:19:59 -0800 (PST) Received: from localhost ([::1]:38849 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQO6-0004TO-Np for importer@patchew.org; Sat, 10 Feb 2018 03:19:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60336) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQHT-0007JU-Lc for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:13:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQHR-0003Hl-0d for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:13:07 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:51315) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQHQ-0003HO-ML; Sat, 10 Feb 2018 03:13:04 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id C428E40C59; Sat, 10 Feb 2018 11:13:02 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 17AAF758; Sat, 10 Feb 2018 10:55:16 +0300 (MSK) Received: (nullmailer pid 22794 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:54:59 +0300 Message-Id: <38272f2d02fb855a2f76c510d4386f699b88cae5.1518249254.git.mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 04/17] Drop unneeded system header includes 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: qemu-trivial@nongnu.org, Michael Tokarev Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Eric Blake is a non-standard obsolete header that was long ago replaced by . is a non-standard header; it is not obsolete (we must use it for malloc_trim, for example), but generally should not be used in files that just need malloc() and friends, where is the standard header. And since osdep.h already guarantees string.h and stdlib.h, we can drop these unusual system header includes as redundant rather than replacing them. Signed-off-by: Eric Blake Signed-off-by: Michael Tokarev Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Thomas Huth --- target/i386/hax-windows.h | 2 -- target/i386/hvf/x86_mmu.c | 1 - 2 files changed, 3 deletions(-) diff --git a/target/i386/hax-windows.h b/target/i386/hax-windows.h index 004f867694..20e2f85407 100644 --- a/target/i386/hax-windows.h +++ b/target/i386/hax-windows.h @@ -20,8 +20,6 @@ #ifndef TARGET_I386_HAX_WINDOWS_H #define TARGET_I386_HAX_WINDOWS_H =20 -#include -#include #include #include =20 diff --git a/target/i386/hvf/x86_mmu.c b/target/i386/hvf/x86_mmu.c index c6be2cca35..d5a0efe718 100644 --- a/target/i386/hvf/x86_mmu.c +++ b/target/i386/hvf/x86_mmu.c @@ -17,7 +17,6 @@ */ =20 #include "qemu/osdep.h" -#include #include "panic.h" #include "qemu-common.h" #include "cpu.h" --=20 2.11.0 From nobody Mon Apr 29 01:54:05 2024 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 1518249602260218.9555863777673; Sat, 10 Feb 2018 00:00:02 -0800 (PST) Received: from localhost ([::1]:37082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ4n-0006Ce-IM for importer@patchew.org; Sat, 10 Feb 2018 03:00:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ0F-0002e7-Ty for qemu-devel@nongnu.org; Sat, 10 Feb 2018 02:55:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQ0B-0000e7-VF for qemu-devel@nongnu.org; Sat, 10 Feb 2018 02:55:19 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:58827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ0B-0000dD-EM; Sat, 10 Feb 2018 02:55:15 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 23F0440C55; Sat, 10 Feb 2018 10:55:14 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 9FA1A758; Sat, 10 Feb 2018 10:55:15 +0300 (MSK) Received: (nullmailer pid 22796 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:55:00 +0300 Message-Id: <57bf554cf4f486d2e89860cf285cc8502ef61d63.1518249254.git.mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] =?utf-8?q?=5BPULL_05/17=5D_mailmap=3A_set_preferred_?= =?utf-8?q?spelling_for_Daniel_Berrang=C3=A9?= 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: qemu-trivial@nongnu.org, Michael Tokarev Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Daniel P. Berrang=C3=A9 Signed-off-by: Daniel P. Berrang=C3=A9 Signed-off-by: Michael Tokarev --- .mailmap | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.mailmap b/.mailmap index ee81ac801e..cf689b9ec9 100644 --- a/.mailmap +++ b/.mailmap @@ -18,3 +18,7 @@ malc malc # There is also a: # (no author) <(no author)@c046a42c-6fe2-441c-8c8c-71466251a162> # for the cvs2svn initialization commit e63c3dc74bf. +# +# Also list preferred name forms where people have changed their +# git author config +Daniel P. Berrang=C3=A9 --=20 2.11.0 From nobody Mon Apr 29 01:54:05 2024 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 (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 151824946067993.29261255411973; Fri, 9 Feb 2018 23:57:40 -0800 (PST) Received: from localhost ([::1]:36942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ2R-0003xO-S9 for importer@patchew.org; Sat, 10 Feb 2018 02:57:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ0F-0002eB-V6 for qemu-devel@nongnu.org; Sat, 10 Feb 2018 02:55:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQ0C-0000eR-2H for qemu-devel@nongnu.org; Sat, 10 Feb 2018 02:55:19 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:57163) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ0B-0000dF-EA; Sat, 10 Feb 2018 02:55:15 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 5129240C57; Sat, 10 Feb 2018 10:55:14 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id CCE9E7AC; Sat, 10 Feb 2018 10:55:15 +0300 (MSK) Received: (nullmailer pid 22798 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:55:01 +0300 Message-Id: <16fdc56a690be9dec55435365a4afbb52befb956.1518249254.git.mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 06/17] qemu-options.hx: Remove confusing spaces in parameter listings 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: qemu-trivial@nongnu.org, Thomas Huth , Michael Tokarev 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" From: Thomas Huth The spaces between the parameters in the chardev and tpmdev sections are rather confusing than helpful, and prevent that the lists can be copy-n-pasted easily for real usage. We also don't use such spaces in other sections in the documentation, e.g. with the -netdev option, so let's be consistent and remove the spaces in the chardev and tpmdev sections, too. Signed-off-by: Thomas Huth Signed-off-by: Michael Tokarev Reviewed-by: Stefan Berger Reviewed-by: Paolo Bonzini --- qemu-options.hx | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/qemu-options.hx b/qemu-options.hx index d15c1713d1..5050a49a5e 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -2522,7 +2522,7 @@ STEXI =20 The general form of a character device option is: @table @option -@item -chardev @var{backend} ,id=3D@var{id} [,mux=3Don|off] [,@var{options= }] +@item -chardev @var{backend},id=3D@var{id}[,mux=3Don|off][,@var{options}] @findex -chardev Backend is one of: @option{null}, @@ -2541,7 +2541,7 @@ Backend is one of: @option{tty}, @option{parallel}, @option{parport}, -@option{spicevmc}. +@option{spicevmc}, @option{spiceport}. The specific backend will determine the applicable options. =20 @@ -2605,11 +2605,11 @@ opened. The available backends are: =20 @table @option -@item -chardev null ,id=3D@var{id} +@item -chardev null,id=3D@var{id} A void device. This device will not emit any data, and will drop any data = it receives. The null backend does not take any options. =20 -@item -chardev socket ,id=3D@var{id} [@var{TCP options} or @var{unix optio= ns}] [,server] [,nowait] [,telnet] [,reconnect=3D@var{seconds}] [,tls-creds= =3D@var{id}] +@item -chardev socket,id=3D@var{id}[,@var{TCP options} or @var{unix option= s}][,server][,nowait][,telnet][,reconnect=3D@var{seconds}][,tls-creds=3D@va= r{id}] =20 Create a two-way stream socket, which can be either a TCP or a unix socket= . A unix socket will be created if @option{path} is specified. Behaviour is @@ -2636,7 +2636,7 @@ TCP and unix socket options are given below: =20 @table @option =20 -@item TCP options: port=3D@var{port} [,host=3D@var{host}] [,to=3D@var{to}]= [,ipv4] [,ipv6] [,nodelay] +@item TCP options: port=3D@var{port}[,host=3D@var{host}][,to=3D@var{to}][,= ipv4][,ipv6][,nodelay] =20 @option{host} for a listening socket specifies the local address to be bou= nd. For a connecting socket species the remote host to connect to. @option{hos= t} is @@ -2664,7 +2664,7 @@ required. =20 @end table =20 -@item -chardev udp ,id=3D@var{id} [,host=3D@var{host}] ,port=3D@var{port} = [,localaddr=3D@var{localaddr}] [,localport=3D@var{localport}] [,ipv4] [,ipv= 6] +@item -chardev udp,id=3D@var{id}[,host=3D@var{host}],port=3D@var{port}[,lo= caladdr=3D@var{localaddr}][,localport=3D@var{localport}][,ipv4][,ipv6] =20 Sends all traffic from the guest to a remote host over UDP. =20 @@ -2683,12 +2683,12 @@ available local port will be used. @option{ipv4} and @option{ipv6} specify that either IPv4 or IPv6 must be u= sed. If neither is specified the device may use either protocol. =20 -@item -chardev msmouse ,id=3D@var{id} +@item -chardev msmouse,id=3D@var{id} =20 Forward QEMU's emulated msmouse events to the guest. @option{msmouse} does= not take any options. =20 -@item -chardev vc ,id=3D@var{id} [[,width=3D@var{width}] [,height=3D@var{h= eight}]] [[,cols=3D@var{cols}] [,rows=3D@var{rows}]] +@item -chardev vc,id=3D@var{id}[[,width=3D@var{width}][,height=3D@var{heig= ht}]][[,cols=3D@var{cols}][,rows=3D@var{rows}]] =20 Connect to a QEMU text console. @option{vc} may optionally be given a spec= ific size. @@ -2699,12 +2699,12 @@ the console, in pixels. @option{cols} and @option{rows} specify that the console be sized to fit a= text console with the given dimensions. =20 -@item -chardev ringbuf ,id=3D@var{id} [,size=3D@var{size}] +@item -chardev ringbuf,id=3D@var{id}[,size=3D@var{size}] =20 Create a ring buffer with fixed size @option{size}. @var{size} must be a power of two and defaults to @code{64K}. =20 -@item -chardev file ,id=3D@var{id} ,path=3D@var{path} +@item -chardev file,id=3D@var{id},path=3D@var{path} =20 Log all traffic received from the guest to a file. =20 @@ -2712,7 +2712,7 @@ Log all traffic received from the guest to a file. created if it does not already exist, and overwritten if it does. @option{= path} is required. =20 -@item -chardev pipe ,id=3D@var{id} ,path=3D@var{path} +@item -chardev pipe,id=3D@var{id},path=3D@var{path} =20 Create a two-way connection to the guest. The behaviour differs slightly b= etween Windows hosts and other hosts: @@ -2729,14 +2729,14 @@ be present. @option{path} forms part of the pipe path as described above. @option{path= } is required. =20 -@item -chardev console ,id=3D@var{id} +@item -chardev console,id=3D@var{id} =20 Send traffic from the guest to QEMU's standard output. @option{console} do= es not take any options. =20 @option{console} is only available on Windows hosts. =20 -@item -chardev serial ,id=3D@var{id} ,path=3D@option{path} +@item -chardev serial,id=3D@var{id},path=3D@option{path} =20 Send traffic from the guest to a serial device on the host. =20 @@ -2745,33 +2745,33 @@ not only serial lines. =20 @option{path} specifies the name of the serial device to open. =20 -@item -chardev pty ,id=3D@var{id} +@item -chardev pty,id=3D@var{id} =20 Create a new pseudo-terminal on the host and connect to it. @option{pty} d= oes not take any options. =20 @option{pty} is not available on Windows hosts. =20 -@item -chardev stdio ,id=3D@var{id} [,signal=3Don|off] +@item -chardev stdio,id=3D@var{id}[,signal=3Don|off] Connect to standard input and standard output of the QEMU process. =20 @option{signal} controls if signals are enabled on the terminal, that incl= udes exiting QEMU with the key sequence @key{Control-c}. This option is enabled= by default, use @option{signal=3Doff} to disable it. =20 -@item -chardev braille ,id=3D@var{id} +@item -chardev braille,id=3D@var{id} =20 Connect to a local BrlAPI server. @option{braille} does not take any optio= ns. =20 -@item -chardev tty ,id=3D@var{id} ,path=3D@var{path} +@item -chardev tty,id=3D@var{id},path=3D@var{path} =20 @option{tty} is only available on Linux, Sun, FreeBSD, NetBSD, OpenBSD and DragonFlyBSD hosts. It is an alias for @option{serial}. =20 @option{path} specifies the path to the tty. @option{path} is required. =20 -@item -chardev parallel ,id=3D@var{id} ,path=3D@var{path} -@itemx -chardev parport ,id=3D@var{id} ,path=3D@var{path} +@item -chardev parallel,id=3D@var{id},path=3D@var{path} +@itemx -chardev parport,id=3D@var{id},path=3D@var{path} =20 @option{parallel} is only available on Linux, FreeBSD and DragonFlyBSD hos= ts. =20 @@ -2780,7 +2780,7 @@ Connect to a local parallel port. @option{path} specifies the path to the parallel port device. @option{path= } is required. =20 -@item -chardev spicevmc ,id=3D@var{id} ,debug=3D@var{debug}, name=3D@var{n= ame} +@item -chardev spicevmc,id=3D@var{id},debug=3D@var{debug},name=3D@var{name} =20 @option{spicevmc} is only available when spice support is built in. =20 @@ -2790,7 +2790,7 @@ required. =20 Connect to a spice virtual machine channel, such as vdiport. =20 -@item -chardev spiceport ,id=3D@var{id} ,debug=3D@var{debug}, name=3D@var{= name} +@item -chardev spiceport,id=3D@var{id},debug=3D@var{debug},name=3D@var{nam= e} =20 @option{spiceport} is only available when spice support is built in. =20 @@ -2898,7 +2898,7 @@ STEXI The general form of a TPM device option is: @table @option =20 -@item -tpmdev @var{backend} ,id=3D@var{id} [,@var{options}] +@item -tpmdev @var{backend},id=3D@var{id}[,@var{options}] @findex -tpmdev =20 The specific backend type will determine the applicable options. @@ -2913,7 +2913,7 @@ The available backends are: =20 @table @option =20 -@item -tpmdev passthrough, id=3D@var{id}, path=3D@var{path}, cancel-path= =3D@var{cancel-path} +@item -tpmdev passthrough,id=3D@var{id},path=3D@var{path},cancel-path=3D@v= ar{cancel-path} =20 (Linux-host only) Enable access to the host's TPM using the passthrough driver. @@ -2950,7 +2950,7 @@ To create a passthrough TPM use the following two opt= ions: Note that the @code{-tpmdev} id is @code{tpm0} and is referenced by @code{tpmdev=3Dtpm0} in the device option. =20 -@item -tpmdev emulator, id=3D@var{id}, chardev=3D@var{dev} +@item -tpmdev emulator,id=3D@var{id},chardev=3D@var{dev} =20 (Linux-host only) Enable access to a TPM emulator using Unix domain socket= based chardev backend. --=20 2.11.0 From nobody Mon Apr 29 01:54:05 2024 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 15182506689111018.2905527258721; Sat, 10 Feb 2018 00:17:48 -0800 (PST) Received: from localhost ([::1]:38598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQM0-0002jo-5G for importer@patchew.org; Sat, 10 Feb 2018 03:17:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQHT-0007JV-La for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:13:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQHQ-0003Gj-6y for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:13:07 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:38739) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQHP-0003Fs-Se; Sat, 10 Feb 2018 03:13:04 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id B7E9C40C57; Sat, 10 Feb 2018 11:13:02 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 833357AF; Sat, 10 Feb 2018 10:55:16 +0300 (MSK) Received: (nullmailer pid 22801 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:55:02 +0300 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 07/17] scripts/make-release: Don't archive .git files 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: qemu-trivial@nongnu.org, Michael Tokarev , Cole Robinson 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" From: Cole Robinson As was last done in 379e21c25, we don't want .git files for submodules here, which we aren't presently doing for capstone and keycodemapdb. Rather than delete the offending files before archiving, ask tar to --exclude=3D.git Signed-off-by: Cole Robinson Signed-off-by: Michael Tokarev Reviewed-by: Thomas Huth --- scripts/make-release | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/make-release b/scripts/make-release index 3917df7142..04fa9defdc 100755 --- a/scripts/make-release +++ b/scripts/make-release @@ -19,11 +19,10 @@ pushd ${destination} git checkout "v${version}" git submodule update --init (cd roms/seabios && git describe --tags --long --dirty > .version) -rm -rf .git roms/*/.git dtc/.git pixman/.git # FIXME: The following line is a workaround for avoiding filename collisio= ns # when unpacking u-boot sources on case-insensitive filesystems. Once we # update to something with u-boot commit 610eec7f0 we can drop this line. -tar cfj roms/u-boot.tar.bz2 -C roms u-boot && rm -rf roms/u-boot +tar --exclude=3D.git -cjf roms/u-boot.tar.bz2 -C roms u-boot && rm -rf rom= s/u-boot popd -tar cfj ${destination}.tar.bz2 ${destination} +tar --exclude=3D.git -cjf ${destination}.tar.bz2 ${destination} rm -rf ${destination} --=20 2.11.0 From nobody Mon Apr 29 01:54:05 2024 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 (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1518250510920738.0093053021135; Sat, 10 Feb 2018 00:15:10 -0800 (PST) Received: from localhost ([::1]:38428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQJL-0000BO-Lz for importer@patchew.org; Sat, 10 Feb 2018 03:15:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQHT-0007JT-LV for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:13:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQHQ-0003HJ-Aq for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:13:07 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:44469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQHP-0003Fo-T0; Sat, 10 Feb 2018 03:13:04 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id A8EE540C55; Sat, 10 Feb 2018 11:13:02 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id CE55F7B8; Sat, 10 Feb 2018 10:55:16 +0300 (MSK) Received: (nullmailer pid 22803 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:55:03 +0300 Message-Id: <123ac0bba97597ae79915c4691b95515b60f00e7.1518249254.git.mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 08/17] configure: Allow capstone=git only if git update is not disabled 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 , qemu-trivial@nongnu.org, Michael Tokarev 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" From: Alexey Kardashevskiy Even with --disable-git-update, ./configure tries updating the capstone submodule instead of marking it "no"; this disables capstone submodule if git update is disabled. Signed-off-by: Alexey Kardashevskiy Signed-off-by: Michael Tokarev Reviewed-by: Thomas Huth --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 62562f08cf..c1bbf17559 100755 --- a/configure +++ b/configure @@ -4568,7 +4568,7 @@ case "$capstone" in "" | yes) if $pkg_config capstone; then capstone=3Dsystem - elif test -e "${source_path}/.git" ; then + elif test -e "${source_path}/.git" -a $git_update =3D 'yes' ; then capstone=3Dgit elif test -e "${source_path}/capstone/Makefile" ; then capstone=3Dinternal --=20 2.11.0 From nobody Mon Apr 29 01:54:05 2024 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 (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1518250510920589.953619209739; Sat, 10 Feb 2018 00:15:10 -0800 (PST) Received: from localhost ([::1]:38425 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQJJ-00008s-GE for importer@patchew.org; Sat, 10 Feb 2018 03:15:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQHT-0007JR-LB for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:13:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQHQ-0003Gy-93 for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:13:07 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:50149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQHP-0003Fq-So; Sat, 10 Feb 2018 03:13:04 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id B7BEC40C56; Sat, 10 Feb 2018 11:13:02 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id E1C0D7B9; Sat, 10 Feb 2018 10:55:16 +0300 (MSK) Received: (nullmailer pid 22805 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:55:04 +0300 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 09/17] build: fix typo in error message 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 , qemu-trivial@nongnu.org, Michael Tokarev Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Laurent Vivier Signed-off-by: Laurent Vivier Signed-off-by: Michael Tokarev Reviewed-by: Philippe Mathieu-Daud=C3=A9 Fixes: f62bbee55d503f639ee9498878ebf42ff4f4299a --- scripts/git-submodule.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/git-submodule.sh b/scripts/git-submodule.sh index bc7224a27f..807ca0b4f8 100755 --- a/scripts/git-submodule.sh +++ b/scripts/git-submodule.sh @@ -28,7 +28,7 @@ error() { echo echo "and then manually update submodules prior to running make, with:" echo - echo " $ scripts/git-sbumodule.sh update $modules" + echo " $ scripts/git-submodule.sh update $modules" echo exit 1 } --=20 2.11.0 From nobody Mon Apr 29 01:54:05 2024 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 151824995932526.42288500756672; Sat, 10 Feb 2018 00:05:59 -0800 (PST) Received: from localhost ([::1]:37486 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQAY-00028g-GT for importer@patchew.org; Sat, 10 Feb 2018 03:05:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ7o-00006F-C7 for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:03:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQ7k-0000Vd-DJ for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:03:08 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:41955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ7k-0000Ux-61; Sat, 10 Feb 2018 03:03:04 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 5A2BB40C55; Sat, 10 Feb 2018 11:03:03 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id B65577B7; Sat, 10 Feb 2018 10:55:16 +0300 (MSK) Received: (nullmailer pid 22807 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:55:05 +0300 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 10/17] maint: Mention web site maintenance in README 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: qemu-trivial@nongnu.org, Michael Tokarev 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" From: Eric Blake Now that we have a website that accepts patches on the list, the main project should make it easier to find information about that process. Signed-off-by: Eric Blake Signed-off-by: Michael Tokarev Reviewed-by: Fam Zheng --- README | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README b/README index b92a07a61a..2c8e1c8cc4 100644 --- a/README +++ b/README @@ -68,6 +68,10 @@ the QEMU website https://qemu.org/Contribute/SubmitAPatch https://qemu.org/Contribute/TrivialPatches =20 +The QEMU website is also maintained under source control. + + git clone git://git.qemu.org/qemu-web.git + https://www.qemu.org/2017/02/04/the-new-qemu-website-is-up/ =20 Bug reporting =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 2.11.0 From nobody Mon Apr 29 01:54:05 2024 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 15182499325231018.1374629471492; Sat, 10 Feb 2018 00:05:32 -0800 (PST) Received: from localhost ([::1]:37478 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQA4-0001aw-Ax for importer@patchew.org; Sat, 10 Feb 2018 03:05:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ7o-00006C-AV for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:03:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQ7k-0000Vm-EL for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:03:08 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:55179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ7k-0000Uz-5z; Sat, 10 Feb 2018 03:03:04 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 7DC7040C57; Sat, 10 Feb 2018 11:03:03 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 38B187AA; Sat, 10 Feb 2018 10:55:16 +0300 (MSK) Received: (nullmailer pid 22809 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:55:06 +0300 Message-Id: <9bc5a7193fb422ee53187601eba577ee5d195522.1518249254.git.mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 11/17] oslib-posix: check for posix_memalign in configure script 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: qemu-trivial@nongnu.org, Michael Tokarev , Andreas Gustafsson 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" From: Andreas Gustafsson Check for the presence of posix_memalign() in the configure script, not using "defined(_POSIX_C_SOURCE) && !defined(__sun__)". This lets qemu use posix_memalign() on NetBSD versions that have it, instead of falling back to valloc() which is wasteful when the required alignment is smaller than a page. Signed-off-by: Andreas Gustafsson Signed-off-by: Michael Tokarev Reviewed-by: Kamil Rytarowski Reviewed-by: Peter Maydell --- configure | 19 +++++++++++++++++++ util/oslib-posix.c | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/configure b/configure index c1bbf17559..fe9eea9218 100755 --- a/configure +++ b/configure @@ -4659,6 +4659,21 @@ if compile_prog "" "" ; then fi =20 ########################################## +# check if we have posix_memalign() + +posix_memalign=3Dno +cat > $TMPC << EOF +#include +int main(void) { + void *p; + return posix_memalign(&p, 8, 8); +} +EOF +if compile_prog "" "" ; then + posix_memalign=3Dyes +fi + +########################################## # check if we have posix_syslog =20 posix_syslog=3Dno @@ -5746,6 +5761,7 @@ echo "preadv support $preadv" echo "fdatasync $fdatasync" echo "madvise $madvise" echo "posix_madvise $posix_madvise" +echo "posix_memalign $posix_memalign" echo "libcap-ng support $cap_ng" echo "vhost-net support $vhost_net" echo "vhost-scsi support $vhost_scsi" @@ -6232,6 +6248,9 @@ fi if test "$posix_madvise" =3D "yes" ; then echo "CONFIG_POSIX_MADVISE=3Dy" >> $config_host_mak fi +if test "$posix_memalign" =3D "yes" ; then + echo "CONFIG_POSIX_MEMALIGN=3Dy" >> $config_host_mak +fi =20 if test "$spice" =3D "yes" ; then echo "CONFIG_SPICE=3Dy" >> $config_host_mak diff --git a/util/oslib-posix.c b/util/oslib-posix.c index 77369c92ce..4655bc1f89 100644 --- a/util/oslib-posix.c +++ b/util/oslib-posix.c @@ -105,7 +105,7 @@ void *qemu_try_memalign(size_t alignment, size_t size) alignment =3D sizeof(void*); } =20 -#if defined(_POSIX_C_SOURCE) && !defined(__sun__) +#if defined(CONFIG_POSIX_MEMALIGN) int ret; ret =3D posix_memalign(&ptr, alignment, size); if (ret !=3D 0) { --=20 2.11.0 From nobody Mon Apr 29 01:54:05 2024 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 (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1518250512909601.0362441054648; Sat, 10 Feb 2018 00:15:12 -0800 (PST) Received: from localhost ([::1]:38427 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQJL-0000B1-Kx for importer@patchew.org; Sat, 10 Feb 2018 03:15:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQHT-0007JQ-L7 for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:13:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQHQ-0003Gs-8u for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:13:07 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:40001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQHP-0003Fr-Sy; Sat, 10 Feb 2018 03:13:04 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id C0BE640C58; Sat, 10 Feb 2018 11:13:02 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 158517BB; Sat, 10 Feb 2018 10:55:17 +0300 (MSK) Received: (nullmailer pid 22811 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:55:07 +0300 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 12/17] MAINTAINERS: Add qemu-binfmt-conf.sh script 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: qemu-trivial@nongnu.org, Thomas Huth , Michael Tokarev 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" From: Thomas Huth qemu-binfmt-conf.sh is used for the Linux usermode emulation, so let's add this file to that section in the MAINTAINERS file. Signed-off-by: Thomas Huth Signed-off-by: Michael Tokarev Reviewed-by: Laurent Vivier --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 54feb95646..57358a08e2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1761,6 +1761,7 @@ R: Laurent Vivier S: Maintained F: linux-user/ F: default-configs/*-linux-user.mak +F: scripts/qemu-binfmt-conf.sh =20 Tiny Code Generator (TCG) ------------------------- --=20 2.11.0 From nobody Mon Apr 29 01:54:05 2024 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 1518250101075586.4114024255451; Sat, 10 Feb 2018 00:08:21 -0800 (PST) Received: from localhost ([::1]:37597 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQCq-0004F1-5i for importer@patchew.org; Sat, 10 Feb 2018 03:08:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51217) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ7o-00006E-BQ for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:03:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQ7k-0000Ve-DH for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:03:08 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:39625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ7k-0000Uw-5h; Sat, 10 Feb 2018 03:03:04 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 5715040C4E; Sat, 10 Feb 2018 11:03:03 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id A3E7A7B6; Sat, 10 Feb 2018 10:55:16 +0300 (MSK) Received: (nullmailer pid 22813 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:55:08 +0300 Message-Id: <01a6df1b689d28341711aefd2406935d783643f7.1518249254.git.mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 13/17] qga: use ARRAY_SIZE macro 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: qemu-trivial@nongnu.org, Michael Tokarev , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Philippe Mathieu-Daud=C3=A9 Applied using the Coccinelle semantic patch scripts/coccinelle/use_osdep.co= cci Signed-off-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Michael Tokarev Reviewed-by: Marc-Andr=C3=A9 Lureau --- qga/commands-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qga/commands-posix.c b/qga/commands-posix.c index 88807f3c78..967061444a 100644 --- a/qga/commands-posix.c +++ b/qga/commands-posix.c @@ -901,7 +901,7 @@ static void build_guest_fsinfo_for_real_device(char con= st *syspath, if (p && sscanf(q, "%u", &host) =3D=3D 1) { has_host =3D true; nhosts =3D build_hosts(syspath, p, has_ata, hosts, - sizeof(hosts) / sizeof(hosts[0]), errp); + ARRAY_SIZE(hosts), errp); if (nhosts < 0) { goto cleanup; } --=20 2.11.0 From nobody Mon Apr 29 01:54:05 2024 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 1518250668071365.83135471524474; Sat, 10 Feb 2018 00:17:48 -0800 (PST) Received: from localhost ([::1]:38591 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQLz-0002ia-9M for importer@patchew.org; Sat, 10 Feb 2018 03:17:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQHT-0007JS-L9 for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:13:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQHQ-0003Gt-C2 for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:13:07 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:60095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQHP-0003Fp-Sf; Sat, 10 Feb 2018 03:13:04 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id A4F8140C4E; Sat, 10 Feb 2018 11:13:02 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 4F63E7AC; Sat, 10 Feb 2018 10:55:16 +0300 (MSK) Received: (nullmailer pid 22815 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:55:09 +0300 Message-Id: <8f801baf3a6835a27ea7d0d807041f8916c60fb5.1518249254.git.mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 14/17] async: use ARRAY_SIZE macro 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: qemu-trivial@nongnu.org, Michael Tokarev , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Philippe Mathieu-Daud=C3=A9 Applied using the Coccinelle semantic patch scripts/coccinelle/use_osdep.co= cci Signed-off-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Michael Tokarev Reviewed-by: Marc-Andr=C3=A9 Lureau --- util/aio-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/aio-posix.c b/util/aio-posix.c index 1427f49b4a..d8f0cb4af8 100644 --- a/util/aio-posix.c +++ b/util/aio-posix.c @@ -119,7 +119,7 @@ static int aio_epoll(AioContext *ctx, GPollFD *pfds, } if (timeout <=3D 0 || ret > 0) { ret =3D epoll_wait(ctx->epollfd, events, - sizeof(events) / sizeof(events[0]), + ARRAY_SIZE(events), timeout); if (ret <=3D 0) { goto out; --=20 2.11.0 From nobody Mon Apr 29 01:54:05 2024 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 1518250103824247.78517250214566; Sat, 10 Feb 2018 00:08:23 -0800 (PST) Received: from localhost ([::1]:37598 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQCs-0004GS-Tr for importer@patchew.org; Sat, 10 Feb 2018 03:08:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ7o-00006H-D2 for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:03:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQ7k-0000W4-I7 for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:03:08 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:47669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ7k-0000VK-9v; Sat, 10 Feb 2018 03:03:04 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 8C6EE40C58; Sat, 10 Feb 2018 11:03:03 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 939F17B4; Sat, 10 Feb 2018 10:55:16 +0300 (MSK) Received: (nullmailer pid 22817 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:55:10 +0300 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 15/17] tests/hbitmap: use ARRAY_SIZE macro 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: qemu-trivial@nongnu.org, Michael Tokarev , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Philippe Mathieu-Daud=C3=A9 Applied using the Coccinelle semantic patch scripts/coccinelle/use_osdep.co= cci Signed-off-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Michael Tokarev Reviewed-by: Marc-Andr=C3=A9 Lureau Reviewed-by: John Snow --- tests/test-hbitmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test-hbitmap.c b/tests/test-hbitmap.c index 9091c639b3..f29631f939 100644 --- a/tests/test-hbitmap.c +++ b/tests/test-hbitmap.c @@ -813,7 +813,7 @@ static void test_hbitmap_serialize_basic(TestHBitmapDat= a *data, size_t buf_size; uint8_t *buf; uint64_t positions[] =3D { 0, 1, L1 - 1, L1, L2 - 1, L2, L2 + 1, L3 - = 1 }; - int num_positions =3D sizeof(positions) / sizeof(positions[0]); + int num_positions =3D ARRAY_SIZE(positions); =20 hbitmap_test_init(data, L3, 0); g_assert(hbitmap_is_serializable(data->hb)); @@ -838,7 +838,7 @@ static void test_hbitmap_serialize_part(TestHBitmapData= *data, size_t buf_size; uint8_t *buf; uint64_t positions[] =3D { 0, 1, L1 - 1, L1, L2 - 1, L2, L2 + 1, L3 - = 1 }; - int num_positions =3D sizeof(positions) / sizeof(positions[0]); + int num_positions =3D ARRAY_SIZE(positions); =20 hbitmap_test_init(data, L3, 0); buf_size =3D L2; @@ -880,7 +880,7 @@ static void test_hbitmap_serialize_zeroes(TestHBitmapDa= ta *data, int64_t next; uint64_t min_l1 =3D MAX(L1, 64); uint64_t positions[] =3D { 0, min_l1, L2, L3 - min_l1}; - int num_positions =3D sizeof(positions) / sizeof(positions[0]); + int num_positions =3D ARRAY_SIZE(positions); =20 hbitmap_test_init(data, L3, 0); =20 --=20 2.11.0 From nobody Mon Apr 29 01:54:05 2024 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 (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1518249934763226.22623276437207; Sat, 10 Feb 2018 00:05:34 -0800 (PST) Received: from localhost ([::1]:37480 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQA4-0001cR-TE for importer@patchew.org; Sat, 10 Feb 2018 03:05:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ7o-00006D-C9 for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:03:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQ7k-0000Vt-GH for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:03:08 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:60771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ7k-0000VD-7u; Sat, 10 Feb 2018 03:03:04 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 7DB5E40C56; Sat, 10 Feb 2018 11:03:03 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 0142A7BA; Sat, 10 Feb 2018 10:55:17 +0300 (MSK) Received: (nullmailer pid 22820 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:55:11 +0300 Message-Id: <9a6555e21a80498aeac28d3276bbde61ddb30c05.1518249254.git.mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 16/17] tests/qapi: use QEMU_IS_ALIGNED macro 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: qemu-trivial@nongnu.org, Michael Tokarev , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Philippe Mathieu-Daud=C3=A9 Applied using the Coccinelle semantic patch scripts/coccinelle/use_osdep.co= cci Signed-off-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Michael Tokarev Reviewed-by: Marc-Andr=C3=A9 Lureau --- tests/test-qobject-output-visitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-qobject-output-visitor.c b/tests/test-qobject-outpu= t-visitor.c index 3cf942414c..11e8c5aa40 100644 --- a/tests/test-qobject-output-visitor.c +++ b/tests/test-qobject-output-visitor.c @@ -572,7 +572,7 @@ static void init_native_list(UserDefNativeListUnion *cv= alue) boolList **list =3D &cvalue->u.boolean.data; for (i =3D 0; i < 32; i++) { *list =3D g_new0(boolList, 1); - (*list)->value =3D (i % 3 =3D=3D 0); + (*list)->value =3D QEMU_IS_ALIGNED(i, 3); (*list)->next =3D NULL; list =3D &(*list)->next; } --=20 2.11.0 From nobody Mon Apr 29 01:54:05 2024 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 (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 1518249933813134.62342670476062; Sat, 10 Feb 2018 00:05:33 -0800 (PST) Received: from localhost ([::1]:37477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQA3-0001ab-Nh for importer@patchew.org; Sat, 10 Feb 2018 03:05:27 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51224) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ7o-00006I-DS for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:03:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ekQ7l-0000Wj-Cq for qemu-devel@nongnu.org; Sat, 10 Feb 2018 03:03:08 -0500 Received: from isrv.corpit.ru ([86.62.121.231]:39017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ekQ7k-0000WE-V9; Sat, 10 Feb 2018 03:03:05 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 9A35640C59; Sat, 10 Feb 2018 11:03:03 +0300 (MSK) Received: from tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by tsrv.corpit.ru (Postfix) with SMTP id 6BA117A3; Sat, 10 Feb 2018 10:55:16 +0300 (MSK) Received: (nullmailer pid 22822 invoked by uid 1000); Sat, 10 Feb 2018 07:55:14 -0000 From: Michael Tokarev To: qemu-devel@nongnu.org Date: Sat, 10 Feb 2018 10:55:12 +0300 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.62.121.231 Subject: [Qemu-devel] [PULL 17/17] tests/qapi: use ARRAY_SIZE macro 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: qemu-trivial@nongnu.org, Michael Tokarev , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Philippe Mathieu-Daud=C3=A9 Applied using the Coccinelle semantic patch scripts/coccinelle/use_osdep.co= cci Signed-off-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Michael Tokarev Reviewed-by: Marc-Andr=C3=A9 Lureau --- tests/test-string-output-visitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-string-output-visitor.c b/tests/test-string-output-= visitor.c index fa4b4ca288..02766c0f65 100644 --- a/tests/test-string-output-visitor.c +++ b/tests/test-string-output-visitor.c @@ -95,7 +95,7 @@ static void test_visitor_out_intList(TestOutputVisitorDat= a *data, Error *err =3D NULL; char *str; =20 - for (i =3D 0; i < sizeof(value) / sizeof(value[0]); i++) { + for (i =3D 0; i < ARRAY_SIZE(value); i++) { *tmp =3D g_malloc0(sizeof(**tmp)); (*tmp)->value =3D value[i]; tmp =3D &(*tmp)->next; --=20 2.11.0