From patchwork Fri Oct 26 15:31:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989643 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hTL26xpqz9sDr for ; Sat, 27 Oct 2018 03:03:06 +1100 (AEDT) Received: from localhost ([::1]:60836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4Zk-0004pi-IH for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 12:03:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4Jm-0004ut-QI for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:46:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG45z-0004cO-Iq for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:32:25 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:48635) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG45y-0004Xg-PV; Fri, 26 Oct 2018 11:32:19 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mpkwn-1foOEz3MAH-00qAjm; Fri, 26 Oct 2018 17:31:41 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mpkwn-1foOEz3MAH-00qAjm; Fri, 26 Oct 2018 17:31:41 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:06 +0200 Message-Id: <20181026153125.24738-2-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:He25IKfwYFFVyHEil/j6dKpPeRhUiROgBqc5BJx27k1B1AKKmXO qa8n5M3ZE4MoK5dD72n7rLGWNdhQKeKRZLiQb20zepMpYZIyPxxa/tDYamLBUAHqHzeE9CF 4uCMn0kDcpBEdHiNAh7bfjj9WrnhhbuPeQVYcTLldb4t988sA3gQv3vSBVpdNk+cPIfGu1l uaiFLEWI12qDiH0aJW4rA== X-UI-Out-Filterresults: notjunk:1; V01:K0:6TtGxG1Ucd0=:lLo9Hj/tctiwpnmBpNrNBf hyV45z8dHa9qmM3TGPdSvl+k3jr2G3LmZyn1W2g6oPRBE4XSpcdrG9E3WkE9EK/+NU9pYypq5 EG1tJYW0zhr7tWDypkjZVvxTM4AnQ8LSrBSCLMmVEundB430Pn/Z+1hpz7c3Jbk/ML36ztSnF r2PQDbtJR9H8fv8whKhxUdngZRSswtekR7ly4CSAosseCZsNWblwX+msGI9fdiBkxw4yFihe9 TrYitG1AqLDCAxyU6U0uFoXRUuVHtM+OnvVw3Ik2WZ9nmNcG3g0kF8eLz27DfTLSgOMs0Lb10 TIsp27Wpt2WvLCDwHG0jrngTLHsDEupVkpCt0XdH9C31XlexChk2z19Zroi6F4IW3X6vCY3Fo i5D4ka0H8luKFMjeFLq3osLzPt0a527TmjHipahqnOP4m87vr5JYN/yqzTMs7w/Z8Sf0CNqrD c9zizvtI5YPlgL6EvpLuh1F7jwZurUunqwdPI7daHhCDhuBLOP99lBLNz7ZZ0H6cqCKqqxfX6 cIaAAdzF4vUaYZlHOuT667ktqwSWxbVgXC0GH263SGWxLZLChuATuTbjX+j+Va95ZfT+u/YcH kQKgwANzVb9V23a++4YwkdxnsIa/nkatt00ZcTBC1F/gmxBmLKbY2wsZMUHNbagGfXDO4flHz NgINbg49DOFmqEeyHssKEWbG7mX4BaFDU1kdvbw4Qr2+QyTUwGxCHBPFkjc1WHUI/i8hoWGjY NN1m4AMuT7+XV11O X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.131 Subject: [Qemu-devel] [PULL 01/20] configs/alpha: Remove unused CONFIG_PARALLEL_ISA switch 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Thomas Huth We don't use CONFIG_PARALLEL_ISA in any of our Makefiles, so this is just a dead config option which can be removed. Fixes: a4cb773928e047b137c6998209cf2eec857fac6b Signed-off-by: Thomas Huth Acked-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-Id: <1540376314-5727-1-git-send-email-thuth@redhat.com> Signed-off-by: Laurent Vivier --- default-configs/alpha-softmmu.mak | 1 - 1 file changed, 1 deletion(-) diff --git a/default-configs/alpha-softmmu.mak b/default-configs/alpha-softmmu.mak index eb58b40254..4d654eaa0b 100644 --- a/default-configs/alpha-softmmu.mak +++ b/default-configs/alpha-softmmu.mak @@ -8,7 +8,6 @@ CONFIG_I82374=y CONFIG_I8254=y CONFIG_I8257=y CONFIG_PARALLEL=y -CONFIG_PARALLEL_ISA=y CONFIG_FDC=y CONFIG_PCKBD=y CONFIG_VGA_CIRRUS=y From patchwork Fri Oct 26 15:31:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989637 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hT6L4F8wz9sDX for ; Sat, 27 Oct 2018 02:52:58 +1100 (AEDT) Received: from localhost ([::1]:60757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4Pw-0002Dl-58 for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 11:52:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4JI-0004rD-QI for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:46:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG46n-0005Kq-M6 for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:13 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:38743) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46b-00050Q-3E; Fri, 26 Oct 2018 11:32:57 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MlsWZ-1fowSp3FMh-00izzc; Fri, 26 Oct 2018 17:31:45 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MlsWZ-1fowSp3FMh-00izzc; Fri, 26 Oct 2018 17:31:45 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:07 +0200 Message-Id: <20181026153125.24738-3-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:zBjl53BXLDe83XDR0nGwZqpIXJTfSYzSSQLcc1Ra1jlaNe34CWR KOkhU7t9XI7rx/kTUZ6JQIGoHDEUYDO/crW3v6gOJOTdRkiq0sf3t1QVk+pyDhuX6hfVfR4 kHS4Xb0mY/mbilVRTy3F0UJ9pYANfzYsgWyMJsqZm+jGoBpyOuSF87ktwatxSgMuRbckFWz HXJU8o0zIXuiqbQwn1XlQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:R69yLWdoEGY=:/6fuZA9vUDYa94U80yL7Re BTxE+68DjkiHBvTqKlI0jY1909EIV4woPaDZmHy5MuFOXIrBjJnzuWjcboP4ubrXU8okMPYzq UQTx+nRaKB3KKS8pqZZfYy0SU6pPBdfjK87EFi6iRWrFW94NBbhvvMLD2njSEulDDlrdT+RKw 513MvxTFnfEquqWka5ORcrEbkTN4DyrODfT0OoDO0QJdGVldNjcsiC3gtaulQ6q1DYUT3kBhU ZstMW6xCehFfo2/g0NXPs1KFT3FtZFenLgNai9kK1ZPynGt3unahHqTgA0zCpvBXnqUI8fTx1 D+lM+TZo1/13GZfV3H3b0N5CRb70UoBP0NeIV07euKhFqLHVDeAJYHhFz01/v5XLHgw1G/ypm zFi0rQmGckhn6xpkMoTI8K6CfYY70EXft1Y7Y5UAySW23pAbQ6miILtz7W/Q+YuBJdngzhLib d/oWJMsnezo+SAL5/RiD3hXXm5tsUmY6nPgdjj9aKoPLOnPK2ocXOHt7C5RkT3BPhEB6bFirO sZeQGCNX2DkaGNIy0te5gub4ztYiLUfkWfQvP6nPv4iC7dAz1Q2n7/0zPUSK/WCq9QReRT7lz CbPBK0YyJ9DkZZ5ckykzaZcMsYJSGWPgKJlgyFQ/p2HSAe4pG5rrrTR0y//VkeO6wc8CEFIN+ TbBnsetVUjD8+TVrD+RQxkBm4nh8thOK6yqJP+0d6JbcJzNNHVRnrOFWLZkLTZFS0naQWG2+5 Z7Ywxyj4PChWLkZt X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.187 Subject: [Qemu-devel] [PULL 02/20] vga_int: remove unused function protype 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, yuchenlin , Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: yuchenlin Signed-off-by: yuchenlin Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20181022080053.9379-1-yuchenlin@synology.com> Signed-off-by: Laurent Vivier --- hw/display/vga_int.h | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/display/vga_int.h b/hw/display/vga_int.h index 6e4fa48a79..55c418eab5 100644 --- a/hw/display/vga_int.h +++ b/hw/display/vga_int.h @@ -166,7 +166,6 @@ MemoryRegion *vga_init_io(VGACommonState *s, Object *obj, const MemoryRegionPortio **vbe_ports); void vga_common_reset(VGACommonState *s); -void vga_sync_dirty_bitmap(VGACommonState *s); void vga_dirty_log_start(VGACommonState *s); void vga_dirty_log_stop(VGACommonState *s); From patchwork Fri Oct 26 15:31:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989646 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hTPy74XNz9sDr for ; Sat, 27 Oct 2018 03:06:30 +1100 (AEDT) Received: from localhost ([::1]:60860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4d2-0002hG-Ge for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 12:06:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4JH-0003mJ-H4 for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:46:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG46t-0005QI-O4 for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:17 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:58815) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46a-0004fJ-96; Fri, 26 Oct 2018 11:32:56 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MTOZQ-1gAc183Rs4-00ToMR; Fri, 26 Oct 2018 17:31:47 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MTOZQ-1gAc183Rs4-00ToMR; Fri, 26 Oct 2018 17:31:47 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:08 +0200 Message-Id: <20181026153125.24738-4-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> X-Provags-ID: V03:K1:kZEj9JglbRW2FesANw2/HZOsdrHk8/OHFw64y91KTz11EYf+3oK 7ZzeSp8mMDCAQ6bF3DuoD3LlgGfGQCH0lj4lQUWko1GcelP2Dn1zQiqhyL0IoQb6oYg5LJU Psxa4KPYBA2DrW6aDL91hamu7kHwdOcATSbSjLa1Yd0pW8bjLxc1PlW0P1MKykgm46Zoexm X3SdiZg0xVzI3npVN/nEw== X-UI-Out-Filterresults: notjunk:1; V01:K0:bdivrMHNBek=:2ZJEsyHlCb3wurBMkhn7N/ 4nCEuOhazb+/j0d6nHmbFA2m3oFMAdSFrBE+GkHMhwG2IQestGZJV5YWA8fxOHLZCwFIM/knW x3zMmB3mn/SpN+qTUo4C2rodcwYTUwb1lkSqWZmW5Kc8JJK+hnBwXkWreIcrY55T20rgjGkck uAi0zE3iaglbYC4HdLiC1LXnoBwphBEkzD3ScjrBEFBlpszewEwSCwn1HBVKUpGeMUwAgJyji iPWnIxXc2XW2gLv8E2r7yKsUGLFrfJL1+KF+x4n0YDkT3G7/RCVo8nrYubQvA+zBURLPILNSa ojophlfSRbU1shzrqBosYIn2w9AwWm8+rc9dvMOcWSu52aY+L+ywC0M5yfA98deZnlLV5/tue TVbSpXbL7+7FChM+2+PX7xfif0RzmIcgw6HElc2fKTVAE/AR6od/+wfHNLu0o8A512RjFw3uH VGAVeOrE50jzdxvO3OG5EvcOQNJ90xRhxns2KX6pz38TRc8gf251X7qnI2X95ad61B6TA9WAb kZ+OWBxb6b1yvTdn/8WQaQ/Uq3N8fUxh9ZWAnbkEHV2IzK7xITH4JpbgMc/wFRIDKlQbjD6Px m6Wo0HeMfAi8TpdHfOr22t/r7AV1x0bJeGxavhfLHdPo9Qxjw4e0CMaD5M50geOF6s8o+KIuq wLqCMS6gdbWLQJQ3F/M+lTnMZnPVgmPud7xXenNkr46++Wl/3i9fRe6Xo4yiX0yFqWzo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.187 Subject: [Qemu-devel] [PULL 03/20] memory.h: fix typos in comments 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Li Qiang , Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Li Qiang Signed-off-by: Li Qiang Reviewed-by: Peter Maydell Message-Id: <1539080467-2976-1-git-send-email-liq3ea@gmail.com> [lv: s/types/typos/] Signed-off-by: Laurent Vivier --- include/exec/memory.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/exec/memory.h b/include/exec/memory.h index 667466b8f3..d0c7f0d9e9 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -935,7 +935,7 @@ uint64_t memory_region_size(MemoryRegion *mr); /** * memory_region_is_ram: check whether a memory region is random access * - * Returns %true is a memory region is random access. + * Returns %true if a memory region is random access. * * @mr: the memory region being queried */ @@ -947,7 +947,7 @@ static inline bool memory_region_is_ram(MemoryRegion *mr) /** * memory_region_is_ram_device: check whether a memory region is a ram device * - * Returns %true is a memory region is a device backed ram region + * Returns %true if a memory region is a device backed ram region * * @mr: the memory region being queried */ @@ -1161,7 +1161,7 @@ uint8_t memory_region_get_dirty_log_mask(MemoryRegion *mr); /** * memory_region_is_rom: check whether a memory region is ROM * - * Returns %true is a memory region is read-only memory. + * Returns %true if a memory region is read-only memory. * * @mr: the memory region being queried */ From patchwork Fri Oct 26 15:31:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989647 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hTQ14KzNz9sDr for ; Sat, 27 Oct 2018 03:06:33 +1100 (AEDT) Received: from localhost ([::1]:60861 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4d4-0002ih-WA for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 12:06:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4JR-0004py-6P for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:46:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG46j-0005GB-8o for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:07 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:56805) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46a-00050H-Rx; Fri, 26 Oct 2018 11:32:57 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MTw02-1g6kOk3SfS-00R3T7; Fri, 26 Oct 2018 17:31:49 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MTw02-1g6kOk3SfS-00R3T7; Fri, 26 Oct 2018 17:31:49 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:09 +0200 Message-Id: <20181026153125.24738-5-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:EqrCcCCeryytj/EJt3z+yvPaYKZmo+zIeqXRDhM4eiT4LD5VtWt XJDWHA9dqlGUPNVoPTS5vrGwQtX7WRjb8KrjCiNro3nhuJhF9tAhaXk2PnCjcguW/qfVlEW OXUG9066WSidDiXc2d7fW+koK6xO0INnTgOhGeeMcB+nGnnIitXMwXifNYqDGXM+hes1xKb JwztgEokHeIxqwQlDmNWQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:gxbSjhlq8I4=:STMEumJ8Sz+ty5IwIg/FB1 AFtEOP+h3oIIQS0T2rUik2u5roQibFBgBavr3G74H5678wEF1W6GIVceCw31+o6XwfwR1RMBf m0Gq2NPhBPIu1EiFvk9aaLY4HRL5OpQTsKR/d+MPJOx2lHOhMwqN4jnXHCRjcdGV+/4MLaqdd oGgvompMUsypet3dwP+I0j3wM8uoXPSi6+KbsFIEZUuX2uCHNyhuA/g5otXnT8BinLS2i2/78 ZoUrARLrUSv1WAqLuSyoqeTvxVy71vbDt2m6lfHkqPO/gKX1eUcd/s9iN1nEC2xLAy3fJskos EphgktAY9EZuZ+Y+acHy/jzs/DBj3Eh0N/VkWAs33Ve8ikh+Gbyrf8ctfdCecMkoT6LhVzfkN OAI7ncLVqkwcbUUtI14Kbg5cl+gTv35P7LA43TLoskJLTxQE2STzluxM5pg0Zb5q7ZLjLPm6g XaFq4ixfhpIpLYBIouGRl6Piitgyz41IFDoEW84LjrSvZ17K1doclJjApwqWCUqtNjdbe5Vv2 c+4MlcbufO4v4zH6spt8tP6wOuZZsbt7GEjl3FcrydCbKQ6YLVlyQ0QUUPONulC6GL69hUMQk n11mJlqmL1T6mg0J8qvu9Cm7e/IF6B6HpNYT6iQpN3Ho491EMByJcpJsc2rJBSAM5kxUo5fzt H6knrHll5RdgQZ0UI0eszuIU4yCkAEgAMRA5pC+qjckUGWdLC6zdiRD72ntZ5a0mkZqn8JFbt Fjt0gjbxRq8iiOHF X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.134 Subject: [Qemu-devel] [PULL 04/20] tests/tcg/README: fix location for lm32 tests 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Cleber Rosa Point to the right and obvious location for lm32 tests. Signed-off-by: Cleber Rosa Reviewed-by: Thomas Huth Acked-by: Alex Bennée Message-Id: <20181004161852.11673-3-crosa@redhat.com> Signed-off-by: Laurent Vivier --- tests/tcg/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tcg/README b/tests/tcg/README index a5643d33e7..2a58f9a058 100644 --- a/tests/tcg/README +++ b/tests/tcg/README @@ -10,6 +10,6 @@ with "make test-cris". LM32 ==== -The testsuite for LM32 is in tests/tcg/cris. You can run it +The testsuite for LM32 is in tests/tcg/lm32. You can run it with "make test-lm32". From patchwork Fri Oct 26 15:31:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989653 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hTZZ4rshz9s9G for ; Sat, 27 Oct 2018 03:13:58 +1100 (AEDT) Received: from localhost ([::1]:60915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4kG-00034A-7U for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 12:13:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4JR-00041t-74 for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:46:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG46j-0005GK-AR for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:07 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:44053) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46c-0004yJ-1q; Fri, 26 Oct 2018 11:32:58 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MuF4v-1fSVlz3MEf-00uabe; Fri, 26 Oct 2018 17:31:51 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MuF4v-1fSVlz3MEf-00uabe; Fri, 26 Oct 2018 17:31:51 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:10 +0200 Message-Id: <20181026153125.24738-6-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:AHIYzvZ0k2AaXsDkHzyH3mfSFFsxCdqJRBeK+MP9hZPehMjxUA5 eGWZ82GiJJn0o7a+gzV3bkC3phsf/nyn3w2kiRrkal4eHCM1+CBGa+6eSV48Rp0EbJrJaBP 69+ksD/WCvbxM6QJg4wt40DWgit+xvppkxtX8mfuNUPyyYaiUEamF54ab7ID27sfRInL+b8 Dcn6lFU8pDiyUJrNXA2Mg== X-UI-Out-Filterresults: notjunk:1; V01:K0:a079i6mtQvY=:mXM+exP3XoS8LPq93wsz7g mW0aRzKSCQk5ysSjcpRMVQW7FCYBEGhf9KStCMzo8U4B2YL/MzIZUT2LDozfBjzq+OUBaU3Sw lTpFZW8aEK5qasOYh8zUZ3DePbSp0D30BmroEqxD9d+jPYUejS4O0ZV+M41X3mH33xr/f9eDo 0guOYHzqAtf8CR9PRgIqIXZodBMu9bZzHXleI95vhtePv8GxCWQUWrTv8nHdhnBDllB8z+d7w hbb9qVWSJebZLv6Yc+3o/H8E33sZIA8yia7Kl7VNrVf3L4Lh7S8PwpsVgqRn+MFScKIzmp59F BPwbLDQ6qMwgAwYp76WR4w5M/mf1XLrT5qCmT06F3zrNVk3wfKZftPVUwyhdpQXiwB1HMOFmF pqxYPNFr2rLDFFUXF/X34AIWuyRR2jt3yadBmsgcSiF9lQ0RDoYZM3VGlRv98R2ia6dbuzSzj BjfFM03oUVNu1BX4CMl3hCr1t1v4+VP4DwWjYpGojts722TfTVf9MsLKbWN96AHtg10bE1n3u RvYEyj3GXOz+ivlYMdHixAGnJsj/Ug0xM/sS70M98aQLX24e1+863VqKzLJ2XO836CDrHmhHu gNsDFrB+LRXiIJKxNmznQkTeXl2LXAraOjeLPMbTCfF9tR8ek+m6j6X8/9nquenwzvZsbtAeI 6viJrksGHumC2QWFJnxcF3tvlSJAGuCOWQCI/XY05MW8QbSz0ZFFlfG5RMwpK7cE/guEfmbuh giCVff7Z8XZ0mARP X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.187 Subject: [Qemu-devel] [PULL 05/20] qemu-iotests: fix filename containing checks 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Cleber Rosa Commit cce293a2945 moved some functions from common.config to common.rc, but the error messages still reference the old file location. Signed-off-by: Cleber Rosa Reviewed-by: Max Reitz Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20181004161852.11673-5-crosa@redhat.com> Signed-off-by: Laurent Vivier --- tests/qemu-iotests/common.rc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/qemu-iotests/common.rc b/tests/qemu-iotests/common.rc index 44bee16a5e..70ca65b49b 100644 --- a/tests/qemu-iotests/common.rc +++ b/tests/qemu-iotests/common.rc @@ -170,7 +170,7 @@ if [ ! -e "$TEST_DIR" ]; then fi if [ ! -d "$TEST_DIR" ]; then - echo "common.config: Error: \$TEST_DIR ($TEST_DIR) is not a directory" + echo "common.rc: Error: \$TEST_DIR ($TEST_DIR) is not a directory" exit 1 fi @@ -179,7 +179,7 @@ if [ -z "$REMOTE_TEST_DIR" ]; then fi if [ ! -d "$SAMPLE_IMG_DIR" ]; then - echo "common.config: Error: \$SAMPLE_IMG_DIR ($SAMPLE_IMG_DIR) is not a directory" + echo "common.rc: Error: \$SAMPLE_IMG_DIR ($SAMPLE_IMG_DIR) is not a directory" exit 1 fi From patchwork Fri Oct 26 15:31:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989652 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hTWC5Vv3z9s9G for ; Sat, 27 Oct 2018 03:11:03 +1100 (AEDT) Received: from localhost ([::1]:60899 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4hR-0007er-58 for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 12:11:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4JO-0004sw-8c for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:46:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG46n-0005K1-IT for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:11 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:46021) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46a-0004nF-I7; Fri, 26 Oct 2018 11:32:56 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N0Ip5-1fLKm73INL-00xLUq; Fri, 26 Oct 2018 17:31:53 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N0Ip5-1fLKm73INL-00xLUq; Fri, 26 Oct 2018 17:31:53 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:11 +0200 Message-Id: <20181026153125.24738-7-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> X-Provags-ID: V03:K1:2+1lzwmIIdattnKA+t5WqCfOHMufIsowG/DvIeGG3ALda4ts/4l vg/56BnLUH4llLRRRXwxyQHqDIY8mXRkjp058XeF2z6YiLzJlxY8PSM/JDoY84qU1I5yp+X R/QG7DOWUGBWRE8Jys9SPwbpJeLtrrrCKcNhnK/tppJoFHsNUmrh+C7gQ4MNFSjDYteJOTs 2+WczfZcTVkfhI4HDIEHA== X-UI-Out-Filterresults: notjunk:1; V01:K0:PKURthrx+Nw=:JmorG/7/AkZafoiTBWgSxi Sy7o0uJeBRLST8ZpLbIBjLALNpXZTH7HKZVGnt5OXwuz9kcax+XcdRtKIS/N5ZJNtWu2kr0LL 3jfLMx4xhQgj+66H3WT7rrISJxDtZnnBFq2DKOiME2Fg2K6gIKccWtjI9zOnhcxq9yvJnHG5i GEuZwrA6XojC49Eb4RiHwrHA0y2DDpLS/ni4ens9A3naoHSFqFZ3dtP86qAnwXZ/YelNa3JfB gJQQcVxsqM1z9Y+0+ylx6H7Jb1Uw2YTveK0vWBNy7GNjpoSF+K85hNh3mOpLtkGVd9KU/i7it XuPRiJTN/qA1hnDCc0L3BVaXTDtwt+V/WcQQDGCnc04kpxo1Elg1MHi4lpvFyueJBbMgm22Hn EK78WDk+UvL0OLBPwaPrDfm1jGLJu3sUbedRgNhzvbOD8mSx2nj39k5QEOzPYnbjGtKks7AOu WqFZq+P1yYlrArloVDaVfPFMsCvqK3RARRLWP7XYinmWzuhNVcJOJgoiQRjyJJkUfwkqJihNv +5QYwQhXmbd0PxplIIW6hHL1hFOLdsVVgGp2zZ8biKpwCIx99SzYtIbmCQP2654M0eCfbfMl2 jiY8iONR9fvq7UtTYJSEFQwvSDIEpy4KUAV8f6lbpjpF6td+o8XVmWQOeHgV1jiJrB0/JV4SY 3FbNWdvqpgjMf0UzrcTlExxTQVJkcoNtnGUSBQEG0cc7ILZO/kld5t3JIS3mAmvyfT+c= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.130 Subject: [Qemu-devel] [PULL 06/20] docs/devel/testing.rst: add missing newlines after code block 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Cleber Rosa The line immediate following a ".. code::" block is considered to contains arguments to the "code directive". The lack of a new line gives me during at parse time: testing.rst:63: (ERROR/3) Error in "code" directive: maximum 1 argument(s) allowed, 3 supplied. .. code:: make check-unit V=1 testing.rst:120: (ERROR/3) Error in "code" directive: maximum 1 argument(s) allowed, 3 supplied. .. code:: make check-qtest V=1 Let's add the missing newlines, both for consistency and to avoid the parsing errors. Signed-off-by: Cleber Rosa Reviewed-by: John Snow Message-Id: <20181004161852.11673-6-crosa@redhat.com> Signed-off-by: Laurent Vivier --- docs/devel/testing.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/devel/testing.rst b/docs/devel/testing.rst index fcfad87614..a227754f86 100644 --- a/docs/devel/testing.rst +++ b/docs/devel/testing.rst @@ -59,6 +59,7 @@ variable (which affects memory reclamation and catches invalid pointers better) and gtester options. If necessary, you can run .. code:: + make check-unit V=1 and copy the actual command line which executes the unit test, then run @@ -116,6 +117,7 @@ and using gdb on the test is still simple to do: find out the actual command from the output of .. code:: + make check-qtest V=1 which you can run manually. From patchwork Fri Oct 26 15:31:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989654 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hTb33tBQz9s4V for ; Sat, 27 Oct 2018 03:14:23 +1100 (AEDT) Received: from localhost ([::1]:60920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4ke-0003O8-Q4 for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 12:14:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4JM-00041v-Ai for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:46:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG46n-0005Kw-Mm for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:13 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:52399) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46b-00051X-PP; Fri, 26 Oct 2018 11:32:58 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N4vFE-1fZLOI3GmS-010wFj; Fri, 26 Oct 2018 17:31:55 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N4vFE-1fZLOI3GmS-010wFj; Fri, 26 Oct 2018 17:31:55 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:12 +0200 Message-Id: <20181026153125.24738-8-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:U9jVNabS9lDH6itzy1tIuUq3Dt7MRpDCm4Ceq17/qNHbC9X0h5c bdPdHiYmNSZxMSWmNkn3Oqhzdl41sly6mR5dEgnur0/O381eFifPyK1NhpaDAa083Hkd8D2 4K2Ck0+J+3JsvqwaEfnY0RYawswXFFy0uDk+1ZcXjEOYrKcN3mE3bQ6uSDh2NuaUAyegpdC /tuwCWsdh3QnYJLvvelbg== X-UI-Out-Filterresults: notjunk:1; V01:K0:Z8jlqrDC1/s=:yg0uejzoMUY3/zwEwpWOCv 74RG8Fc4Ywkp5e2ZiVqgX7xtjDy/TJgkjLt+wtQhUYZCUNW66pUVPZU7XEgXV/GqG9z7Muwxq v/MkIOuluji8QQcgJhr+Yur2nO88B8Fc+nxpWjo5YNnhEIHDntW9iZ20AWpS4T2eussjUGM0k Q5C8F/Xcglkp738LY9a1P8LwbuLFt4WgWqtjsktBQdRIOrZh5ZBVWp2kfT88+QcAknWLdm80V 90bk+YjQvfsvK/O+E/OKhcKT2ly6RVigg81LT7vkY4iXBD6QVKwGQUzQ/nm0n2voXCyhPbxbl WXverTlelHZ6YNHEp/J6OVopu+L0+ozxd4zoqLOQ+tkZG6Y3RdhnP7RhA1xy+Cr7jMzau4l8v 9QoSsswgXq28vIT5miwyupdvHdro3BKZUIqskO8yI2Z4e81EPL+Fh++ksig1lhExdVKFGt9iR OWRaGHrkULfMA6mmcUp3boiLm23SnR4+fItTA8a7aTGqZJxM+nSSWnat5ROHHYpprvMmKYgWe uOoZjkxkgbuL6BWaABBkZ8ALzWw1NYADw/7ShPtvWVW4p1LyNVVepVkCKdXQ3MPkKL9P1LXIV tnOLr7pXDPHuA1WZYfyQzqqjze4WD7mPYMHo76Gmvq3Pi6b1KQn72pSZwq2b7pD39NyTmd4Ww AhAXup540d2yjasVFchKRMJHXhhHv7cACjL2vlRlfSCisowJRyVvSk5PRa9bSAMsQy5a2Dw7t lz9YtcQ6hycHLray X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.133 Subject: [Qemu-devel] [PULL 07/20] scripts/decodetree.py: remove unused imports 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Cleber Rosa Signed-off-by: Cleber Rosa Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20181004161852.11673-8-crosa@redhat.com> Signed-off-by: Laurent Vivier --- scripts/decodetree.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/decodetree.py b/scripts/decodetree.py index 277f9a9bba..457cffea90 100755 --- a/scripts/decodetree.py +++ b/scripts/decodetree.py @@ -149,12 +149,10 @@ # trans_addl_i(ctx, &arg_opi, insn) # -import io import os import re import sys import getopt -import pdb insnwidth = 32 insnmask = 0xffffffff From patchwork Fri Oct 26 15:31:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989645 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hTML1LTVz9sDr for ; Sat, 27 Oct 2018 03:04:14 +1100 (AEDT) Received: from localhost ([::1]:60840 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4ap-00072I-Pa for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 12:04:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4J8-0003tU-N2 for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:45:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG47B-0005XS-Ab for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:37 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:50227) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46b-000529-41; Fri, 26 Oct 2018 11:32:57 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M9qYn-1gCTaj3BfJ-005nJ0; Fri, 26 Oct 2018 17:31:57 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M9qYn-1gCTaj3BfJ-005nJ0; Fri, 26 Oct 2018 17:31:57 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:13 +0200 Message-Id: <20181026153125.24738-9-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:Y9ErdKazy18pRB4sG30VI0C2WaT1vuPEezP7oCLYrbTfLCVfYYH oNPCWNLcp7NXxcXxQQUjHLCr2pTZGohUEtfYpAr+KXetrMfFky2zQmFY6CXbKAO3fEh6ON2 5DUKTcThUbkphkRoQYijLb1KR7+QzpeZ8kAU/ZS8C3nw1gz7r3+iRBRRj4jrAYJrwrUwM6g eo+1kef5MijhhbhuYk9cw== X-UI-Out-Filterresults: notjunk:1; V01:K0:Job3xHGt+as=:7GzYCbv+GfH3YLI0X+i0bY wBk2kGtdFyNPJOk0wnMLRyf3Fxaq3CUxJxXMTiJrb0G2IfIRl7oNmgnkrp85B8IbpB2xiL7S6 DRzg18Y32vgrTfEBN3OBiZuDCQyhz6CT/M1ii77z5nAQ/lubRApo5R3+waKa3qAMsrq/fMssj Jm48HFZ9kTI/Hxq/mtS27YinTvQHfNEomASwXihOWkfZ7v3rknVRVc4FagcuA+zdSCA32OHVD Xe0bDQj9qz39k8aTVCFHQ/PnLJlBhef5acy5DOkO9ndrdiybST5mZ+cV4+cvMI8nibibVZAnW F4ySnL/fwtmqDVPPOjs9+E/SzBOiNEDBLDgc7GUaCmxBFmHol/fY4Xm6Epxp2HjpVKC91fsSw 0qh9zye7bEc+pqu8E16KphS5YwDDhD7DOena0wQntAJJr75vNc8Uf0NwFAekbKyR0+rLVJUDl aaj3lJiNsTkCuzOIzlmW5VDh8q/zvafsSE4/5k2dZhEFBqwo1mERB5ikY3/fHmqcCYp0YfyA2 ffqTjuYltCtgMNQT9z1jbJT7vQKmJelToPG43+WbOEGf4OPqEFHiWFshayRDcLw0txzrnDiGL 2/cxafNSLLa7C0+VmJAPX1CmRNHH84jMYgRq+E7lrKUvkL9ABid1mNsemWb8DLccyJ+ENHW8h mFZStuKOYKnDyJ14ySTu9HDMpPTVz1R+KAsjrlpiIZTXbqhggj4CCh63ENWSYrnlBd65NjmOG 3f6LrvJnLsHoQ4J1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.133 Subject: [Qemu-devel] [PULL 08/20] scripts/qemu.py: remove trailing quotes on docstring 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Cleber Rosa Signed-off-by: Cleber Rosa Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20181004161852.11673-11-crosa@redhat.com> Signed-off-by: Laurent Vivier --- scripts/qemu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/qemu.py b/scripts/qemu.py index f099ce7278..b0b2f12ce6 100644 --- a/scripts/qemu.py +++ b/scripts/qemu.py @@ -87,7 +87,7 @@ class QEMUMachine(object): @param name: prefix for socket and log file names (default: qemu-PID) @param test_dir: where to create socket and log file @param monitor_address: address for QMP monitor - @param socket_scm_helper: helper program, required for send_fd_scm()" + @param socket_scm_helper: helper program, required for send_fd_scm() @note: Qemu process is not started until launch() is used. ''' if args is None: From patchwork Fri Oct 26 15:31:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989642 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hTJ20SSsz9sDr for ; Sat, 27 Oct 2018 03:01:22 +1100 (AEDT) Received: from localhost ([::1]:60823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4Y3-0002XE-4X for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 12:01:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4JH-0003tU-H7 for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:46:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG46t-0005P8-CY for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:17 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:50307) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46c-0004pG-BA; Fri, 26 Oct 2018 11:32:58 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MHmuE-1gKxte44cI-00EtqH; Fri, 26 Oct 2018 17:32:01 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MHmuE-1gKxte44cI-00EtqH; Fri, 26 Oct 2018 17:32:01 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:15 +0200 Message-Id: <20181026153125.24738-11-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> X-Provags-ID: V03:K1:GLB0mYYnfApJP68SEo13hvBeJvGYhMbIqgqKLx71zpXu9iLI3OS pyPgDiUiZq/11QMNSoWCIWlXTj5eVXeHsEC0rWE5tNKXTVtVXrizW6jfthcDgGZgRbUvISQ xZFoh+dyVn+Qiuam6N6Mjbun89sOPq5h8UYSkyYKhwt7BX7sDV8mSz4mbjhWezrDAmaDyqZ 1R+3xrk16csIlR2SjC5pg== X-UI-Out-Filterresults: notjunk:1; V01:K0:vVwgMDbK/qo=:nLfGV5TAWnSor2ljWWEgnA gvrSqjujEC1XqVSWcERipkSOiJhtzxmLdVI4KPlFlPGEPg2L4y0jEobuoYPG7qtuvjhGo36Tv YyfkcgzcoXP7/8CgiCFnow4XZUtAVxFatqjqU+9+f/3B5FpyyTx04NXuNVp4L9c0m5YDcRW4s 4Tg1W6sLyNRfa/97ZT2yS1TJlsEgOtmWQ2qM/8nYbjg/avjfgT0An2qiwv4OR1SALq3r+KjW7 m+6YV9Hc26aDTNIiXuPp3lzQKXkw3/Z4KS+wqgj+kRcsClV03dfFzutV9FmqxvuTpCHgDmXpn XX4XcMnIyf7d/yg8s/9b2w8aalSYK5slskm313zazZhNUYdhCnJWGjHkLwQ6W3ECoafC9k2BD n4mh9xlwA0US7lU4EzlEAOgv4jaZEiO9OiksSGR+m3uaTOssKHDf5z3KuDfz2pF9VeY6M4gMa b+0eex/xdcFlSlIrawy7kkqkmV4+TxRYB3SaPoYzXXtQkYLLNJOnwrPUuiqaopsuRZhYgk3r1 58HHc72V1uHvXeSmGG+mHYswq0ZiM3T8iO66sY9rIlwNh5W45v9W8fGdJKOzaiKACWicT78Yx Jnm/Z3EPmR5AD3LUWnFQ1WZ8MYd81f7L54S65MDvR/IZyL6lRR2gWvLOLeZl3LdBbkCKDWlwH ZRwt5omGI8zW3WPt87J7baxdjMiSuQR4TxXaxY8/j6uMazOoNXAYwRJOeu6HteTczpcU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.130 Subject: [Qemu-devel] [PULL 10/20] linux-user: fix comment s/atomic_write/atomic_set/ 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Markus Armbruster , "Emilio G. Cota" , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: "Emilio G. Cota" Signed-off-by: Emilio G. Cota Message-Id: <20180811211011.6277-1-cota@braap.org> Signed-off-by: Laurent Vivier --- linux-user/qemu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/qemu.h b/linux-user/qemu.h index 1beb6a2cfc..dde3f26f5a 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -143,7 +143,7 @@ typedef struct TaskState { /* Nonzero if process_pending_signals() needs to do something (either * handle a pending signal or unblock signals). * This flag is written from a signal handler so should be accessed via - * the atomic_read() and atomic_write() functions. (It is not accessed + * the atomic_read() and atomic_set() functions. (It is not accessed * from multiple threads.) */ int signal_pending; From patchwork Fri Oct 26 15:31:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989655 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hTj8515Wz9s9G for ; Sat, 27 Oct 2018 03:19:39 +1100 (AEDT) Received: from localhost ([::1]:60960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4pj-0000Gt-OO for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 12:19:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4Jk-00041v-Tm for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:46:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG46Z-00052K-JB for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:32:59 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:34765) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46X-0004oS-Lo; Fri, 26 Oct 2018 11:32:55 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MN67J-1fzMYQ07k5-00J2rW; Fri, 26 Oct 2018 17:32:03 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MN67J-1fzMYQ07k5-00J2rW; Fri, 26 Oct 2018 17:32:03 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:16 +0200 Message-Id: <20181026153125.24738-12-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> X-Provags-ID: V03:K1:Y9I56rcz2zqBUdx9sZmh5haNlZFYN90Tlg6dIVa2wH4bczZqV/I 5dk3p8ZA0jjfSgIQr56tEVjM5iTNvvSsr0+f/UgDBHoajTSbJEZvjbzWNxn4VdEemIKmcSi zVJfYCRgPCdXZeD+qo7L27VnJMGH3J8WbPYuPT8Nj+UhBAUYlI5NXQUvZdZtMjHwc0qQBts irxmTF3hu/8A4/HDYnJpA== X-UI-Out-Filterresults: notjunk:1; V01:K0:q7UIvLoxIig=:77i3K5nCa2NQaxpkSEfQEp xmB/GpNuSkOERzAV4BOqw3CNL86mSNgKG42SwdgFHGxE4YMWN347JI1HdeVV+g04HkNNSh2Ez 8bgTZ+opug7EmeSqSOnYFiwTX76J4wLBuC7tNFi56Lr4rxTqBFTrXocnBn2u15Q0oKkwybdab 7VAPUWenQ6ZKPvDZFI+gauaRuNq3gz6hXPe5gX2iE8uf2lC27lPJq2J8N5Zzj90Regqh9tdP/ T0AUtM2JzVbNriGVgUOJTA83qhquAiByqROcOsN2VS1jivMwhBHwGc2gorARqRnYw6BNTFvEH D6O6w6UHHXV2AyOJH0tU4twChDdN/C7Kdz8k//M3bF0e8W4PnPPfXn8n5yP3zoNC99ojL5vRx 9L6GCQt5BqLQ+S9XQMlo2mu1gudRp7bno3NTusou4COu/S2sZbpagAiBWqxChxsw5nkHBWyT8 wReFd1kGd53aL8YQA+sokWdblwlZ0gRudVfazWSf+g6M+Tvs3IiVk8lgBKDIAY8Wh1tSwjZhf cVojfiJZD8bN2TYTFKtUXr8S+Fi+j+Nbv96OhpC13+wIHxEAyDMmGYW6/CNFYXb1wEE1fttOD mEIQ+oXxWNZdVf1R79ELvlQxzgc0LfBenSWviPXo/eMCO8unq/q/jT2VBl+l1Pc/dQTV7Q2+t r8cZwqeB5DA+W14t+80pkMPedHC8IYA+q7aq5ory7oDdD0J549RsHt1XYDpPHZeNZLbM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.130 Subject: [Qemu-devel] [PULL 11/20] cpu.h: fix a typo in comment 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Li Qiang , Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Li Qiang Found by reading the code. Signed-off-by: Li Qiang Message-Id: <1536150548-2797-1-git-send-email-liq3ea@gmail.com> Signed-off-by: Laurent Vivier --- include/qom/cpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/qom/cpu.h b/include/qom/cpu.h index 4e238b0d9f..def0c64308 100644 --- a/include/qom/cpu.h +++ b/include/qom/cpu.h @@ -852,7 +852,7 @@ extern CPUInterruptHandler cpu_interrupt_handler; /** * cpu_interrupt: * @cpu: The CPU to set an interrupt on. - * @mask: The interupts to set. + * @mask: The interrupts to set. * * Invokes the interrupt handler. */ From patchwork Fri Oct 26 15:31:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989634 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hT273P5Cz9sN8 for ; Sat, 27 Oct 2018 02:49:18 +1100 (AEDT) Received: from localhost ([::1]:60732 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4MN-0006wA-E3 for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 11:49:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4JC-0003mJ-Qb for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:46:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG46u-0005Ql-1q for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:17 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:33755) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46b-0004uO-3G; Fri, 26 Oct 2018 11:32:57 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MgARS-1ffLh50QDG-00hbtl; Fri, 26 Oct 2018 17:32:05 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MgARS-1ffLh50QDG-00hbtl; Fri, 26 Oct 2018 17:32:05 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:17 +0200 Message-Id: <20181026153125.24738-13-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:ex2+kfocSHYiSFatyHnbgYg6PbpKVY9xitw2Vhe2SRwOK5wFpye WzTXWFeZycPBflsRTUQCJdfJIfYS9wEbxqIdLf56LCf/IQvTYsruo8snUVasRtP0S0J2GDm aIK9o7o9Xqjm5SH65Y1gwW7/diBtR9KEvlXschdEGuYXQ0Utfn/dtKaQlokYxvqWmBzEnIK mIyPtVj6UdDrWmQD06JLA== X-UI-Out-Filterresults: notjunk:1; V01:K0:detTgguHPt0=:Ec7dYIeTiXiizbwBWjVA82 1bhjC0EtY+xf53OOXuG7Q9VOa+aBJgKppIySlxiVx4ci0aLVXddBuGtRgBBa6snQutylLHcGh E6GV8BiZ8jZY6JgU4cdjPTFR8Y0/0ZSF+1ARF6IqT31mrHv3C95ZSpt7RR5w7I3cK09ki8I72 iTvOjHV1YBt2E0sXxUE6L5rqeI/tS6EPVX61VpUBs47PPnNclH6vuGIWeem2FK4IIXHQZPX6p lDOkTX2T/RRTjasH4Xof6elqb+e2hfDpLQbQt+HRJQJw+5FjgJStOeKDAsVIXWhLRVbiZjuSq cjZGKBS7JuTmrYoCQb6zy8O90746NWCVLrSuSkwTurxJL59kRYyUu9Ml4MQnrsGqd/f7IjYhS fYrcj9yYO+zAOdusUjkIuV9I0I0k0RMFlvMoXyUIu10Q62ivYAe+8qhm4gvT9IyLNp/6wpwOQ QHQPwrsSBcz+lNzIzt2Yd31cGQffdPF2hy3PInHpfrLhz7e7rMUXaX6QruTR1YL3hK5IU3Dx4 rXaUG+WpG+co3oGpHj+ywZMaKhs9Ho3RoAvMBAfIl2HSb0XFiOTBfeFSj89I+NIMJJbu1JB1Q qdBPxuMpcI7kzT2rUvBbz6q5EfKAXCyRcVDlWSFwjRHxJtpMG6fVYPqH4Qz8t1sWxBXwHhUAK HUBzn/KyLcw2aGvS0aPRuDzhnr/Vbxg+ef/m1To4nq01zVCYJ4tt42FgZ/XuR0HKBLFumdPlB 0spzLrBGT41oirWY X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.187 Subject: [Qemu-devel] [PULL 12/20] tests: Fix typos in comments and help message (found by codespell) 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Stefan Weil , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Stefan Weil Fix also a grammar issue. Signed-off-by: Stefan Weil Reviewed-by: Alex Bennée Message-Id: <20180713054755.23323-1-sw@weilnetz.de> Signed-off-by: Laurent Vivier --- tests/bios-tables-test.c | 2 +- tests/docker/Makefile.include | 2 +- tests/docker/docker.py | 4 ++-- tests/guest-debug/test-gdbstub.py | 2 +- tests/qemu-iotests/common.qemu | 2 +- tests/tcg/Makefile.include | 2 +- tests/tcg/Makefile.probe | 2 +- tests/tcg/mips/mips64-dsp/subq_s_pw.c | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c index 4e24930c4b..af4b1fb6bd 100644 --- a/tests/bios-tables-test.c +++ b/tests/bios-tables-test.c @@ -390,7 +390,7 @@ try_again: if (g_file_test(aml_file, G_FILE_TEST_EXISTS)) { exp_sdt.aml_file = aml_file; } else if (*ext != '\0') { - /* try fallback to generic (extention less) expected file */ + /* try fallback to generic (extension less) expected file */ ext = ""; g_free(aml_file); goto try_again; diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include index 6e03235ab9..9467e9d088 100644 --- a/tests/docker/Makefile.include +++ b/tests/docker/Makefile.include @@ -41,7 +41,7 @@ docker-qemu-src: $(DOCKER_SRC_COPY) docker-image: ${DOCKER_TARGETS} # General rule for building docker images. If we are a sub-make -# invoked with SKIP_DOCKER_BUILD we still check the image is upto date +# invoked with SKIP_DOCKER_BUILD we still check the image is up to date # though ifdef SKIP_DOCKER_BUILD docker-image-%: $(DOCKER_FILES_DIR)/%.docker diff --git a/tests/docker/docker.py b/tests/docker/docker.py index 44d5f7493b..02d8a83847 100755 --- a/tests/docker/docker.py +++ b/tests/docker/docker.py @@ -97,7 +97,7 @@ def _get_so_libs(executable): return libs def _copy_binary_with_libs(src, dest_dir): - """Copy a binary executable and all its dependant libraries. + """Copy a binary executable and all its dependent libraries. This does rely on the host file-system being fairly multi-arch aware so the file don't clash with the guests layout.""" @@ -284,7 +284,7 @@ class SubCommand(object): name = None # Subcommand name def shared_args(self, parser): parser.add_argument("--quiet", action="store_true", - help="Run quietly unless an error occured") + help="Run quietly unless an error occurred") def args(self, parser): """Setup argument parser""" diff --git a/tests/guest-debug/test-gdbstub.py b/tests/guest-debug/test-gdbstub.py index 474d2c5c65..0e4ac01426 100644 --- a/tests/guest-debug/test-gdbstub.py +++ b/tests/guest-debug/test-gdbstub.py @@ -122,7 +122,7 @@ class CatchBreakpoint(gdb.Breakpoint): def run_test(): - "Run throught the tests one by one" + "Run through the tests one by one" print ("Checking we can step the first few instructions") step_ok = 0 diff --git a/tests/qemu-iotests/common.qemu b/tests/qemu-iotests/common.qemu index f285484951..dadde2a266 100644 --- a/tests/qemu-iotests/common.qemu +++ b/tests/qemu-iotests/common.qemu @@ -257,7 +257,7 @@ function _launch_qemu() } -# Silenty kills the QEMU process +# Silently kills the QEMU process # # If $wait is set to anything other than the empty string, the process will not # be killed but only waited for, and any output will be forwarded to stdout. If diff --git a/tests/tcg/Makefile.include b/tests/tcg/Makefile.include index 57470b2a2c..c581bd6ffc 100644 --- a/tests/tcg/Makefile.include +++ b/tests/tcg/Makefile.include @@ -2,7 +2,7 @@ # # TCG tests (per-target rules) # -# This Makefile fragement is included from the per-target +# This Makefile fragment is included from the per-target # Makefile.target so will be invoked for each linux-user program we # build. We have two options for compiling, either using a configured # guest compiler or calling one of our docker images to do it for us. diff --git a/tests/tcg/Makefile.probe b/tests/tcg/Makefile.probe index 15c0412657..9dc654663d 100644 --- a/tests/tcg/Makefile.probe +++ b/tests/tcg/Makefile.probe @@ -2,7 +2,7 @@ # # TCG Compiler Probe # -# This Makefile fragement is included multiple times in the main make +# This Makefile fragment is included multiple times in the main make # script to probe for available compilers. This is used to build up a # selection of required docker targets before we invoke a sub-make for # each target. diff --git a/tests/tcg/mips/mips64-dsp/subq_s_pw.c b/tests/tcg/mips/mips64-dsp/subq_s_pw.c index e8e0b0567e..4c080b785a 100644 --- a/tests/tcg/mips/mips64-dsp/subq_s_pw.c +++ b/tests/tcg/mips/mips64-dsp/subq_s_pw.c @@ -24,7 +24,7 @@ int main(void) rt = 0x123456789ABCDEF1; rs = 0x123456789ABCDEF2; result = 0x0000000000000001; - /* This time we do not set dspctrl, but it setted in pre-action. */ + /* This time we do not set dspctrl, but set it in pre-action. */ dspresult = 0x1; __asm From patchwork Fri Oct 26 15:31:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989639 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hTCB2Dbqz9sMl for ; Sat, 27 Oct 2018 02:57:09 +1100 (AEDT) Received: from localhost ([::1]:60792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4Ty-0006OG-2K for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 11:57:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4J9-0004cv-On for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:45:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG46w-0005Sz-An for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:20 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:46289) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46n-0005Ha-J6; Fri, 26 Oct 2018 11:33:11 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N2SXX-1faiyG0v0B-013yG4; Fri, 26 Oct 2018 17:32:07 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N2SXX-1faiyG0v0B-013yG4; Fri, 26 Oct 2018 17:32:07 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:18 +0200 Message-Id: <20181026153125.24738-14-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> X-Provags-ID: V03:K1:nHwqIfD7U1p4B2yoxOg3RbD7c0Q74lJnwOwV3+memYJKXd3VPHe ukJt7WzZgTFF8QfTFWEH8S+Kf/pXvB56SNq79YrtKkct5Bc1bE62Zqold5ehue7Ngj6gXZh ic4RlJ9ug1N1xqIQLYFSHfDHmWQrNQNJII4YgJ9s/ruhmlhI0LVhrIjrNYsS161Z4ZQTuKq dKIkAR8/79m8hupRwCipQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:u0w10T44iq4=:9aPSRBKTLB6nG1raNJUVAo IYRblKzQ+KTyDtQ5cT/QxcnxjdO49BCoiVJHMAEjzye5s+4S9kjyXuoCI8Tkkt21yBPP0OWdv Dr3qGNEEGXw9IUyGQm5/aMVxIsq5CG83Y5pyS+ovvttzW0MYl/ELBNfDUSxt44VEDbVSo4ned MsvIrXR3OOy+uNW+p3BzEOnaVRUCGJMzqShk8XdgN3G1ERVd6pjFmBwTP9/8C6CcGyrAodSof uqd6KajrBc9i1pyszFjLIC9pgSXPsLsrcw6jYMGnQ/Gzm2kXzrmLR8D/1Vyq7dKkJSCbaLH1T gBvSfUd0l+7fhqn+bOcRYtMVFL3Kwj7YMDHNMwbZL9h2hF9U3I3M/EK0MyZq5YV8cds8xYDzf GDGrKjUpEZglB82W3MmQLxOhh/t2gSfUW0PHmM1ngibCUXy9AdubtpOIU548idKOEOTjvxpVT /NDq2RzWYsW7/iUHPZFC7ocJR++HqEV8ITNdJoispY6ycRT/yH10zJZoefv9yTb9/t1lvEau6 FyvbdlPtubEFjF/OexQiSoq+t24OgmoPIz7VxoNiNcLpyfRCHUUf3Vpq6GRpPk9B6q00P/k1V E4EcwT9Wy7fM3v/5XallPkxURFRxwoEPCJgAAdX2UGeRjsyml4M5iPua4zPeCAfOyYU9trVH3 Ul9Ee0TcZx1paAZ66Su+q25L2H952IEeRu1bLXrcs5HoVDGyMnznCjR1P6FGpMk+MGrE= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.133 Subject: [Qemu-devel] [PULL 13/20] configure: Support pkg-config for zlib 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Stefan Weil , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Stefan Weil This is needed for builds with the mingw64-* packages from Cygwin, but also works for Linux. Move the zlib test also more to the end because users should get information on the really important missing packages (which also require zlib) first. Signed-off-by: Stefan Weil Reviewed-by: Stefan Hajnoczi Message-Id: <20180712192603.11599-1-sw@weilnetz.de> Signed-off-by: Laurent Vivier --- configure | 40 +++++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/configure b/configure index 1ee09bd112..a02df30dde 100755 --- a/configure +++ b/configure @@ -2151,23 +2151,6 @@ EOF fi fi -######################################### -# zlib check - -if test "$zlib" != "no" ; then - cat > $TMPC << EOF -#include -int main(void) { zlibVersion(); return 0; } -EOF - if compile_prog "" "-lz" ; then - : - else - error_exit "zlib check failed" \ - "Make sure to have the zlib libs and headers installed." - fi -fi -LIBS="$LIBS -lz" - ########################################## # lzo check @@ -3479,6 +3462,29 @@ if ! compile_prog "$glib_cflags -Werror" "$glib_libs" ; then fi fi +######################################### +# zlib check + +if test "$zlib" != "no" ; then + if $pkg_config --exists zlib; then + zlib_cflags=$($pkg_config --cflags zlib) + zlib_libs=$($pkg_config --libs zlib) + QEMU_CFLAGS="$zlib_cflags $QEMU_CFLAGS" + LIBS="$zlib_libs $LIBS" + else + cat > $TMPC << EOF +#include +int main(void) { zlibVersion(); return 0; } +EOF + if compile_prog "" "-lz" ; then + LIBS="$LIBS -lz" + else + error_exit "zlib check failed" \ + "Make sure to have the zlib libs and headers installed." + fi + fi +fi + ########################################## # SHA command probe for modules if test "$modules" = yes; then From patchwork Fri Oct 26 15:31:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989644 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hTL82NGyz9sDr for ; Sat, 27 Oct 2018 03:03:12 +1100 (AEDT) Received: from localhost ([::1]:60837 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4Zq-0004qr-0p for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 12:03:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4JB-00041t-K8 for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:46:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG46t-0005Pt-H3 for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:17 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:38645) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46b-0004pe-5K; Fri, 26 Oct 2018 11:32:57 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MqINP-1fkWcM0r3b-00nPqS; Fri, 26 Oct 2018 17:32:09 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MqINP-1fkWcM0r3b-00nPqS; Fri, 26 Oct 2018 17:32:09 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:19 +0200 Message-Id: <20181026153125.24738-15-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:BYR+/FPhEvEIEPaEM5ke2EXSPWYCalHZ0Y81g7n3v3Tl3p//XTQ o6GosBJsTIKYw/euWRnKMWZD4sKg4mcJEFHpocdLHNonF/yZncm5xqg8lu93h6CYOkdBT/n D38fB3r0/AEutCRHTyOewRUmSkMX/pm+hxr3Ro9oCVuHeDRl9LWBcYc8HoHHTw+g0uS7n3F NBROm3ztSMeuMNBqmkFEg== X-UI-Out-Filterresults: notjunk:1; V01:K0:Fvg2WalvKo4=:nBzqshRJOV20mzxB+QvkFN awi2dQnkDtBvX4YV3SSHdiONNwwKlL5XWpYI1YXMBQY7Mq5f3nfuGlNeXjGMUf3m+FEmrVaZJ 11R7omVgLeRdzviaLZ5ZcqZRvc0nXXrEKTT0buFO62pMeCBpdMsyMw0w/gmKNALVQfD23w+Sp VHokr35LpzGOGVUQkh8ADFrQjacCzYnV8ILB4nuRevzd0nK2b54P1Z5Xuxo1UpMtFO8PvvJNF 7qWw+oZ7MJlAXPpPUiQw8xqTu6NFDkF4oDbrqRqj2Ws8fkIBejOHIy/yUvURUIs+kXUMlwetl Du5AGvcQZqi036ahTuAGgtgN/eB8JdqY8bU+Tf0Wp5M0Uvz8kNbUWDfYetRK61UJXl5CZ7KQY dKnzy4QFZHxGKpHdzriIE/PPTFBKFp+mXMUzSuEoCIbT3frYSr6UdcviHwJcZphZXWsnHmSRr 21Cg0SfHVlGn2DX/VvvMrPU8LyDespxfpEEmqxlqJgcnG1eRHxvUt0q/pFTuIWOMEEC9jkdKX b+d/gP9KS/yjb5qcRriqYA8oFvZKEsxM4zCuMWGHOgNaTq6KQnOQMZzy1vLVmwIW4dzh72B6d jeQsbdXwqPMWViEkobCI1qabdyGwFMWmlWYWOsCbGQCmHXXDLoV/vfDlHXpB48X2K2EJIQPM/ OTY6fGK1P6BND3wLNryRETdhX2+2ixv0ux9lF/juSfNI66/PCgvjJELL26CFnpcVsM8USxNLb gzvHG8A8Zcy25FiO X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.131 Subject: [Qemu-devel] [PULL 14/20] qobject: Catch another straggler for use of qdict_put_str() 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Patch created mechanically by rerunning: $ spatch --sp-file scripts/coccinelle/qobject.cocci \ --macro-file scripts/cocci-macro-file.h \ --dir . --in-place Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Markus Armbruster Acked-by: Michael S. Tsirkin Message-Id: <20180705155811.20366-2-f4bug@amsat.org> Signed-off-by: Laurent Vivier --- qobject/block-qdict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qobject/block-qdict.c b/qobject/block-qdict.c index 42054cc274..1487cc5dd8 100644 --- a/qobject/block-qdict.c +++ b/qobject/block-qdict.c @@ -577,7 +577,7 @@ static QObject *qdict_crumple_for_keyval_qiv(QDict *src, Error **errp) if (!tmp) { tmp = qdict_clone_shallow(src); } - qdict_put(tmp, ent->key, qstring_from_str(s)); + qdict_put_str(tmp, ent->key, s); g_free(buf); } From patchwork Fri Oct 26 15:31:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989641 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hTFl3gwdz9s8J for ; Sat, 27 Oct 2018 02:59:23 +1100 (AEDT) Received: from localhost ([::1]:60809 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4W9-0000Ol-2I for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 11:59:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4Jg-0003tV-QV for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:46:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG46b-00055S-JE for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:01 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:35693) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46b-0004vo-0C; Fri, 26 Oct 2018 11:32:57 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N3Xvv-1fXPaK0qXL-010fOy; Fri, 26 Oct 2018 17:32:11 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N3Xvv-1fXPaK0qXL-010fOy; Fri, 26 Oct 2018 17:32:11 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:20 +0200 Message-Id: <20181026153125.24738-16-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:ujcQMLVnNdlA+bT6z6rODRtkZg/zsDEqRdCnz0gVnaZ9/UQrReP yYwtX/6ZZtTkN6YZvVq54IrtX1iqx1Xkwd5t2OJ98jNQ1a4UmWDICn6a7FyQKjgJF7W+Ctn QhTDR0tSekyjaYRLrbiYdL3X6UDp5aoM44K76g4syHvKF2eQxJRCBHixUz5iJDvpc3V9THi BBKc9sIV3voKPz5VYe5HA== X-UI-Out-Filterresults: notjunk:1; V01:K0:mDkSnPqe98M=:915bT4UpaXUVeT5R6liQYf w/dv7Ug2RSxa3KsGn+7+8g4f1ywSgyhZLKn7vYN0GfwmGhQArERISpZTBitmSAY/82mJJmPsB NvNdFf4tNjCK5ssXJsNtv4ZxU3h6e8CLvgCrGYxPKh7ON6DvOHEghV97LQUtR2E6sJxPGbrEZ ZRlftgPq3oJ8N7oFLRto2bVzIkVNDQOsWcxilAaFgKkd69mz/O60aiqy5qkym+i4hnDr7uMY/ 9Bty4ZbNp8mf1y3rtQc1uP1s7RWAf8BuDXeXiuSduAVbuwXcyUw5eMnWDkeJcgB2HdrMFYsxI vOPGdwsLZJqj+TLxiozh3y9lfi1YknPb7Nng/4fj0Z9nHsSJCGrJzacfFvYHyp/5YRuusD7Sk QDnBpWVYTJMnyyAVrNS9S+l2kR3n51RrIXDY6HjJ9GwcySHizBRyu8W3Ztj5QreLn/pYPvpS2 JuOJj0emB9SmQ6hwpmHc7LUwYSCzX1fQK4stbEF0T0+/Aeyk/SL95f+fuoJhrN9vZVtTTCqjH 7FHhGf525pC5VBpO0KCdiFwCDn5lEz3jfF5FGRgSVj2nqarRkJHS0cVsD1dUb9NCdAu4yCzSH CTOXdBv7ZjNZnlzw1rTTha8FTBVxwBEsgRVwSFOGR97Ilorc3IWMoWTq/HkwO/V8CFb9ERV1K RtoS1dDCoMkV+DEU4xVCJs5o1o9hNYzAlmnp1F9m1kIUuvD+OX+edWjILFNP//jnYmbq/OIji qt4DZM7g+prHqIIV X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.134 Subject: [Qemu-devel] [PULL 15/20] xen: Use the PCI_DEVICE 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé TYPE_XEN_PT_DEVICE is a subclass of TYPE_PCI_DEVICE, the clean way to access the PCIDevice pointer is using the PCI_DEVICE() macro. Suggested-by: Peter Maydell Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Markus Armbruster Acked-by: Anthony PERARD Acked-by: Michael S. Tsirkin Message-Id: <20180705155811.20366-4-f4bug@amsat.org> Signed-off-by: Laurent Vivier --- hw/xen/xen_pt_config_init.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/xen/xen_pt_config_init.c b/hw/xen/xen_pt_config_init.c index aee31c62bb..47f9010c75 100644 --- a/hw/xen/xen_pt_config_init.c +++ b/hw/xen/xen_pt_config_init.c @@ -358,7 +358,7 @@ static uint64_t xen_pt_get_bar_size(PCIIORegion *r) static XenPTBarFlag xen_pt_bar_reg_parse(XenPCIPassthroughState *s, int index) { - PCIDevice *d = &s->dev; + PCIDevice *d = PCI_DEVICE(s); XenPTRegion *region = NULL; PCIIORegion *r; @@ -469,7 +469,7 @@ static int xen_pt_bar_reg_write(XenPCIPassthroughState *s, XenPTReg *cfg_entry, { XenPTRegInfo *reg = cfg_entry->reg; XenPTRegion *base = NULL; - PCIDevice *d = &s->dev; + PCIDevice *d = PCI_DEVICE(s); const PCIIORegion *r; uint32_t writable_mask = 0; uint32_t bar_emu_mask = 0; @@ -543,7 +543,7 @@ static int xen_pt_exp_rom_bar_reg_write(XenPCIPassthroughState *s, { XenPTRegInfo *reg = cfg_entry->reg; XenPTRegion *base = NULL; - PCIDevice *d = (PCIDevice *)&s->dev; + PCIDevice *d = PCI_DEVICE(s); uint32_t writable_mask = 0; uint32_t throughable_mask = get_throughable_mask(s, reg, valid_mask); pcibus_t r_size = 0; @@ -1587,7 +1587,7 @@ static int xen_pt_pcie_size_init(XenPCIPassthroughState *s, const XenPTRegGroupInfo *grp_reg, uint32_t base_offset, uint8_t *size) { - PCIDevice *d = &s->dev; + PCIDevice *d = PCI_DEVICE(s); uint8_t version = get_capability_version(s, base_offset); uint8_t type = get_device_type(s, base_offset); uint8_t pcie_size = 0; From patchwork Fri Oct 26 15:31:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989636 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hT5k5CSdz9sDX for ; Sat, 27 Oct 2018 02:52:26 +1100 (AEDT) Received: from localhost ([::1]:60753 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4PQ-0001kL-AT for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 11:52:24 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4J3-0003mJ-II for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:45:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG47O-0005gr-M7 for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:47 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:55681) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG479-0005Tj-EK; Fri, 26 Oct 2018 11:33:34 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N3Xvv-1fXPaQ0kwV-010fOy; Fri, 26 Oct 2018 17:32:13 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N3Xvv-1fXPaQ0kwV-010fOy; Fri, 26 Oct 2018 17:32:13 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:21 +0200 Message-Id: <20181026153125.24738-17-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:jyFUglwv22ZGvQhGYHhC9I79VIt+cGsDI6GkuGxaHtotGw1i812 NY5fhRWppxfts+BIGYlT9+CFsQBIi9YOPobjRk6yGrv7p3XJtUaiEHuzfaYcPre/54W/5fz u+S8zriEuPn4ob6AJ5IVDCUEInX/eLQckyi5EMhYDLS/1YeouXlhmUe3diKxFl3lxdGxA/W xShGMcOi94+N8+L+g0tIw== X-UI-Out-Filterresults: notjunk:1; V01:K0:/1PXSljl2Y4=:6Kj16mcRkzvlI6uvICand2 KhQJ/ZKwV0E9ydZSHLRwpUakacRHwHVnnDwsXo2rD+OB3WdN2lTW9g41qOJxLJ3ruvMsnIYyH UhMABuBkQ0R6UaAgFnGLVmR96kOE2UF+D4CTaq9XoZCL/DIqnbcOmHcU7U4f9EZkzSwUWRsNE b70rVKHVbX9+A+ZyJePcd+cIBKnqCc/ezrK6opSjT0oIfGYPVQu3vlshpJdg/j+vkM6KzPbsC GApHIJoeGcjbHhIoPc6XV9O7SluYMnJ09IgTvvs/27VLnkpEQqMvAXIwGswtgjdthNlTHsw+4 f/Vyt40YleKh8d+S1h8wMkUfCezJ5c6NIKE8RbqTR1y55RbctbQXuKYnD1cmPW8LdwLTiWhVQ KNZsB+isGvHRkpyZ/1Fk+1smheBVN2znegsKs0sjW+LIkHviJXrf3elt538yMByqqzd8potmR K9JpltaDes3yfdUNrdvjDek6UsB6r6UPvmb7p+GEltz0FgSBjeAB8TCKKRjscsbLgUyi8MJGz fhBGs2KIyfrwTLVHP/sy3ybI6edLQ703zdKLELxQMzmS0V5o8RzMKPJcRNpvmgEMPtfXiCd0d fFa5sYi4VDRmHmjElP8sckOhb1YQ7V4q+Z2ijW4r1vrWGYqaEMVbCZScObm8dmTFFtr1Nn08S SI1u73UPQkoljvXGXeVoV4yphSbfEplPwl2fv2YE0eszq1iboFiNVrwdf8QZmJNgk/Ysu82C1 HNHEZ3Ts7yqxZHSV X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.134 Subject: [Qemu-devel] [PULL 16/20] tests/bios-tables-test: Remove an useless cast 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Patch created mechanically by rerunning: $ spatch --sp-file scripts/coccinelle/typecast.cocci \ --macro-file scripts/cocci-macro-file.h \ --dir . --in-place Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Markus Armbruster Acked-by: Michael S. Tsirkin Message-Id: <20180705155811.20366-5-f4bug@amsat.org> Signed-off-by: Laurent Vivier --- tests/bios-tables-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bios-tables-test.c b/tests/bios-tables-test.c index af4b1fb6bd..02e77ec811 100644 --- a/tests/bios-tables-test.c +++ b/tests/bios-tables-test.c @@ -319,7 +319,7 @@ static bool load_asl(GArray *sdts, AcpiSdtTable *sdt) ret = g_spawn_command_line_sync(command_line->str, &out, &out_err, NULL, &error); g_assert_no_error(error); if (ret) { - ret = g_file_get_contents(sdt->asl_file, (gchar **)&sdt->asl, + ret = g_file_get_contents(sdt->asl_file, &sdt->asl, &sdt->asl_len, &error); g_assert(ret); g_assert_no_error(error); From patchwork Fri Oct 26 15:31:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989640 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hTDZ13xwz9sMr for ; Sat, 27 Oct 2018 02:58:22 +1100 (AEDT) Received: from localhost ([::1]:60803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4V9-0007je-L9 for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 11:58:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4JA-0004cv-R5 for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:46:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG46t-0005Q4-IA for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:17 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:42695) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46b-0004x2-7R; Fri, 26 Oct 2018 11:32:57 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MyvFC-1fKVQL0l0M-00vyS1; Fri, 26 Oct 2018 17:32:15 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MyvFC-1fKVQL0l0M-00vyS1; Fri, 26 Oct 2018 17:32:15 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:22 +0200 Message-Id: <20181026153125.24738-18-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:+i9Bmgk1IwQUv0MsCRCyQhrt4v9377EbiyAgWwyN+GK3Ka67Uwc YTeH4mU8BLVpCOUY9aKO+ZRqTWJUjPIj6fxmgPwvxkX85DJcw4aKfnE9bphEJlQss8M1MDi 9DS8GuY7l8dCB8ktIvBkdMv/8dXcs2DLiDuhmRZL/Yf7FnFuD3PvOPam/Kj+VW8ixwy4AG+ eBFkvKCStAnisgNt+o9bg== X-UI-Out-Filterresults: notjunk:1; V01:K0:XmlXAmcRL4g=:KUSW9NWdAz/RjQzT10cBel oyM7NeKHFGR0Hi8+Lh6N2OI/21Q8LBP/9H6a+DZzk5PKt/9jf0l4iOajmxAnF3PgWz/xZodrL TA4BADz7pegVmfru0fTQ5aOZ2w5UXGvTPFI9tm5qNChVJ52VkOyVY0aDTQPu5RhRps9L2cBnF T1RToV3bACvarYCbYbAyR6ZC8GXB6iE4gSwokEnXm3zpWnJDOdugPwdkNkvPVul1g+KsLbgkC PsTxZaWA7zLknlcNLDBPg6kmhe774/k+L3EJMsTliBkzs7+JOWr4Qpxk24qTdUu8wqGrGAh07 deWqSBxD3MAObcNWA9/n7E/0BI14dL8A3cyqCr6dWPP8xvTbLrFyCnWJaRAu8EsCaPFS2e5AJ kfGAZ1H2jsTBo2KuBp+41J+hdV/UNSBNLvT6vNHQlsBDbmjGEFImCzKLNNHWTsULk4SAhluFl fNjU9uN1syOseVb/R7oFsSmNma2u0B7lscb6SVFiQBAyKcyQXr0FjDNax8KT1p4xiUc1OO19f /n3j4QnwEncpmBVSGZhQ0t1LJQJlpD10Fyhrnh/SUA3Uyi8gkzJvtRuOccVGNjs+NI8cAylTJ Pru3W1G65yvNJHTtLvhZgRWj3kCBGuRvRTSyiXOX920vu/DBptYNxNX9FGgU4pqB7oCqsrJKr 2WpciZlD5A+IyHYBns7hGfKI0RdAMhIYYgFDVHB9PhCImXzYvZGwaCPIgneLDi1PmgPix0g36 pMJJEoDceB9fLR5n X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.131 Subject: [Qemu-devel] [PULL 17/20] hw/pci-host: Remove useless parenthesis around DIV_ROUND_UP 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Patch created mechanically by rerunning: $ spatch --sp-file scripts/coccinelle/round.cocci \ --macro-file scripts/cocci-macro-file.h \ --dir . --in-place Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Markus Armbruster Acked-by: Michael S. Tsirkin Message-Id: <20180705155811.20366-7-f4bug@amsat.org> Signed-off-by: Laurent Vivier --- hw/pci-host/piix.c | 2 +- hw/pci-host/q35.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/pci-host/piix.c b/hw/pci-host/piix.c index da73743fa2..47293a3915 100644 --- a/hw/pci-host/piix.c +++ b/hw/pci-host/piix.c @@ -144,7 +144,7 @@ static void i440fx_update_memory_mappings(PCII440FXState *d) memory_region_transaction_begin(); for (i = 0; i < 13; i++) { pam_update(&d->pam_regions[i], i, - pd->config[I440FX_PAM + (DIV_ROUND_UP(i, 2))]); + pd->config[I440FX_PAM + DIV_ROUND_UP(i, 2)]); } memory_region_set_enabled(&d->smram_region, !(pd->config[I440FX_SMRAM] & SMRAM_D_OPEN)); diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c index 8ce1e09932..966a7cf92d 100644 --- a/hw/pci-host/q35.c +++ b/hw/pci-host/q35.c @@ -356,7 +356,7 @@ static void mch_update_pam(MCHPCIState *mch) memory_region_transaction_begin(); for (i = 0; i < 13; i++) { pam_update(&mch->pam_regions[i], i, - pd->config[MCH_HOST_BRIDGE_PAM0 + (DIV_ROUND_UP(i, 2))]); + pd->config[MCH_HOST_BRIDGE_PAM0 + DIV_ROUND_UP(i, 2)]); } memory_region_transaction_commit(); } From patchwork Fri Oct 26 15:31:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989638 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hT8810R8z9sDn for ; Sat, 27 Oct 2018 02:54:31 +1100 (AEDT) Received: from localhost ([::1]:60766 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4RQ-0003hS-Kt for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 11:54:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4J6-00041t-1k for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:45:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG47G-0005ZU-5P for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:42 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:39581) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46t-0005Og-H1; Fri, 26 Oct 2018 11:33:15 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N4eOd-1fYW2A0gTv-011lKe; Fri, 26 Oct 2018 17:32:17 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N4eOd-1fYW2A0gTv-011lKe; Fri, 26 Oct 2018 17:32:17 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:23 +0200 Message-Id: <20181026153125.24738-19-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:7uzmE3hXAIS81p8gYH56fkh6UHOHziydz3GRt0kqKk+9lI6V8tO ymcxVNd2k3nNh5OSk2Pk/jxynYGCbtG21Hh/1CgAkkVIWi48rsrCDSx+W4i0sR1XGlWK5kC NFLNOXod/A5Ns+fCSGK2nX6J9jQuXZ1bP7IV0vckAO2dQYDS8esPHcMSEKZ+oges4O0L4eH Ro/pTH0X+jX3PNs37yFqQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:sMp6R0Un3T8=:UOJ0GTL/xFzLMW0oWfWIC2 Wb/tFPUw5Dh4J/s5cNR5yAwXQDeWxdwkapc7bVXyEB7qk8b5KLPc6g6zbjOrT0HQ64QjHADx3 Jy/eAX7Ibk1C3TV0pHnvhXGjf+ALK7PvjZZr6zkh604AcvqGmjNrrLAt605XHBvD1gocDXbMc KmgLzntqdGbaJGd5Rj3FZ2YInkY6Z7kjuvfWw3/alimzMA4osUNiXO2MK43tk9gCcThE2DZbx 2fhGim5AgG9W4uOj0WJNef8Q+mzVEXdb8kdMAqDnRuiZfedp/GvojmlgPZnSn2TQ07vrz3UiC 6XpBYFAyTaBQ7EWq5F9gK6Bx6nqzFCXrVQeq7KJcjBoutxxntMLX97AVILrCuzgb0cRrS6OcJ bLr1tHAhuUb9PpMInWchc417uZgHQrlvfi67OdLltNOW3z1UGSvS1QvDzeAzaOLnYammOejmQ /SZ4DFuo/vtcO/ObBniPTq7K39xFuXE/feMgl8RrMxNDSJSVmsiVnlmtQ9v0hwyTjQFoXxyB2 QO993deYXeBHkKavB1yq98L+sUDD6ylz3m1MIr/hivJaZnHZ89YUApJ9IKC2kvIeIBjx1GkQ8 h6JdeXvBuzHAdU7bAceIG9aVfoDHfXwJ+f6q9VlbJWtNQPf1Pg2U0PqQv8WgOV4O5VMJjC56z hbhvur6+k1acJnD2K45fVbP9dNiRZlWtB30XVCjH6qmiKZZw1t9e48srm2CnaKE7k73kGGdxW ngmAYwqy4WUPDYeW X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.130 Subject: [Qemu-devel] [PULL 18/20] hw/intc/gicv3: Remove useless parenthesis around DIV_ROUND_UP 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé Patch created mechanically by rerunning: $ spatch --sp-file scripts/coccinelle/round.cocci \ --macro-file scripts/cocci-macro-file.h \ --dir . --in-place Signed-off-by: Philippe Mathieu-Daudé Acked-by: Michael S. Tsirkin Message-Id: <20180705155811.20366-8-f4bug@amsat.org> Signed-off-by: Laurent Vivier --- include/hw/intc/arm_gicv3_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hw/intc/arm_gicv3_common.h b/include/hw/intc/arm_gicv3_common.h index b798486ecf..31ec9a1ae4 100644 --- a/include/hw/intc/arm_gicv3_common.h +++ b/include/hw/intc/arm_gicv3_common.h @@ -62,7 +62,7 @@ * avoids bugs where we forget to subtract GIC_INTERNAL from an * interrupt number. */ -#define GICV3_BMP_SIZE (DIV_ROUND_UP(GICV3_MAXIRQ, 32)) +#define GICV3_BMP_SIZE DIV_ROUND_UP(GICV3_MAXIRQ, 32) #define GIC_DECLARE_BITMAP(name) \ uint32_t name[GICV3_BMP_SIZE] From patchwork Fri Oct 26 15:31:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989651 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hTW90zL2z9s9G for ; Sat, 27 Oct 2018 03:11:00 +1100 (AEDT) Received: from localhost ([::1]:60897 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4hO-0007bT-Bk for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 12:10:58 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4JH-0003tV-Fd for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:46:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG46u-0005R6-5q for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:17 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:45491) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46b-0004zg-Ic; Fri, 26 Oct 2018 11:32:57 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N62mG-1fW2030jY8-016T6J; Fri, 26 Oct 2018 17:32:19 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N62mG-1fW2030jY8-016T6J; Fri, 26 Oct 2018 17:32:19 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:24 +0200 Message-Id: <20181026153125.24738-20-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:peG9vs6GsMt7FvJ9IOcJtpr6YQ/f1NgGwuxCXLS10Tzwh7VvfDj bumB+gWdPNWZw6tKFratVmDSwhx5bzldZ0O4v00tNLyAm8FG+3+ljvGTfditOJ2aGYQXi78 xo9z6fuF8lhjoTnQ/BEZx0tGvwNDs/NqAMEfI/RdnZUzbAAT/Nm79xVwnJ/7sSDYSPJGHb9 LOIUKPcwnf0R6LBzrrJww== X-UI-Out-Filterresults: notjunk:1; V01:K0:Wmacvs2eZ1k=:3W4TmCzU9ZcT1LHL9taMaS AMPowxQE21LLEE0iygB5vtvM+3A8KTVZkIXddciNyIC5AGDSuKT3D99st/Z0ALRGkuTHSTdiY 1gIpMQbcmuKCPcm38Hbph+QG+miYgVBbYezydmHajI+vSMW00D+t4v+FJ0ZIbkG8lV7hixG5V dWtboDiLCgRT9tw8NH9oQVOqOuw3cOPmxG1XK7etdJ1/oOaCeGrayEMIkzkii6zuFxEpChQK9 lQhcllu29uiOER8BnjLxRGM/wwfqA7VVk+n4TEntn+KzAA2ZaqZAtonUwusfw7PfsfjVawNMJ npC6rYxYSZPL8PyAxXlolSC1uKW345ma6WhoWTaPqPBbUAG+oW95l/5tKpWSwBHHVGfS4EHlw dbYNr7zsv0iGiV+CICcE47Yebc/UjUNpcCkTFCKQPC/l/OJr58NdQs0kbX5gQsk/Pr7hyKRkD 896fLW/uApf7+6YL+wz/nt28ZHKEj0w6u00Zgy1dZ0cgFeL+sv0shGL6+JXJzg4MESR1zAodL +1gqMXBGelfL/T4FYpypaMa6bhOQfu0V2WfR5oyJV1BYhr4s5tCO8HdkwZRDuzS0B9dnMYiU8 zOOB1he6vkqTXeHJGMx/XT1aVOHqTRRHpYSzam+kqGdDV6wfCUwC8xtIefiH4hmzVwtPrrR6o X+D0sH95Ge56tgvFjKJwhr40j79u7gRsyxaUjL+1Y1DgRQdtiSOw+thGiOELiRdRHM7YC+jkc n4IZuoP+NmpIK5b8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.133 Subject: [Qemu-devel] [PULL 19/20] milkymist-minimac2: Use qemu_log_mask(GUEST_ERROR) instead of error_report 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Philippe Mathieu-Daudé qemu_log_mask(GUEST_ERROR) is more appropriate: $ qemu -d help Log items (comma separated): guest_errors log when the guest OS does something invalid (eg accessing a non-existent register) Signed-off-by: Philippe Mathieu-Daudé Acked-by: Michael Walle Message-Id: <20180702014022.12395-1-f4bug@amsat.org> Signed-off-by: Laurent Vivier --- hw/net/milkymist-minimac2.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/hw/net/milkymist-minimac2.c b/hw/net/milkymist-minimac2.c index 3eaa19dfde..322fb77e46 100644 --- a/hw/net/milkymist-minimac2.c +++ b/hw/net/milkymist-minimac2.c @@ -30,6 +30,7 @@ #include "hw/sysbus.h" #include "trace.h" #include "net/net.h" +#include "qemu/log.h" #include "qemu/error-report.h" #include @@ -214,7 +215,8 @@ static size_t assemble_frame(uint8_t *buf, size_t size, uint32_t crc; if (size < payload_size + 12) { - error_report("milkymist_minimac2: received too big ethernet frame"); + qemu_log_mask(LOG_GUEST_ERROR, "milkymist_minimac2: frame too big " + "(%zd bytes)\n", payload_size); return 0; } @@ -347,8 +349,9 @@ minimac2_read(void *opaque, hwaddr addr, unsigned size) break; default: - error_report("milkymist_minimac2: read access to unknown register 0x" - TARGET_FMT_plx, addr << 2); + qemu_log_mask(LOG_GUEST_ERROR, + "milkymist_minimac2_rd%d: 0x%" HWADDR_PRIx "\n", + size, addr << 2); break; } @@ -413,8 +416,9 @@ minimac2_write(void *opaque, hwaddr addr, uint64_t value, break; default: - error_report("milkymist_minimac2: write access to unknown register 0x" - TARGET_FMT_plx, addr << 2); + qemu_log_mask(LOG_GUEST_ERROR, + "milkymist_minimac2_wr%d: 0x%" HWADDR_PRIx " = 0x%lx\n", + size, addr << 2, value); break; } } From patchwork Fri Oct 26 15:31:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 989649 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42hTRJ0Nl2z9sDr for ; Sat, 27 Oct 2018 03:07:40 +1100 (AEDT) Received: from localhost ([::1]:60865 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4e9-0003XW-Ad for incoming@patchwork.ozlabs.org; Fri, 26 Oct 2018 12:07:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gG4J9-0003mJ-IL for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:45:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gG46t-0005QY-TC for qemu-devel@nongnu.org; Fri, 26 Oct 2018 11:33:20 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:45359) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gG46b-0004wW-LK; Fri, 26 Oct 2018 11:32:57 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mv3M8-1fPTTZ0ozo-00r0dP; Fri, 26 Oct 2018 17:32:21 +0200 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mv3M8-1fPTTZ0ozo-00r0dP; Fri, 26 Oct 2018 17:32:21 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Fri, 26 Oct 2018 17:31:25 +0200 Message-Id: <20181026153125.24738-21-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181026153125.24738-1-laurent@vivier.eu> References: <20181026153125.24738-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:KclRKIrIPGBTOGMjoqcysLNDM8QxCF5ssfwQakHXJ9Nqg9/6fxz /1aniyI3DJXYydjEE1QS3TSzttpEMiuvyJFGSFkv/63u3VFFF417jlGodsTsOHP7fqZ6dke 5EV9QB95RAdcFyvGs4QkymIceWgtU1iyqM2pX6UcyLxikvjo1Imv7atLScwLaSktlS1rQr3 ldOWvFO7er8LMfVe1x/LA== X-UI-Out-Filterresults: notjunk:1; V01:K0:2s2VV2pj5yM=:HjZv4m41rAcvloX/Ghjz63 m+hNHTf6s7a1a7XQtxkbpnbfVXbli5kTCxigU+CU0YBvVfVbgduFIZeZn4iKDgmaqOqNkm8bX FA/dVNYyQyFxWz0XKEMprHHg68T+RCkw/CdeNRHjbUWfhIsjE2dEuHdC9J/6RNh5sxJAGle/3 I+xV5YTmQVz1Ws9Ii6ybl7B0n6HJtSayg+rc5dQB5E1uum2o+syGCfYBcYP9SYWW9kJytwxcA KbtacHALrDYQ0XMARTGSWxR283QCcbAY0DJeIRht2zqrwB+WTY+Y+DoTrMIkKic3qvTK6I2cS Ze84KA70qyGeWshHl5rBusNyw5mBXDh4ZGPODlAswUQkrNgzMSHR8T1cDxFmW7DHSizRUNXo7 1wUpnqmSIL1zpbQsDdtgf65svyynic2j2Cq8cfO1kZavOprfQ5/oEMPPWv1U3R/4h4Xeyd3jX ncLLBmwYJc9BU9GsUOBlQLTgER7RM7BS5XQBjIEAhQxRNh0rxMxopOQpKx8SqbBpdsolUxF0Y nHfv2fLogDSSwJ+OSPjrmWFjoICJP1cdowZ+oSTN/lJUnni/XNqqn9p5W0GmJiUyjrXUiuKFE 59AoqcoHp0JXFvEoQZA2Kqc+SmpRm0a5GUYMHIZ+OCBfLv7X4lqSPcdzbRFml0r84P7wkXnE5 uG6MXLtT8uFM1BJR5BReguM2/SL0IFidTx/G+HhD7p5VayEIHnppMI86j1P49oEX3SfC+F7lb UDbN1MpfG58zcPo/ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.135 Subject: [Qemu-devel] [PULL 20/20] ppc: move at24c to its own CONFIG_ symbol 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: Peter Maydell , "Michael S. Tsirkin" , Jason Wang , Michael Tokarev , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Gerd Hoffmann , Stefano Stabellini , qemu-block@nongnu.org, qemu-trivial@nongnu.org, Markus Armbruster , Anthony Perard , xen-devel@lists.xenproject.org, Igor Mammedov , Laurent Vivier , Thomas Huth , Fam Zheng , Eduardo Habkost , Riku Voipio , qemu-arm@nongnu.org, Cleber Rosa , =?utf-8?q?Alex_Benn=C3=A9e?= , Kevin Wolf , Laurent Vivier , Max Reitz , Michael Walle , Aleksandar Markovic , Paolo Bonzini , Aurelien Jarno Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" From: Paolo Bonzini AT24c EEPROM is currently gated by CONFIG_I2C, and as such it is being included in all emulators that use I2C, even if they do not really need it. Separate it and, since it was added for the e500 machines, add it to qemu-system-ppc and qemu-system-ppc64. Signed-off-by: Paolo Bonzini Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Thomas Huth Message-Id: <20180522191743.12872-1-pbonzini@redhat.com> [lv: rebase] Signed-off-by: Laurent Vivier --- default-configs/ppc-softmmu.mak | 1 + hw/nvram/Makefile.objs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/default-configs/ppc-softmmu.mak b/default-configs/ppc-softmmu.mak index 3181bbf163..23d871fb3e 100644 --- a/default-configs/ppc-softmmu.mak +++ b/default-configs/ppc-softmmu.mak @@ -28,6 +28,7 @@ CONFIG_SM501=y CONFIG_DDC=y CONFIG_IDE_SII3112=y CONFIG_I2C=y +CONFIG_AT24C=y CONFIG_BITBANG_I2C=y CONFIG_M41T80=y CONFIG_VGA_CIRRUS=y diff --git a/hw/nvram/Makefile.objs b/hw/nvram/Makefile.objs index a912d25391..b318e53a43 100644 --- a/hw/nvram/Makefile.objs +++ b/hw/nvram/Makefile.objs @@ -1,6 +1,6 @@ common-obj-$(CONFIG_DS1225Y) += ds1225y.o common-obj-y += eeprom93xx.o -common-obj-$(CONFIG_I2C) += eeprom_at24c.o +common-obj-$(CONFIG_AT24C) += eeprom_at24c.o common-obj-y += fw_cfg.o common-obj-y += chrp_nvram.o common-obj-$(CONFIG_MAC_NVRAM) += mac_nvram.o