From nobody Wed May 15 17:19:24 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 1648765440101735.5674133512607; Thu, 31 Mar 2022 15:24:00 -0700 (PDT) Received: from localhost ([::1]:52764 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na3Cx-0005FT-4g for importer@patchew.org; Thu, 31 Mar 2022 18:23:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na38U-0005t8-GM; Thu, 31 Mar 2022 18:19:23 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:44325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na38P-0001AB-Dc; Thu, 31 Mar 2022 18:19:20 -0400 Received: from quad ([82.142.13.234]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MRmsG-1nSvaI1xhS-00TGSC; Fri, 01 Apr 2022 00:19:00 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 1/4] linux-user/sh4/termbits: Silence warning about TIOCSER_TEMT double definition Date: Fri, 1 Apr 2022 00:18:54 +0200 Message-Id: <20220331221857.433867-2-laurent@vivier.eu> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220331221857.433867-1-laurent@vivier.eu> References: <20220331221857.433867-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:8fuJ3eovMUKBZbH8q8Hh/zCPlrIBJZqsdjtCbmNSYDYepZYoNbd 5O4SwyX+RihZ1DxFvaURCON3rkZ+CzV7NJauvNfw6ou0ATX0USJOpHHiK6g6Weg0kx+pI+T dzqv+7xPeAllQcHmZNtMpMWaCog5nvZYMxSjkZxc3ZaoB5u/dxsFIILTZ3A0oalk29sxxgt CFihZY908q8laHTAXuVGw== X-UI-Out-Filterresults: notjunk:1;V03:K0:BgPu3x2e+YY=:BFLHYGehS+UzoUoi5nYjVm FQn3evyMHW7Ca9JKSQLebgbMCEUtLn+ChczUoQ6wADLLwDnFIr1RHFatAL1dzBBCVdjnAR9+1 iGMsZabMIeAM8F1x73kd4RA2ekw6DDp+F6IGtw1B+B4/aFqwsFVo5UtITssmXAD6mL4nYnKql s5TtNAOLUzjQBIYOxI+615ndIAd4ajR83wUygQ9k4NxUDn8Z++Ih7N8gxdSpGm2fY6sG90nDm zLS+h50yRYOIHT0Cillq3Arha1cnOpuN8rq4eBXWSQHnC0r90YIRAMC3ksCCUef1971FWosy2 v9qS0tRqVvh9vhTG8UJvjJXntu82HcTr//4gCN4y0+IQVXQzNmcvDWYH8PaDGkhp+BCuOIfok T5+yJwhjdQUPNs1EeeYqv0y/iBsi7v5l+OtOf0I5+8xCYWKKJa43GXUv4gEbyBXXMBJa90+ZX v2t8yhdBdHFkr2qmXDkd85O3Ag6zeOlhU47f9ThnukbkaQfuagDJGqSu5UIanzyMpKGA4kZ85 m6mQL3mttweycRtNWrE9HAzGHd1F6t0wh9puAn/oehi5R9pjGq9KzDF1xfiZFZ7xBoQYyyLve u4KgK+cYzwrZLS2JV1jTJu+wCCpWKWCW28kvtR/nvxg9Njx1lMHbsre+homJp49xZv3/xolSw f1GH1GcdmHg4+H11MoLXPKytjTQqZfOHpgMuh25VWuPtC9zRKaHXqvdv+SeUIb35WwQc= 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.75; 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Cc: Thomas Huth , Yoshinori Sato , qemu-trivial@nongnu.org, Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZM-MESSAGEID: 1648765441818100001 From: Thomas Huth Seen while compiling on Alpine: In file included from ../linux-user/strace.c:17: In file included from ../linux-user/qemu.h:11: In file included from ../linux-user/syscall_defs.h:1247: ../linux-user/sh4/termbits.h:276:10: warning: 'TIOCSER_TEMT' macro redefin= ed [-Wmacro-redefined] # define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ ^ /usr/include/sys/ioctl.h:50:9: note: previous definition is here #define TIOCSER_TEMT 1 ^ 1 warning generated. Add the TARGET_ prefix here, too, like we do it on the other architectures. Signed-off-by: Thomas Huth Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Laurent Vivier Reviewed-by: Yoshinori Sato Message-Id: <20220330134302.979686-1-thuth@redhat.com> Signed-off-by: Laurent Vivier --- linux-user/sh4/termbits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/sh4/termbits.h b/linux-user/sh4/termbits.h index f91b5c51cf83..eeabd2d7a9ce 100644 --- a/linux-user/sh4/termbits.h +++ b/linux-user/sh4/termbits.h @@ -273,7 +273,7 @@ ebugging only */ #define TARGET_TIOCSERGETLSR TARGET_IOR('T', 89, unsigned int) /* 0x5459= */ /* Get line sta tus register */ /* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */ -# define TIOCSER_TEMT 0x01 /* Transmitter physically empty */ +# define TARGET_TIOCSER_TEMT 0x01 /* Transmitter physically empty */ #define TARGET_TIOCSERGETMULTI TARGET_IOR('T', 90, int) /* 0x545A */ /* Get multiport config */ #define TARGET_TIOCSERSETMULTI TARGET_IOW('T', 91, int) /* 0x545B --=20 2.35.1 From nobody Wed May 15 17:19:24 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 1648765418302203.1532854472216; Thu, 31 Mar 2022 15:23:38 -0700 (PDT) Received: from localhost ([::1]:52350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na3Cb-0004yX-CY for importer@patchew.org; Thu, 31 Mar 2022 18:23:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na38N-0005hz-I3; Thu, 31 Mar 2022 18:19:15 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:48839) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na38L-00019K-8c; Thu, 31 Mar 2022 18:19:15 -0400 Received: from quad ([82.142.13.234]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1N95mL-1o3fVK0YYp-016B6n; Fri, 01 Apr 2022 00:19:01 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 2/4] target/sh4: Remove old README.sh4 file Date: Fri, 1 Apr 2022 00:18:55 +0200 Message-Id: <20220331221857.433867-3-laurent@vivier.eu> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220331221857.433867-1-laurent@vivier.eu> References: <20220331221857.433867-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:28BrySW/a6g9ZxU+Xwyj25roaKad103Tw8K5iL0hrJ48Idv5p5E b4VZCpZ4Ik0P6/MRmvKgXQVsY/VdY2KxLE1Iv4v2GvvNKXt6NqQ0MoVFAR2PNTWpRagcg+f 3soEUNt5A63PDUm6/jHr23K/kB3u++7EgDqaiZhsn/ogh1RjX3+hp0RwWjf7/uVsp49mTGS rtHGcJ2TVUs6x599JWPGQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:7IuKVKdSxBo=:bTUll3iKGiQTK37UxoxidQ W0WvsfmJtWlYJkWVicuEUs8w8w6VEUQbaSD1B6B6xkQOg2LW35+SxX1P1Q/uvcKzqBr6vkdwg bEaeijJyQuZNblAzhf4cmPPJJmzA7afhakIHa3KGgH2UeRt0kfXGyQU9LjxAvRpoe1UqU+45E qn45Q1R9XkO6Pcjm1ePrACh/sYyo6g74M0XSgbsRJpnEx2m/h+sYmpyYp2GENw99IO4hXR8Lv tt3/vke6ThVH3B9Ix1L2UwQaw3A5zKEjGNhXIPHZsdehsFiLsozap9WfPQeaWY63XyjMGRiFo s5l216PdiRBCC9+kSlMM214J9Y+7puvhi9L58EWneGEVap1YtapIc719UQnY23xeDbH3gR+Ld 0FsLxm6H5byb7vV72RD6BKFxxvqhibEmI9kGmMNHUy+AmgWKiU3ESt5U8TwBfwDHoLZHrCI8X hIA9fWtfinZSsfSXq855vQFWe1qb0y6ztVG0pHWF3R9AbwSvSrFEhqrTMWqseuUc8Z/OV4KBy onPPutvlDjkgnY90RcVgvOrBR6M33pmblqrnXXCwWyx4kARmdEa9Wyzz0sLA1fXj+M++BQrfY o8iPZ+22LwUq8e2r5dkD4FkBOu+bBnfBEfLTOrgbUJ0QQz+4YoT1SkqCdAQAc1DYxmL1Q3X21 lVgxRKkErOGbCFMsvOKQmssRRGGt7fkCn1bn0i6DkcZrHD0KMjlsJgTeIV3p99q3yk3s= 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_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Cc: Peter Maydell , Thomas Huth , Yoshinori Sato , qemu-trivial@nongnu.org, Richard Henderson , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZM-MESSAGEID: 1648765419511100001 Content-Type: text/plain; charset="utf-8" From: Thomas Huth This file didn't have any non-trivial update since it was initially added in 2006, and looking at the content, it seems incredibly outdated, saying e.g. "The sh4 target is not ready at all yet for integration in qemu" or "A sh4 user-mode has also somewhat started but will be worked on afterwards"... Sounds like nobody is interested in this README file anymore, so let's simply remove it now. Signed-off-by: Thomas Huth Reviewed-by: Peter Maydell Reviewed-by: Richard Henderson Reviewed-by: Yoshinori Sato Message-Id: <20220329151955.472306-1-thuth@redhat.com> Signed-off-by: Laurent Vivier --- target/sh4/README.sh4 | 150 ------------------------------------------ 1 file changed, 150 deletions(-) delete mode 100644 target/sh4/README.sh4 diff --git a/target/sh4/README.sh4 b/target/sh4/README.sh4 deleted file mode 100644 index a192ca7540cc..000000000000 --- a/target/sh4/README.sh4 +++ /dev/null @@ -1,150 +0,0 @@ -qemu target: sh4 -author: Samuel Tardieu -last modified: Tue Dec 6 07:22:44 CET 2005 - -The sh4 target is not ready at all yet for integration in qemu. This -file describes the current state of implementation. - -Most places requiring attention and/or modification can be detected by -looking for "XXXXX" or "abort()". - -The sh4 core is located in target/sh4/*, while the 7750 peripheral -features (IO ports for example) are located in hw/sh7750.[ch]. The -main board description is in hw/shix.c, and the NAND flash in -hw/tc58128.[ch]. - -All the shortcomings indicated here will eventually be resolved. This -is a work in progress. Features are added in a semi-random order: if a -point is blocking to progress on booting the Linux kernel for the shix -board, it is addressed first; if feedback is necessary and no progress -can be made on blocking points until it is received, a random feature -is worked on. - -Goals ------ - -The primary model being worked on is the soft MMU target to be able to -emulate the Shix 2.0 board by Alexis Polti, described at -https://web.archive.org/web/20070917001736/http://perso.enst.fr/~polti/rea= lisations/shix20/ - -Ultimately, qemu will be coupled with a system C or a verilog -simulator to simulate the whole board functionalities. - -A sh4 user-mode has also somewhat started but will be worked on -afterwards. The goal is to automate tests for GNAT (GNU Ada) compiler -that I ported recently to the sh4-linux target. - -Registers ---------- - -16 general purpose registers are available at any time. The first 8 -registers are banked and the non-directly visible ones can be accessed -by privileged instructions. In qemu, we define 24 general purpose -registers and the code generation use either [0-7]+[8-15] or -[16-23]+[8-15] depending on the MD and RB flags in the sr -configuration register. - -Instructions ------------- - -Most sh4 instructions have been implemented. The missing ones at this -time are: - - FPU related instructions - - LDTLB to load a new MMU entry - - SLEEP to put the processor in sleep mode - -Most instructions could be optimized a lot. This will be worked on -after the current model is fully functional unless debugging -convenience requires that it is done early. - -Many instructions did not have a chance to be tested yet. The plan is -to implement unit and regression testing of those in the future. - -MMU ---- - -The MMU is implemented in the sh4 core. MMU management has not been -tested at all yet. In the sh7750, it can be manipulated through memory -mapped registers and this part has not yet been implemented. - -Exceptions ----------- - -Exceptions are implemented as described in the sh4 reference manual -but have not been tested yet. They do not use qemu EXCP_ features -yet. - -IRQ ---- - -IRQ are not implemented yet. - -Peripheral features -------------------- - - + Serial ports - -Configuration and use of the first serial port (SCI) without -interrupts is supported. Input has not yet been tested. - -Configuration of the second serial port (SCIF) is supported. FIFO -handling infrastructure has been started but is not completed yet. - - + GPIO ports - -GPIO ports have been implemented. A registration function allows -external modules to register interest in some port changes (see -hw/tc58128.[ch] for an example) and will be called back. Interrupt -generation is not yet supported but some infrastructure is in place -for this purpose. Note that in the current model a peripheral module -cannot directly simulate a H->L->H input port transition and have an -interrupt generated on the low level. - - + TC58128 NAND flash - -TC58128 NAND flash is partially implemented through GPIO ports. It -supports reading from flash. - -GDB ---- - -GDB remote target support has been implemented and lightly tested. - -Files ------ - -File names are hardcoded at this time. The bootloader must be stored in -shix_bios.bin in the current directory. The initial Linux image must -be stored in shix_linux_nand.bin in the current directory in NAND -format. Test files can be obtained from -http://perso.enst.fr/~polti/robot/ as well as the various datasheets I -use. - -qemu disk parameter on the command line is unused. You can supply any -existing image and it will be ignored. As the goal is to simulate an -embedded target, it is not clear how this parameter will be handled in -the future. - -To build an ELF kernel image from the NAND image, 16 bytes have to be -stripped off the end of every 528 bytes, keeping only 512 of them. The -following Python code snippet does it: - -#! /usr/bin/python - -def denand (infd, outfd): - while True: - d =3D infd.read (528) - if not d: return - outfd.write (d[:512]) - -if __name__ =3D=3D '__main__': - import sys - denand (open (sys.argv[1], 'rb'), - open (sys.argv[2], 'wb')) - -Style isssues -------------- - -There is currently a mix between my style (space before opening -parenthesis) and qemu style. This will be resolved before final -integration is proposed. --=20 2.35.1 From nobody Wed May 15 17:19:24 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 1648765248018780.7797717134567; Thu, 31 Mar 2022 15:20:48 -0700 (PDT) Received: from localhost ([::1]:44722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na39q-000890-SP for importer@patchew.org; Thu, 31 Mar 2022 18:20:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37438) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na38M-0005hb-N6; Thu, 31 Mar 2022 18:19:15 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:45897) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na38L-00019J-8Z; Thu, 31 Mar 2022 18:19:14 -0400 Received: from quad ([82.142.13.234]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1M9WqY-1ndN2n2rLw-005WGQ; Fri, 01 Apr 2022 00:19:01 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 3/4] vhost-vdpa: fix typo in a comment Date: Fri, 1 Apr 2022 00:18:56 +0200 Message-Id: <20220331221857.433867-4-laurent@vivier.eu> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220331221857.433867-1-laurent@vivier.eu> References: <20220331221857.433867-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:GazMYegsQxuda6DoJ2ADOD5A3QtMFxPrKj7lXHcJklviIf4xTHk J3/9ALOz2IS0bJSq38vZiAFdKzHOz6zp9P3RhHRveg2nea68xMJlVcerNQIlmAYqHJ3Hu/s pm9l4EsttIFfOqQjofCcttoJUPDBcM6swE3qZJh0VH0gYiChO/yJQQzw0T6Cbr4F7sxlkw2 /yy6qLJGNZU/v2PcqwfLg== X-UI-Out-Filterresults: notjunk:1;V03:K0:gUJDZR8uY+M=:4SyTGHS2M6JeuUQd5GSjiu h+dpp+M46AD/egDHUbw3z96N+r/FTxF9qLTnqnIXH/hq7OPoAGx77gO1IsLJlO3qQ7rBijT5n QmZ+cbHCgaKlWicitewVql6aYCFXkEBX1g4Qw3Z9gq24vwMBZLytHZN+GsDUNR7ymKScVe3po zLaYaXg3GAedOyQ3aG0R8CXoJ7Nf2oUxOXcKvM/EoNSm0yspjiO9GvEb2zQj+xDfzWJl+NRZz t+CUS8RAdupNnGDNlWI4NauuWObQ4NwGNpCzFeg7PQewZ5wMKLzn6pjqojVos6novuGETU3Zo bt/SDJSjetmNGqLNdWCVukolDo0bx1XzvDFanldzER57zKdGHwkyGqCmvDqHw3x859jFdfq71 ZkY/WFtNDsIpiGMXlo85nw5KyL7w/WZZdZbvlnX2zoJSUhvKhSy/oxuiSqXmJzwTca2v9Lfjp ExmBFN3kK9PSWqZazx8yAom4yHTo0UmMnbGP6snaoKPhJz7+310pRXnpLDoBXh/hTUWLRaaK3 xhYWljNnAK/GBFx3OxjkJTWQ/ZSjOhjjZ3K2OdKBBXKEw0TvxQYXHLyXtAkPnDmGrxywU4a5k cIICXYaQe/pc4wdEU9y7NmdhXZScRo4BqjtvbQsbbK17kqhD1DGxh1bI5kAk3gVuhERlKocoP 39r5MedJIsxm6t0m1AVp7iNeMKRMK1OytH0xdl+cQklmDuP9Rqfy1DAvvCdQ2fAAUtn0= 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.75; 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Cc: qemu-trivial@nongnu.org, Laurent Vivier , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Stefano Garzarella Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZM-MESSAGEID: 1648765250042100001 From: Stefano Garzarella Replace vpda with vdpa. Signed-off-by: Stefano Garzarella Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20220328152022.73245-1-sgarzare@redhat.com> Signed-off-by: Laurent Vivier --- hw/virtio/vhost-vdpa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/virtio/vhost-vdpa.c b/hw/virtio/vhost-vdpa.c index c5ed7a377939..8adf7c0b92d9 100644 --- a/hw/virtio/vhost-vdpa.c +++ b/hw/virtio/vhost-vdpa.c @@ -299,7 +299,7 @@ static void vhost_vdpa_listener_region_del(MemoryListen= er *listener, memory_region_unref(section->mr); } /* - * IOTLB API is used by vhost-vpda which requires incremental updating + * IOTLB API is used by vhost-vdpa which requires incremental updating * of the mapping. So we can not use generic vhost memory listener which * depends on the addnop(). */ --=20 2.35.1 From nobody Wed May 15 17:19:24 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 164876525290817.015300117945003; Thu, 31 Mar 2022 15:20:52 -0700 (PDT) Received: from localhost ([::1]:45120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na39v-0008PK-Ue for importer@patchew.org; Thu, 31 Mar 2022 18:20:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na38O-0005jP-Sz; Thu, 31 Mar 2022 18:19:17 -0400 Received: from mout.kundenserver.de ([212.227.17.13]:54953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na38N-00019W-Ah; Thu, 31 Mar 2022 18:19:16 -0400 Received: from quad ([82.142.13.234]) by mrelayeu.kundenserver.de (mreue109 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MIdW7-1nmPbP11HR-00Ecx1; Fri, 01 Apr 2022 00:19:02 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 4/4] tests/lcitool: Do not use a hard-coded /usr/bin/python3 as python interpreter Date: Fri, 1 Apr 2022 00:18:57 +0200 Message-Id: <20220331221857.433867-5-laurent@vivier.eu> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220331221857.433867-1-laurent@vivier.eu> References: <20220331221857.433867-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:qpxTbYOVp2KVYXMAV9/hvcc3WGbZhNAQpd1zjP+BYsTTip83A9b OH7kD1EjD4ZkZXotNd+upyTHp7dysx/i8qWok3Pl6dQgaV532oGRHRtaq30p5urr0/bF/AW d40BuJchjomeNGh6z1Ud8rZW2lAWMMXj6Gzj3z/V1pHxKTIjg6iZJszMoLqnWx6ZhAv10+h AmtNGxuO7ID1GLBSFrMuA== X-UI-Out-Filterresults: notjunk:1;V03:K0:83GrVj4BnbQ=:yCgduO7WA7H+UAnEu81oAb ehaTMNnhFguzhrqfO3fuKtCZXEL2JGM+ExXWio9PeGEzjA10BtUD2MHfQOlHe6LB3keOpxwj+ LOQK5/bCeSQ4VDot3whEdq7XMyus6v2fPrwYMWlQmLB3wI/p0bMAyiCg0fXnm5UYfv4NaZkkC YR6L58gDi4Bg4qLCuKxJ/MRBuWfS1wjCGQTrLA/j1fl1aVvf7GcAROFivdhyAdxJC+COE3VO8 88pmEz8zwaai6VkgmiTUSBzZRWhXTmlQXkvXJi636HGCOChteXuUcCUEL6aUTimW823uJ0Zzk DBbmnWrfbkx3SXA36RSnQZzfYSk6TTMo8pwRmAo8L6RmWdxnvT+KErBOH0fTIAYLIyXB2br/t HitOvwD0souUrMYFSWOElMuSq7ZIiUZ9F/NZogr78oX/lSmxv7DF4s+PznWXVt6tnuiYLoYHi MsQaH7mugzxDotNMq3Kw7alSrb9n2Ab/62OmqVZmiKJhWfC6uHXESCFNZ62uccI5BneiQhvMn zQYaT+yf/vgO7ny8hiOox5zaLraFUTl+/93swC2FTC9JeJyIh8W4AHuJCp+MivuZtE9VMerIV jZ8Cp1lWdik+8QzAb12WBJWMsrHJpSuMvuRKkZLuCcHw2RUnL6ReRaAU0Z9vrnqYAGsHAF3ta i3Hspd3/1asvFsXKe6mdkbqnERusBSe5YdDybGOY0CcN97iyBAfbV0t9cql+4H9mtRls= 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_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , Cc: qemu-trivial@nongnu.org, Thomas Huth , =?UTF-8?q?Daniel=20P=20=2E=20Berrang=C3=A9?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZM-MESSAGEID: 1648765253762100001 From: Thomas Huth When running "make lcitool-refresh", this currently uses the hard-coded /usr/bin/python3 from the script's shebang line for running Python. That's bad, since neither /usr/bin/python3 is guaranteed to exist, nor does it honor the python interpreter that the user might have chosen while running the "configure" script. Thus let's rather use $(PYTHON) in the Makefile, and improve the shebang line in the script in case someone runs this directly. Signed-off-by: Thomas Huth Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Philippe Mathieu-Daud=C3=A9 Message-Id: <20220329063958.262669-1-thuth@redhat.com> Signed-off-by: Laurent Vivier --- tests/lcitool/Makefile.include | 2 +- tests/lcitool/refresh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lcitool/Makefile.include b/tests/lcitool/Makefile.include index 6b215adcd1e0..3780185c7c45 100644 --- a/tests/lcitool/Makefile.include +++ b/tests/lcitool/Makefile.include @@ -14,4 +14,4 @@ lcitool-help: lcitool =20 lcitool-refresh: $(call quiet-command, cd $(SRC_PATH) && git submodule update --init tests= /lcitool/libvirt-ci) - $(call quiet-command, $(LCITOOL_REFRESH)) + $(call quiet-command, $(PYTHON) $(LCITOOL_REFRESH)) diff --git a/tests/lcitool/refresh b/tests/lcitool/refresh index 1f00281b443d..2d198ad281a0 100755 --- a/tests/lcitool/refresh +++ b/tests/lcitool/refresh @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # # Re-generate container recipes # --=20 2.35.1