From nobody Mon Apr 29 14:12:04 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1667678053215209.9920647725686; Sat, 5 Nov 2022 12:54:13 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orPDa-0008Cv-WD; Sat, 05 Nov 2022 15:52:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orPDZ-0008Bi-K0; Sat, 05 Nov 2022 15:52:37 -0400 Received: from mout.kundenserver.de ([212.227.17.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orPDX-0003a2-4Q; Sat, 05 Nov 2022 15:52:37 -0400 Received: from quad ([82.142.8.70]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MZCKd-1oVhSG371l-00V64U; Sat, 05 Nov 2022 20:52:29 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Han Han , Laurent Vivier Subject: [PULL 1/7] qapi: virtio: Fix the introduced version Date: Sat, 5 Nov 2022 20:52:21 +0100 Message-Id: <20221105195227.354769-2-laurent@vivier.eu> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221105195227.354769-1-laurent@vivier.eu> References: <20221105195227.354769-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:GqfFrXNjcQTzegjZbwXCZ4PBVMAjIpDh8xID31h0V05cZGwkafX NjplMS3h/cBOlJE6YatAlE+fuo6CwvS6A32l65nbgnIYW2pbex7/XSsTf1DDG43y0uBOVto dCIXDEUgKrm1Nv2WSH7ig1WnyxSldmCI2R5piui4lsVz5Z7OXnCOLQ5+cPaqC88mOLbBKE3 KhtK5U5GSV02w/HtjbmXA== X-UI-Out-Filterresults: notjunk:1;V03:K0:wN4IuNOOg/Q=:vAJZ0FgSa/SRJB23LFjf2p R2fd18Y+v2Cyz5u2lbuTZkHYFQ5f+x8FFnfosnc4IsBncVtJ+kbQ5U/lGlG64vXmVzrnxDue9 MWCyQbykkE3QGNYrwXm9zMq8KuMpV89uTUyT0bCzDu+N79ltMj23lAQZG/DFAjhP4r+zv0FHP vvtGZOlPi87q14q257fTdZEFGm0nFBOzQO2v4NFT/PXsZDlR16+md64Q/wvmSz96PrAW3+nU8 79RVi9pFie8O+zvAMHg+8emy0teY/HZjcx6IUN2JjRn3uUZo2IjRgvnYUEEzJcznTk2UBxx4L BYt7oAShQy5kmyGuP/Z4+Jvp926nvmafTn6Cz4SCkc3y2OGYlR29GQjkmTQ8AFm3Jt1obyff/ lctP61TvVsc9uzysYlbu7tEUGqJ0y302xHrRj8zXcYqNW1JZ86E2OmfU1eNNSYWTmMtzKGwaM fdC1nSuQCsV68+3lvYAJ3v6o6fKG6sbvCSGkmeMuWa8Hwcr88mdp4VW+SFgKwhhichbNGU9sa SfVDqDWK3BsAlY9xQwO2/bHxKc4yzGIus6N4elLGbLAUKz7gbBFHA7Htt8am9FAKkOv39jWM+ sXwgnhMzyQoCbVs6Hb48QAhPEuVhnK8kIpENbtqcT1V1RruEu4yxrvG+u2TQ1jP5SEUK5tFK6 pYO7+qQOPGN9uvO7YOaFt7m/HdHLghXyyl41/gJV2IB7LbD0pJKyd5BUksmbQCqbjo0r7MW8F AKNyIjeJR/NqzF6lqWODIX/leQMg9uimWbf0l1LZgsVSqNr5iBPV5R3ZvFmfO2S61Q2vQ02Wo QzuaQlw Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=212.227.17.24; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZM-MESSAGEID: 1667678055569100004 Content-Type: text/plain; charset="utf-8" From: Han Han The items of qapi/virtio.json are introduced at a5ebce38576. They will be in the version 7.2 not 7.1. Signed-off-by: Han Han Reviewed-by: Laurent Vivier Message-Id: <20221101014647.3000801-1-hhan@redhat.com> Signed-off-by: Laurent Vivier --- qapi/virtio.json | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/qapi/virtio.json b/qapi/virtio.json index e47a8fb2e0a9..872c7e36236c 100644 --- a/qapi/virtio.json +++ b/qapi/virtio.json @@ -15,7 +15,7 @@ # # @name: Name of the VirtIODevice # -# Since: 7.1 +# Since: 7.2 # ## { 'struct': 'VirtioInfo', @@ -32,7 +32,7 @@ # # Returns: List of gathered VirtIODevices # -# Since: 7.1 +# Since: 7.2 # # Example: # @@ -97,7 +97,7 @@ # # @log-size: vhost_dev log_size # -# Since: 7.1 +# Since: 7.2 # ## =20 @@ -167,7 +167,7 @@ # Present if the given VirtIODevice has an active vhost # device. # -# Since: 7.1 +# Since: 7.2 # ## =20 @@ -206,7 +206,7 @@ # # Returns: VirtioStatus of the virtio device # -# Since: 7.1 +# Since: 7.2 # # Examples: # @@ -452,7 +452,7 @@ # # @unknown-statuses: Virtio device statuses bitmap that have not been deco= ded # -# Since: 7.1 +# Since: 7.2 ## =20 { 'struct': 'VirtioDeviceStatus', @@ -471,7 +471,7 @@ # @unknown-protocols: Vhost user device protocol features bitmap that # have not been decoded # -# Since: 7.1 +# Since: 7.2 ## =20 { 'struct': 'VhostDeviceProtocols', @@ -492,7 +492,7 @@ # @unknown-dev-features: Virtio device features bitmap that have not # been decoded # -# Since: 7.1 +# Since: 7.2 ## =20 { 'struct': 'VirtioDeviceFeatures', @@ -535,7 +535,7 @@ # # @signalled-used-valid: VirtQueue signalled_used_valid flag # -# Since: 7.1 +# Since: 7.2 # ## =20 @@ -576,7 +576,7 @@ # shadow_avail_idx will not be displayed in the case where # the selected VirtIODevice has a running vhost device. # -# Since: 7.1 +# Since: 7.2 # # Examples: # @@ -666,7 +666,7 @@ # # @used-size: vhost_virtqueue used_size # -# Since: 7.1 +# Since: 7.2 # ## =20 @@ -699,7 +699,7 @@ # # Returns: VirtVhostQueueStatus of the vhost_virtqueue # -# Since: 7.1 +# Since: 7.2 # # Examples: # @@ -767,7 +767,7 @@ # # @flags: List of descriptor flags # -# Since: 7.1 +# Since: 7.2 # ## =20 @@ -787,7 +787,7 @@ # # @ring: VRingAvail ring[] entry at provided index # -# Since: 7.1 +# Since: 7.2 # ## =20 @@ -805,7 +805,7 @@ # # @idx: VRingUsed index # -# Since: 7.1 +# Since: 7.2 # ## =20 @@ -829,7 +829,7 @@ # # @used: VRingUsed info # -# Since: 7.1 +# Since: 7.2 # ## =20 @@ -857,7 +857,7 @@ # # Returns: VirtioQueueElement information # -# Since: 7.1 +# Since: 7.2 # # Examples: # --=20 2.37.3 From nobody Mon Apr 29 14:12:04 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1667678077073165.19510557883018; Sat, 5 Nov 2022 12:54:37 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orPDe-0008Fr-E2; Sat, 05 Nov 2022 15:52:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orPDb-0008DY-Cw; Sat, 05 Nov 2022 15:52:39 -0400 Received: from mout.kundenserver.de ([212.227.17.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orPDZ-0003aR-DK; Sat, 05 Nov 2022 15:52:39 -0400 Received: from quad ([82.142.8.70]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MNLZc-1oftfY28Hi-00OoP7; Sat, 05 Nov 2022 20:52:30 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Stefan Weil , Peter Maydell , Thomas Huth , Stefan Hajnoczi , Laurent Vivier Subject: [PULL 2/7] Fix some typos in documentation and comments Date: Sat, 5 Nov 2022 20:52:22 +0100 Message-Id: <20221105195227.354769-3-laurent@vivier.eu> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221105195227.354769-1-laurent@vivier.eu> References: <20221105195227.354769-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:jUoxG7KVms0lYRtN7gFTyP5WHtUVFb6qygmOdDAP7I6JtVNW64o sU5pA7544q+1VTmrAKFIcI3tJe4iklbvkcMl8DOd8xegIotJgCijqdwnrBiTGBCqVdWBf3Y CZxaqynA+YyBc0CBHUmcD9Q+TjY9MDlMqrr9+WsqnuVuJTCSlaumW2B3Rtgaiwhy+Ao3gYk jTlDdGmJBJuDA6kr51CMw== X-UI-Out-Filterresults: notjunk:1;V03:K0:ejuui6/e7cc=:6Ce9JTuYGAi6WD+WZ2hjSR j7xlANyNQ7fQaxBkicYHGgsWcvHlJ7DaDlioiaIz+uIZURbnwdBBkqEvQJQ+0GdRkTOTNHvZ3 +C8V3jDtgHifI6vEnq0+QrVHKE5Gbl+7llNS8Rf1FI4b/GbgS4qTu9E6Js6D01x8SkC/QMUVa 2w2uiJm/ldrole56vI4a3ETb5P/A5LK1ZbvAQ8w0Fbc1UCLVG5nW84oGhhjOdmPUH1zPs2YY+ GUXJM0KZ52mSlJLEADBcE789uxuRfkYmEMFTFjJHysAhkvjE9SlAQj1rAXTozO1vwqe/j5yQT P67Ov+sR4LrPAt9dGGaGCwTgBxu7khRWbGlwGJSf3RBiDeECAY6O5MEsTLYynqpEkdbiipFbO 5wZbJVS6wQSGVBkLQyaDFyOiKlKd5ePcuMuvBNSTDphpp2KyS1j6DXY4NFO5izgX96vfRf0Ib wpAywzZ/KUheGH+1S/SJZo/7qwKbQoL8UG2Va95jw0TSpDY4jJWUhza78Tv6Pxk0wlYwewzjV CaSoKTJQwgXzqRnV4P/uvYK4uieuUspC4du7djrSk+av6aGlMIbT4D4xRBu6+89oKZtzDUUUv 8HnmBuwoOZGwTvyooRIXzBsWy2PtBERgjNlpLYZhZif5KpOx9LVXj1NW+HD6dXizJUDssXFQS poB+/p0k9hubKmCD+RPiaIn5QhM5yHvE8r5wHGCmG9i0X5m5KYAnKTi/yyouyH5bWvrA/yNJ0 BGciF038WaBq5HIh11eNA0dRYgdIUBwruF46sqgf585qdDwp+a3dCbTsZoDTbaJT0MhxJBCM+ Hzn0aHi Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=212.227.17.13; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZM-MESSAGEID: 1667678077733100001 Content-Type: text/plain; charset="utf-8" From: Stefan Weil Most of them were found and fixed using codespell. Signed-off-by: Stefan Weil Reviewed-by: Peter Maydell Reviewed-by: Thomas Huth Reviewed-by: Stefan Hajnoczi Message-Id: <20221030105944.311940-1-sw@weilnetz.de> Signed-off-by: Laurent Vivier --- docs/devel/testing.rst | 2 +- docs/system/arm/cpu-features.rst | 2 +- docs/system/loongarch/loongson3.rst | 2 +- docs/tools/virtiofsd.rst | 2 +- include/exec/memory.h | 2 +- qapi/qom.json | 2 +- qemu-options.hx | 10 +++++----- qga/qapi-schema.json | 2 +- tests/qtest/libqtest.h | 2 +- 9 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index fbb98faabeed..e10c47b5a7ca 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -99,7 +99,7 @@ successfully on various hosts. The following list shows s= ome best practices: * If your test cases uses the blkdebug feature, use relative path to pass the config and image file paths in the command line as Windows absolute path contains the delimiter ":" which will confuse the blkdebug parser. -* Use double quotes in your extra QEMU commmand line in your test cases +* Use double quotes in your extra QEMU command line in your test cases instead of single quotes, as Windows does not drop single quotes when passing the command line to QEMU. * Windows opens a file in text mode by default, while a POSIX compliant diff --git a/docs/system/arm/cpu-features.rst b/docs/system/arm/cpu-feature= s.rst index c2c01ec7d265..00c444042ff5 100644 --- a/docs/system/arm/cpu-features.rst +++ b/docs/system/arm/cpu-features.rst @@ -433,7 +433,7 @@ additional constraints on the set of vector lengths sup= ported by SME. SME User-mode Default Vector Length Property -------------------------------------------- =20 -For qemu-aarch64, the cpu propery ``sme-default-vector-length=3DN`` is +For qemu-aarch64, the cpu property ``sme-default-vector-length=3DN`` is defined to mirror the Linux kernel parameter file ``/proc/sys/abi/sme_default_vector_length``. The default length, ``N``, is in units of bytes and must be between 16 and 8192. diff --git a/docs/system/loongarch/loongson3.rst b/docs/system/loongarch/lo= ongson3.rst index 1bdab44e2728..489ea20f8ff7 100644 --- a/docs/system/loongarch/loongson3.rst +++ b/docs/system/loongarch/loongson3.rst @@ -41,7 +41,7 @@ can be accessed by following steps. =20 $ qemu-system-loongarch64 -machine virt -m 4G -cpu la464-loongarch-cpu \ -smp 1 -bios QEMU_EFI.fd -kernel vmlinuz.efi -initrd initrd.img \ - -append "root=3D/dev/ram rdinit=3D/sbin/init consol e=3DttyS0,115200= " \ + -append "root=3D/dev/ram rdinit=3D/sbin/init console=3DttyS0,115200"= \ --nographic =20 Note: The running speed may be a little slow, as the performance of our diff --git a/docs/tools/virtiofsd.rst b/docs/tools/virtiofsd.rst index 5f5ac9dd56a3..995a754a7bf9 100644 --- a/docs/tools/virtiofsd.rst +++ b/docs/tools/virtiofsd.rst @@ -232,7 +232,7 @@ e.g.: =20 ``:ok:server::security.:`` =20 - will pass 'securty.' xattr's in listxattr from the server + will pass 'security.' xattr's in listxattr from the server and ignore following rules. =20 ``:ok:all:::`` diff --git a/include/exec/memory.h b/include/exec/memory.h index bfb1de8eeae1..a751c111bd3d 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -1970,7 +1970,7 @@ void memory_region_clear_dirty_bitmap(MemoryRegion *m= r, hwaddr start, * querying the same page multiple times, which is especially useful for * display updates where the scanlines often are not page aligned. * - * The dirty bitmap region which gets copyed into the snapshot (and + * The dirty bitmap region which gets copied into the snapshot (and * cleared afterwards) can be larger than requested. The boundaries * are rounded up/down so complete bitmap longs (covering 64 pages on * 64bit hosts) can be copied over into the bitmap snapshot. Which diff --git a/qapi/qom.json b/qapi/qom.json index 87fcad2423ae..4db956f07e6c 100644 --- a/qapi/qom.json +++ b/qapi/qom.json @@ -589,7 +589,7 @@ # # @size: size of the memory region in bytes # -# @x-use-canonical-path-for-ramblock-id: if true, the canoncial path is us= ed +# @x-use-canonical-path-for-ramblock-id: if true, the canonical path is us= ed # for ramblock-id. Disable this for= 4.0 # machine types or older to allow # migration with newer QEMU version= s. diff --git a/qemu-options.hx b/qemu-options.hx index 911d82afa5af..dbdf9c301b02 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -1051,7 +1051,7 @@ SRST details on the external interface. =20 ``-device isa-ipmi-kcs,bmc=3Did[,ioport=3Dval][,irq=3Dval]`` - Add a KCS IPMI interafce on the ISA bus. This also adds a + Add a KCS IPMI interface on the ISA bus. This also adds a corresponding ACPI and SMBIOS entries, if appropriate. =20 ``bmc=3Did`` @@ -1071,7 +1071,7 @@ SRST is 0xe4 and the default interrupt is 5. =20 ``-device pci-ipmi-kcs,bmc=3Did`` - Add a KCS IPMI interafce on the PCI bus. + Add a KCS IPMI interface on the PCI bus. =20 ``bmc=3Did`` The BMC to connect to, one of ipmi-bmc-sim or ipmi-bmc-extern abov= e. @@ -5283,8 +5283,8 @@ SRST read the colo-compare git log. =20 ``-object cryptodev-backend-builtin,id=3Did[,queues=3Dqueues]`` - Creates a cryptodev backend which executes crypto opreation from - the QEMU cipher APIS. The id parameter is a unique ID that will + Creates a cryptodev backend which executes crypto operations from + the QEMU cipher APIs. The id parameter is a unique ID that will be used to reference this cryptodev backend from the ``virtio-crypto`` device. The queues parameter is optional, which specify the queue number of cryptodev backend, the default @@ -5551,7 +5551,7 @@ SRST file=3D/etc/qemu/vnc.allow =20 Finally the ``/etc/qemu/vnc.allow`` file would contain the list - of x509 distingished names that are permitted access + of x509 distinguished names that are permitted access =20 :: =20 diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json index 026a56f76caf..796434ed346f 100644 --- a/qga/qapi-schema.json +++ b/qga/qapi-schema.json @@ -392,7 +392,7 @@ ## # @guest-file-flush: # -# Write file changes bufferred in userspace to disk/kernel buffers +# Write file changes buffered in userspace to disk/kernel buffers # # @handle: filehandle returned by guest-file-open # diff --git a/tests/qtest/libqtest.h b/tests/qtest/libqtest.h index 91a5f7edd94d..fcf1c3c3b36f 100644 --- a/tests/qtest/libqtest.h +++ b/tests/qtest/libqtest.h @@ -736,7 +736,7 @@ bool qtest_has_device(const char *device); * qtest_qmp_device_add_qdict: * @qts: QTestState instance to operate on * @drv: Name of the device that should be added - * @arguments: QDict with properties for the device to intialize + * @arguments: QDict with properties for the device to initialize * * Generic hot-plugging test via the device_add QMP command with properties * supplied in form of QDict. Use NULL for empty properties list. --=20 2.37.3 From nobody Mon Apr 29 14:12:04 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1667678088473249.5740601499018; Sat, 5 Nov 2022 12:54:48 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orPDd-0008FW-Ai; Sat, 05 Nov 2022 15:52:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orPDb-0008Ct-34; Sat, 05 Nov 2022 15:52:39 -0400 Received: from mout.kundenserver.de ([212.227.17.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orPDZ-0003aQ-Bs; Sat, 05 Nov 2022 15:52:38 -0400 Received: from quad ([82.142.8.70]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N2EHo-1p0dUX0X1i-013ajx; Sat, 05 Nov 2022 20:52:31 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Chuck Zmudzinski , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Laurent Vivier Subject: [PULL 3/7] xen/pt: fix syntax error that causes FTBFS in some configurations Date: Sat, 5 Nov 2022 20:52:23 +0100 Message-Id: <20221105195227.354769-4-laurent@vivier.eu> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221105195227.354769-1-laurent@vivier.eu> References: <20221105195227.354769-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:cF7pQnyMj3zkUn98Bq+nsABEkYPPift2ikhTQsHi89/JeT5LHe9 QYmkZkV1hR0Lh0O/4gbb/W+ndmsBVHf1GW25Dz9pB+I39bvxxu4VpRUc6Y94ba5ii+j3m66 ux7hiNmf+LJE6bDhk5ElCZa0seDTCuq0VIhVryHRse6sMYNOHAeMPy+Z3dx64Pw9VGYpLBT 5xJ1W3dJr30dWVM2uvOYA== X-UI-Out-Filterresults: notjunk:1;V03:K0:n9OfBEKRMZ8=:N99XNzBEcKu/Appa5ZYMqr d4GNoYKg1MEjBGYGP54ft+A/i4EouprzAQr2IlmsnW2xqWjBIRc4l6GR+JB9jjVfjIHzvA70r fKwnKiOhCUxtKPn6anfh2h3reyMwnPm3k5GP+EflD2DIVaIavKE96t87dH/Zwz4JzVQRAo3KA xAM1l3en8JXoaM377Qo3ZygIvgpYoEjesrMQZiOYFeKcVAHNoQtpPeREAGY7OSeOdDE3rYr4D 8c5k9/VJlN/cZtHTeX43HbZSt8o7AvRstQd9ft9bdkNtMN0SCqTHuonGEKyZmHnX1+KgctbIP W1Wrn6ljN8RTqOZPsmyRvPg0qsJxsZaWQYbuM7tzFxxOf8DbbZ+iGmNY4LQcE7cOV9V5N0ouX rv57Uxmh2SzFM9uAN3gLIVPU00zMczxXlHLghjTyYIiLyFC4v9+bygTE57JmWcHXLfvZ44x4D Dij+s8fNKXWNZyZu2iMGhF53982ic+/4Zj3UwcujtFGVuktWqRYx5FJhl9Wdu3uqRY1MnDXLN craW66atmQwsMZqZmNozQuasAa8NO5ITgsXM2Jwn/2FQbBX9asF1AfUAKVigwuqqvCffI73xE 3qr0WBAaI1hKQdcrO4e0MaQmPhJixDGx+Trcds6Zq+IvjT93hKoePISz0B9sHoSWJs78sG/fy svBYluPul0FG5myUePs+PrGYEGGz+3vCEGx6wiptI+RP5SBO5kqW4TvwLxA3Edq2h4A3SfA6g OUQV8tJS12rPKYqSpbAtvr5HYGTyLEhm8YZzPkUPDRKagJ83BJNMttOlhpOhMBR7VXXWoN6cX 8CQGr49 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=212.227.17.13; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZM-MESSAGEID: 1667678089411100003 From: Chuck Zmudzinski When Qemu is built with --enable-xen and --disable-xen-pci-passthrough and the target os is linux, the build fails with: meson.build:3477:2: ERROR: File xen_pt_stub.c does not exist. Fixes: 582ea95f5f93 ("meson: convert hw/xen") Signed-off-by: Chuck Zmudzinski Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <5f1342a13c09af77b1a7b0aeaba5955bcea89731.1667242033.git.brchuc= kz@aol.com> Signed-off-by: Laurent Vivier --- hw/xen/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xen/meson.build b/hw/xen/meson.build index 08dc1f685738..ae0ace3046b8 100644 --- a/hw/xen/meson.build +++ b/hw/xen/meson.build @@ -18,7 +18,7 @@ if have_xen_pci_passthrough 'xen_pt_msi.c', )) else - xen_specific_ss.add('xen_pt_stub.c') + xen_specific_ss.add(files('xen_pt_stub.c')) endif =20 specific_ss.add_all(when: ['CONFIG_XEN', xen], if_true: xen_specific_ss) --=20 2.37.3 From nobody Mon Apr 29 14:12:04 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1667678139837599.4219162914402; Sat, 5 Nov 2022 12:55:39 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orPDc-0008En-PF; Sat, 05 Nov 2022 15:52:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orPDZ-0008Bh-Im; Sat, 05 Nov 2022 15:52:37 -0400 Received: from mout.kundenserver.de ([212.227.17.10]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orPDX-0003a1-5t; Sat, 05 Nov 2022 15:52:37 -0400 Received: from quad ([82.142.8.70]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MHndY-1olIWv3VSA-00Evzt; Sat, 05 Nov 2022 20:52:32 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Laurent Vivier , =?UTF-8?q?Alex=20Benn=C3=A9e?= Subject: [PULL 4/7] target/m68k: Rename qregs.def -> qregs.h.inc Date: Sat, 5 Nov 2022 20:52:24 +0100 Message-Id: <20221105195227.354769-5-laurent@vivier.eu> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221105195227.354769-1-laurent@vivier.eu> References: <20221105195227.354769-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:KqkWFJF4qEqDsMz6J3gdsinnXe2P7pXNcsCTwHrIej+gWXe98oG a2tESZt5gPPY9Gqw1l6uRJic0KOM2iz1k+Nn9usf9eaWrOUSwwCzqw5KO+b0t3yd6yEkqzS tBU5AsZY8DnHfP0ho4n/fpeB+ivJ/Yi7Gmnajaz3EE0QaT3vei4/ODADFm550kNMSPr7tNx oOwayi/18+eCWm6aLopdQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:SrQzScEA6PM=:yHwhGHzyrD84uoWJiXOK72 JgCP/newo+WK1943wd878jfSFHWKSdbF0xIjsF/sPxrcBIOHMcJePuG9fBF0DM5DO24Z6vQtj A+iHGdKdXBPWNsrWcSxN6mcQ3aVvB7c+DCDT4o2wY+eSP3YxzV8j40+FBJHPjNiOAYmOiipiI xnht9+yX+Her5xgnuqcA94oALnIdcTryj9t5r50KJtdztpwmbQ+fMTCjB7crMV+LCHtkJWZUQ HZId6LK/MStqhaJt/CR0UNnv7gWU4+UlSwKZ6YRpSSJzvodnDYVRcUGHw9N9QF7dtltuRJwli GWl8Rs11wj4zU5mghOZgdnfpNmpWqDzOaaF9hw/GH5d3032bF1dZSeKsZHq0Yw6pUNOZ9B9KC PK+MjC/YpsRASnD3SeJkK1S1hyjZZoI76X0ctPJ+HsLu9Im2oAuhKFJSvGX93Elamk48yb9+f teU7l6Tufmkyr5s1MEZoguBW1ldEtoBKUCx8KxHJy4tcBYeTITQl+AeHOoXKhQlZGfbCR7MHW WZXssddRC/3eRI/FpdexMh4Ez9KUdhc9k1+FHDi2WHYkS7jx7tIH0Lj92Erms2a+S19igAQTl 02rZ3LwmUCbuLst1uAbBo8xIhIQxNrO1zIFP3YtuowfQVV8a3i/cKtT4VFDskU4ABEyq/gfDy CnrIUW5xxMQiGTsjk21D/8VNF++M0VLvTkOLc9MTC9p+ClWKANNVGVRyILw6DEpLI4ocNiV2K 2shWdwNoBI88fw0qUwVX4V7pdQf9KjYDWUuTE6xouWFCGgW92CpTldMBjNs/mCuHPr2K/bFKM IrWgKc1 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=212.227.17.10; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZM-MESSAGEID: 1667678141644100003 From: Philippe Mathieu-Daud=C3=A9 We use the .h.inc extension to include C headers. To be consistent with the rest of the codebase, rename the C headers using the .def extension. IDE/tools using our .editorconfig / .gitattributes will leverage this consistency. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Laurent Vivier Reviewed-by: Alex Benn=C3=A9e Message-Id: <20221025235006.7215-2-philmd@linaro.org> Signed-off-by: Laurent Vivier --- target/m68k/{qregs.def =3D> qregs.h.inc} | 0 target/m68k/translate.c | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename target/m68k/{qregs.def =3D> qregs.h.inc} (100%) diff --git a/target/m68k/qregs.def b/target/m68k/qregs.h.inc similarity index 100% rename from target/m68k/qregs.def rename to target/m68k/qregs.h.inc diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 5cbde4be3404..18418312b14b 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -39,7 +39,7 @@ =20 #define DEFO32(name, offset) static TCGv QREG_##name; #define DEFO64(name, offset) static TCGv_i64 QREG_##name; -#include "qregs.def" +#include "qregs.h.inc" #undef DEFO32 #undef DEFO64 =20 @@ -75,7 +75,7 @@ void m68k_tcg_init(void) #define DEFO64(name, offset) \ QREG_##name =3D tcg_global_mem_new_i64(cpu_env, \ offsetof(CPUM68KState, offset), #name); -#include "qregs.def" +#include "qregs.h.inc" #undef DEFO32 #undef DEFO64 =20 --=20 2.37.3 From nobody Mon Apr 29 14:12:04 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1667678054760223.12183997173418; Sat, 5 Nov 2022 12:54:14 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orPDf-0008HB-Sf; Sat, 05 Nov 2022 15:52:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orPDe-0008Fs-JI; Sat, 05 Nov 2022 15:52:42 -0400 Received: from mout.kundenserver.de ([217.72.192.74]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orPDd-0003bY-0C; Sat, 05 Nov 2022 15:52:42 -0400 Received: from quad ([82.142.8.70]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MowbA-1pMYBi2FR8-00qTk1; Sat, 05 Nov 2022 20:52:32 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Thomas Huth , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Laurent Vivier Subject: [PULL 5/7] target/s390x: Rename insn-data/format.def -> insn-data/format.h.inc Date: Sat, 5 Nov 2022 20:52:25 +0100 Message-Id: <20221105195227.354769-6-laurent@vivier.eu> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221105195227.354769-1-laurent@vivier.eu> References: <20221105195227.354769-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:4QjrSxt+6zm8KAvWJtUazKJToJ0b15YRusHzLmi4JHDPYMhl0Bv pPYJyg/Hp4QGPfxASGXWi/Oec26Ei4ulU1imbTl+T0VU4a3u/+kiMMawZcuC93dQgEA5Yqv cUEXVzx1ALV4Z0t292uI8GOLo2FGK0z0Ou72B07o55wer0IuqtrV63zp/q92zUKsLUqFFXe let9SD6EFM/3uLVIJ6Rjg== X-UI-Out-Filterresults: notjunk:1;V03:K0:WnVf/7A3ocE=:4TiXxhbJgrttymcKWPgTEY 8rgqx3RDijYCnRGS3HaU9zgxD4vSVExTrXe01Yhk8CtaxPFcKt+WPPkrNmMDjkNwAJZGJWjm/ 2Pio1FR9UUYiF9win7QHAZaEbE70xJKzIbcfEiw7XU9viWkORO1R9uaNStwS7npWpDfr4XfZh JLgMZnEDwLlkFbd+Zvx98f9gd5HxlukimxjOh58MreHA4DxLYYoycIoBMOxSm4AP29Qq3p44U r3awSG7lUcmJduv6UZOKmkMT7iUaghRmONtuBbCLHGlj68WGy9Fa4TYKnRmwUsYgiagFmdxPS 5cYa0gQNsFOoTVEf/CI/ofIpoAYiALU/MfIWRALkxv1BrIChmgXJ2WKPsWViaHu2EGLugzteC B2pgItt2VnrG4oY4v2mFbtfn0kwv38EmdtJjxLR2aLJUReTt/4VuiSRN1pTbyv+qvR0HWfIOM LIpGGuU9aTTah6JZWVsuLBncK7t7OFgVfY/9Pro30tmz2UNpwsnQr+KpWrDfzHsyDR4BAqMJA F7m9xCgLUKWY0s5VKe5cfsG4OLry8UiJO40A1qQaFlBbAtdQtt3XvUXj6VX9et/a+M/WetUj3 TxVGVP9OWZ40btm4lWKFQh9Yv+zp45cdrGBjcBBc86x8hMKdMsmikTEt6MHlSYeYnKUbu0Omk ioQgSBoBRA+TxR3K+0NBsCTKIkJfZ8Mtg5PlWxc7ajrXG7h7mEcvGS9FHVoDUH52kxjoScvxW MgVOi0cS9Ie1Db2U8yiUmq9OARnYO/dVnQFnXVQculEHWNeUKC1/zX4HC9qClzez+5JT59bGw 8Zt67DY Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=217.72.192.74; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZM-MESSAGEID: 1667678055572100005 From: Philippe Mathieu-Daud=C3=A9 We use the .h.inc extension to include C headers. To be consistent with the rest of the codebase, rename the C headers using the .def extension. IDE/tools using our .editorconfig / .gitattributes will leverage this consistency. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Thomas Huth Reviewed-by: Alex Benn=C3=A9e Message-Id: <20221025235006.7215-3-philmd@linaro.org> Signed-off-by: Laurent Vivier --- target/s390x/tcg/{insn-data.def =3D> insn-data.h.inc} | 2 +- .../s390x/tcg/{insn-format.def =3D> insn-format.h.inc} | 0 target/s390x/tcg/translate.c | 10 +++++----- 3 files changed, 6 insertions(+), 6 deletions(-) rename target/s390x/tcg/{insn-data.def =3D> insn-data.h.inc} (99%) rename target/s390x/tcg/{insn-format.def =3D> insn-format.h.inc} (100%) diff --git a/target/s390x/tcg/insn-data.def b/target/s390x/tcg/insn-data.h.= inc similarity index 99% rename from target/s390x/tcg/insn-data.def rename to target/s390x/tcg/insn-data.h.inc index 6382ceabfcfa..7e952bdfc828 100644 --- a/target/s390x/tcg/insn-data.def +++ b/target/s390x/tcg/insn-data.h.inc @@ -8,7 +8,7 @@ * * OPC =3D (op << 8) | op2 where op is the major, op2 the minor opcode * NAME =3D name of the opcode, used internally - * FMT =3D format of the opcode (defined in insn-format.def) + * FMT =3D format of the opcode (defined in insn-format.h.inc) * FAC =3D facility the opcode is available in (defined in DisasFacility) * I1 =3D func in1_xx fills o->in1 * I2 =3D func in2_xx fills o->in2 diff --git a/target/s390x/tcg/insn-format.def b/target/s390x/tcg/insn-forma= t.h.inc similarity index 100% rename from target/s390x/tcg/insn-format.def rename to target/s390x/tcg/insn-format.h.inc diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c index 03efccdf9f92..2fbdab72523e 100644 --- a/target/s390x/tcg/translate.c +++ b/target/s390x/tcg/translate.c @@ -1011,7 +1011,7 @@ static void free_compare(DisasCompare *c) #define F6(N, X1, X2, X3, X4, X5, X6) F0(N) =20 typedef enum { -#include "insn-format.def" +#include "insn-format.h.inc" } DisasFormat; =20 #undef F0 @@ -1076,7 +1076,7 @@ typedef struct DisasFormatInfo { #define F6(N, X1, X2, X3, X4, X5, X6) { { X1, X2, X3, X4, X5, X6 } }, =20 static const DisasFormatInfo format_info[] =3D { -#include "insn-format.def" +#include "insn-format.h.inc" }; =20 #undef F0 @@ -6143,7 +6143,7 @@ static void in2_insn(DisasContext *s, DisasOps *o) #define E(OPC, NM, FT, FC, I1, I2, P, W, OP, CC, D, FL) insn_ ## NM, =20 enum DisasInsnEnum { -#include "insn-data.def" +#include "insn-data.h.inc" }; =20 #undef E @@ -6223,7 +6223,7 @@ enum DisasInsnEnum { #define FAC_MIE3 S390_FEAT_MISC_INSTRUCTION_EXT3 /* miscellaneous-i= nstruction-extensions facility 3 */ =20 static const DisasInsn insn_info[] =3D { -#include "insn-data.def" +#include "insn-data.h.inc" }; =20 #undef E @@ -6233,7 +6233,7 @@ static const DisasInsn insn_info[] =3D { static const DisasInsn *lookup_opc(uint16_t opc) { switch (opc) { -#include "insn-data.def" +#include "insn-data.h.inc" default: return NULL; } --=20 2.37.3 From nobody Mon Apr 29 14:12:04 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1667678072849525.7635045161352; Sat, 5 Nov 2022 12:54:32 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orPDe-0008G2-UV; Sat, 05 Nov 2022 15:52:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orPDc-0008EI-2m; Sat, 05 Nov 2022 15:52:40 -0400 Received: from mout.kundenserver.de ([212.227.17.24]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orPDZ-0003aY-QS; Sat, 05 Nov 2022 15:52:39 -0400 Received: from quad ([82.142.8.70]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MZCKd-1oVhNg0dzF-00V64U; Sat, 05 Nov 2022 20:52:33 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Bastian Koppelmann , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Laurent Vivier Subject: [PULL 6/7] target/tricore: Rename csfr.def -> csfr.h.inc Date: Sat, 5 Nov 2022 20:52:26 +0100 Message-Id: <20221105195227.354769-7-laurent@vivier.eu> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221105195227.354769-1-laurent@vivier.eu> References: <20221105195227.354769-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:RtbVOQA8DmxeMJwho8KRYg9YuM379GzqaklNLJ6TdWj/0LLFbF6 VTg3y5ocosSbG8bZoe9yDnQ9CMtQGYJ+IKbUt/vaPIhRTgjwhZoECPOZKuT+CB51yeWz9Yk EeIbegpzq4DewUHkdoAE1PfKU8IyuXOcvBhx8ftOH+HZdMqQDE86D8aoaBni30ui41KooD+ RLh/AQ2gD4pCVjNO4OL4A== X-UI-Out-Filterresults: notjunk:1;V03:K0:tT3W9eOWObY=:t0FbwXx4RB0G3Cy/NoUDmH 9TNaR3QHz61hy0ql3Ym0+4B4kITZd8Gt6PWRTor7ArQqe5mown98iBsKCOIhbmTXtr2mIc4E9 H9ZGeE+dIfUz3aIfMSlv9MmG1uN+XeU21UpYySGpQAUhlbchZ966+9pwX0O+qk9YASfANSkZM KQuCvj1PrBpJENHDEJ7g5SGw14TV+Tc1aCfizloyy1+SsmRSUeTlYjT3aBEv6wjkNB3y+G5fG Nv8VD95bi0arFwrY7b+E0VeQ1nD1flwb1K0KTSUTMkHlmw5fT4V8qhHdvXrgO+4uoGTcErSrS tO1tP23CMJ6N0Xh28fSJlAYfFxX2ak1ZsQzQd3TP0MyT3JYnNLA13o0uPK1eUaxykFN9d1xHa Y28QGndM3cRzpqqT0LWkkhCBG4IZrLESBJOuM+LuN762cLfAhsxvpxHPkmMRsHATSUNt3Tpnq 5PYIY2UplggOpIhXs1++Gb6p5y1Q/I/mseI2jbKe3rlcUL6RMXDo67L+OKnA83cSWoNrXUVtn fGuj+Hd277AiwwnxZGJe1MzSOqKO8b0sMaOuskCJkQpzfWNuLnHlMfX0fv5VG2zNYxtVFG/DI PUpsJb4t0xV3PWDa0/oRdfOaYGtlUmW8iZumpFRBnhcUr1zY2owG3CziDpAnQv6uouGqCT5hz yjLcttOulctQl9InQtmeCqUOB8XMlybVIUezXNggAqNBlXHnzJonu97x84qt/gL/Rw9Gr3/QC 8R7J/qMs/tlZIMsCN+D9NXzjv3gxAfPvtojYjVdskpFHTnO4D8yBz3s3jgp35ds47VkQbZ/O1 qIqOdYp Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=212.227.17.24; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZM-MESSAGEID: 1667678073644100001 From: Philippe Mathieu-Daud=C3=A9 We use the .h.inc extension to include C headers. To be consistent with the rest of the codebase, rename the C headers using the .def extension. IDE/tools using our .editorconfig / .gitattributes will leverage this consistency. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Bastian Koppelmann Reviewed-by: Alex Benn=C3=A9e Message-Id: <20221025235006.7215-4-philmd@linaro.org> Signed-off-by: Laurent Vivier --- target/tricore/{csfr.def =3D> csfr.h.inc} | 0 target/tricore/translate.c | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename target/tricore/{csfr.def =3D> csfr.h.inc} (100%) diff --git a/target/tricore/csfr.def b/target/tricore/csfr.h.inc similarity index 100% rename from target/tricore/csfr.def rename to target/tricore/csfr.h.inc diff --git a/target/tricore/translate.c b/target/tricore/translate.c index c5b7bfbf2013..df9e46c6495e 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -388,7 +388,7 @@ static inline void gen_mfcr(DisasContext *ctx, TCGv ret= , int32_t offset) gen_helper_psw_read(ret, cpu_env); } else { switch (offset) { -#include "csfr.def" +#include "csfr.h.inc" } } } @@ -418,7 +418,7 @@ static inline void gen_mtcr(DisasContext *ctx, TCGv r1, gen_helper_psw_write(cpu_env, r1); } else { switch (offset) { -#include "csfr.def" +#include "csfr.h.inc" } } } else { --=20 2.37.3 From nobody Mon Apr 29 14:12:04 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1667678053876135.53275808716; Sat, 5 Nov 2022 12:54:13 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1orPDb-0008EF-U8; Sat, 05 Nov 2022 15:52:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orPDZ-0008Bg-Ir; Sat, 05 Nov 2022 15:52:37 -0400 Received: from mout.kundenserver.de ([212.227.17.10]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orPDX-0003aD-Tt; Sat, 05 Nov 2022 15:52:37 -0400 Received: from quad ([82.142.8.70]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Mrggc-1pKuYf323A-00niqp; Sat, 05 Nov 2022 20:52:33 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Laurent Vivier Subject: [PULL 7/7] tests/unit: simpler variable sequence for test-io-channel Date: Sat, 5 Nov 2022 20:52:27 +0100 Message-Id: <20221105195227.354769-8-laurent@vivier.eu> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221105195227.354769-1-laurent@vivier.eu> References: <20221105195227.354769-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:idn9M6w809Wg0kzBDRVKIgdKyAQZl8yRNnohGPOT3bZ8wB2D+Tj 59UHgvUOKM1J99pNc7Jft31BH0W584DHj4A1OhIHktv/9ZichgK3/NlVlE18d/LihG1iEHu wnI47fZTP/vSf1iOByTurVGxfqLz3kK/KMES15S3tiykv8/annIApX/iwqxSgfabytFqJYL bGcBlbOq1S75nMfOZEAZA== X-UI-Out-Filterresults: notjunk:1;V03:K0:pdIXSVdsuio=:HfKm1WmNnl4jFUYsHPF+1w LpS6eNISJg7qhj8o8W55RTiSt3kVaUg4025Ii63CpJtdr/IZhYCEPfAQeNm0iBBJcIweOK/4C J9f6Hoknr24yl668j1RJHQ9FpqSBLDyv8ckHQ2ToCiaeyuw8NGc4Z/JdokKkZGu+PBYKkWdzs t7s8VA1C2Eksy1GCc7b10eW0a8JK/8E8cQVPZe+CxAYtkqqTbWyhGmxfHgX74s52iex8SCmqE J5ivpV1StuASh9HmyVH/pm7YOOBnLQGe+Keo53oGoTCZMixyaUGYqUAeloLv65t09yyHmMk6i OV04LRrVYhaljGgFV2Shg/7kv0WXyIwmZTsRUYDtcckcPFvmgMik4jQ1okD1eu5L2K/zTKTCW 4E4ZTxCXHXAWKu6bpfZnYmUt61BAl7aquxpwpoENiVUoeOj3XYxueSuNfiUdLJMRbVAINBLGn 3q5lLLHxpDUYpfK6CM/lOQvfrnan2f8q6cs2p/gsn5qS1trfZsFu6Ve78C6A2XM6NLx8JrHht ulavEWCTmJS7sg3KxgjfsWmgLXn8ommlJE81MVZbeHnL/NXY+RLFb3mFYT0yjaLY92XoywAiO oRV78bGv2SO8gNxsDQmI4jKXmy/7NvS22Z10gT+vqE6Yi07HOSwdXQlKgBevTv5i+uhT+iiHn OKp7aNmEZta222iLwbN/Yhm+Bl2uZKkk22LLAWoH/puGOu8zE+RKSh57UQnFMuGNMShxruZbw PvlMxiuv1pRq7fI1dWcwIbiO4mfxxLpNJoxxRTE1S+dNe+PGfbeDw2oQpoAlW9/4dwsBoqtMK i80+zr0 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: none client-ip=212.227.17.10; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZM-MESSAGEID: 1667678055566100003 From: Alex Benn=C3=A9e This avoids some compilers complaining about a potentially un-initialised [src|dst]argv. In retrospect using GString was overkill for what we are constructing. Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Laurent Vivier Message-Id: <20221103102329.2581508-1-alex.bennee@linaro.org> Signed-off-by: Laurent Vivier --- tests/unit/test-io-channel-command.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/tests/unit/test-io-channel-command.c b/tests/unit/test-io-chan= nel-command.c index 43e29c8cfbf4..19f72eab961d 100644 --- a/tests/unit/test-io-channel-command.c +++ b/tests/unit/test-io-channel-command.c @@ -33,19 +33,13 @@ static void test_io_channel_command_fifo(bool async) { g_autofree gchar *tmpdir =3D g_dir_make_tmp("qemu-test-io-channel.XXXX= XX", NULL); g_autofree gchar *fifo =3D g_strdup_printf("%s/%s", tmpdir, TEST_FIFO); - g_autoptr(GString) srcargs =3D g_string_new(socat); - g_autoptr(GString) dstargs =3D g_string_new(socat); - g_auto(GStrv) srcargv; - g_auto(GStrv) dstargv; + g_autofree gchar *srcargs =3D g_strdup_printf("%s - PIPE:%s,wronly", s= ocat, fifo); + g_autofree gchar *dstargs =3D g_strdup_printf("%s PIPE:%s,rdonly -", s= ocat, fifo); + g_auto(GStrv) srcargv =3D g_strsplit(srcargs, " ", -1); + g_auto(GStrv) dstargv =3D g_strsplit(dstargs, " ", -1); QIOChannel *src, *dst; QIOChannelTest *test; =20 - g_string_append_printf(srcargs, " - PIPE:%s,wronly", fifo); - g_string_append_printf(dstargs, " PIPE:%s,rdonly -", fifo); - - srcargv =3D g_strsplit(srcargs->str, " ", -1); - dstargv =3D g_strsplit(dstargs->str, " ", -1); - src =3D QIO_CHANNEL(qio_channel_command_new_spawn((const char **) srca= rgv, O_WRONLY, &error_abort)); --=20 2.37.3