From patchwork Tue Oct 30 11:23:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 990744 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 42kq1x4G6Mz9s89 for ; Tue, 30 Oct 2018 22:27:17 +1100 (AEDT) Received: from localhost ([::1]:52249 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSB1-0003CO-4M for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:27:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS8f-0001ZL-FQ for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS8e-0002bE-Cl for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:49 -0400 Received: from mout.kundenserver.de ([212.227.126.187]:39953) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS8E-00020s-Fe; Tue, 30 Oct 2018 07:24:22 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MWRmF-1g2srR2WfT-00Xprt; Tue, 30 Oct 2018 12:23:46 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MWRmF-1g2srR2WfT-00Xprt; Tue, 30 Oct 2018 12:23:46 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:18 +0100 Message-Id: <20181030112337.17973-2-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:b/w7jnw+xQS1YeEBcE70ncEpRJovYtV1+sIVuHxfe9l0XSPc9x0 /0PzbNLbMR/lw3sSIKlarCSchPH7YlnG/mRMr1hPKxLcydqlXQPa1p95OnGeEdYcOILxNWq CTK/WSJVwga/Kty+ja1LfXgStGt3ypPOt3JS6MxdtckiX9aaS9J3A5S46HJ+PBOYRW0vv7x 32V8nd4SqU7x7HIgezJtQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:TH/Q2sY14Bg=:yT7jHMpnaFZCZkw6rbfXIJ EcFF2Vca62jNEfwh5/UJtV2+b6ys6mKqLVT2ZwneVUWyTNBuT2/tkM3RX0lSmo5QxXoAMFnHN aMZMtwLhSgFOjs8Fc3XwbP3uDozsL0CyQFJL5y6jzni8uaz5kx1N3xyuLg6QPHYKA0DWRPVMM q1ktZqSpSh7f/QvdNzUc/2YRefp97Fit6Ds17sQ26sPxUM4XQ+JagO4IXEBRE3n//4l+yfacJ FIo6gC32TJDW7o26QkxsXvycNP7DQc373MwEslRGwBZ8xZ87n8ty0YE+6lAvZumMAuO7XD+17 TGc++15N8oBfekxKk81ukhWYPDz28smKgfNd811oI4zaZhxCPbYprAB41gANMWjcGRm7LNPMp ntnxdJV24SshT9FNtazGTQS88IKf8VXkk/Yij8CnqyJ+7bye77plV7yJII+KgZulsnMui0sdt AckogIUghm5RKNI5Z7Rkqqn2u8NORlS4ABysCcO9U+5kfvMOck0Xs+x1c594mvX8I1s1PKdq4 5grf0+bChZFBGxYdHYtn3gH+zIfW3H+HWZFproRs2Kwmx9+wdVzU1AlnKlYt01vgvUVJjHMoC ymmXaGN9jNWeLRqO3QQEcexiLcUmeft1SX/jrceMEx0/TSWCzTo7iJu/VGyrseWYnvcHMgltG 6UOH5kgyAiG6mjC+NDnPK6hBeQxngXDGt2HvASy+wJw2DU8Mj5D13cnCzaGYfhuhuckwpRtcz OA8aDGBMuE4MmkL3 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 v2 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, Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23: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: 990764 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 42kqCC4tpjz9s89 for ; Tue, 30 Oct 2018 22:35:19 +1100 (AEDT) Received: from localhost ([::1]:52306 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSIn-0003SC-5H for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:35:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS8y-0001qr-6r for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS8s-00032A-AH for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:06 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:60509) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS8R-0002FL-0z; Tue, 30 Oct 2018 07:24:35 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N6KpF-1fTHCB0FFR-016ceh; Tue, 30 Oct 2018 12:23:50 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N6KpF-1fTHCB0FFR-016ceh; Tue, 30 Oct 2018 12:23:50 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:19 +0100 Message-Id: <20181030112337.17973-3-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:VdGPgtjUAK2VHmCK3f2ylcttjAeYbvGsyLbGr9yPbuJqMU1q2ZU pD66VUqYbTpjNKd/AXShpQsmE+2txaznUMX9R1cxelhdGolGa6WVdYyPTHRLI/1Vs8qNIvF I/w8nDmAsuH+PpBozNOGwq44jLIFsU+Nm7/GgcqBCOqZ1UBteQ0b1axHCUeGKnW4kHHn+m4 +ZZgGiR40E+T6L1NV56vA== X-UI-Out-Filterresults: notjunk:1; V01:K0:Erk1HJDdJHg=:F/r/ZCIZlvIXgbC4fd1bF6 3Vxwu/R8hiCysIvrSSu76BqL9kmzhaSVZAovKsGS8zRr+Vk8haasgSPT6GrGLDdVwM1eyyAkn 7dmbHTaoAb6qNezywtGZkwRQEHq8XCfN6eXAK8Ds5GUq5H2VGrnK0BQ+9b0amcR8GzF4tyEE8 zm3TWDuscDfb2CFis8D3g6hLsO4+jsu6PTP6hZ766hqaRcqwbqISedCk6qOJWdGTIt3T7hIyU 6xME1bHMItSdH027YI4lduSnPN7Hj67K3e+S1dN6yA+gm6TUlIsf9q75NpeX4Fj7IE8w/XLFr GdOrZJ50fsLoiNIe2TBvF950a6cfT8d4N0DZ/IPLCHNb8rr8p+Cdzd8wjbYwkVqYmBK5NMwZD 9HeJiT+sePiA9yagv07IYZLvtKEdCfaLF192QiFWazmOfk175etYOMwJSzgHszO0iOzAyn7T2 CLc8xbMF0WScbeID7MYRdDgJeVfEy1DlS8B/QGIpwKo3D4QO9bClktVsWfWx1LKN2dX2ImR5u U08kN6WOcOORq4jQN/Uiy/OPWdHcFtU9gD1CV9JF1thaPAi62xRvW6Z8gxNXeFFiwcET65TIU Ukvpb/S4ea7yxu1VdxLleksJQsqyFQ5a5NlIKMQsHuii7P31ogsy5OEdTsMJ/cyf+NnLQZrad 245Pj1EIt3o96jtfvz/Cop3kRHqKk5BeAM3cHhE+HwfLExrqD7JV9sG3rGEuQUgfjxOHjT4vx CsQuvedFqMBV01Wr 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 v2 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 , Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 990772 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 42kqGH6yGwz9s89 for ; Tue, 30 Oct 2018 22:37:59 +1100 (AEDT) Received: from localhost ([::1]:52324 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSLN-0005Q6-EN for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:37:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS8s-0001mm-6u for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS8o-0002vl-CT for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:00 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:41459) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS8n-0002qI-UW; Tue, 30 Oct 2018 07:24:58 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MBDSg-1gPeXG0HrK-00CkD6; Tue, 30 Oct 2018 12:23:52 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MBDSg-1gPeXG0HrK-00CkD6; Tue, 30 Oct 2018 12:23:52 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:20 +0100 Message-Id: <20181030112337.17973-4-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> X-Provags-ID: V03:K1:HBV5Oe768CROwcgkYs8F4WrMsfUq3swxoVTPbJS52XmjQTYOUg/ eTVVWAqDKvgkEQGNiKHNMy8IZGaiGbbGEW+0aPPL3oE7Q1mIQkZ5spo05gsoG+ZxoBIA/Ha dNTxSlsX5Vu5s+VQgd6OakOVBljzGmBrmqLUoNhfBe8//o7jBUiRyZKy+Kxmq2/3lZo4gNY Kbjme8dMgUacGwLo3Xx8Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:ry5LPF+NyDE=:jfS2YQ0jlbPQX+wXY2FMQY BCVa8D8yCRnw6VJEVi9GVOjozKSiNHGxI5rXGx4E4DNvi+JlE1MglK61DiiXd+F18dfEu7SWr GFerDkJQIX2Ze18RlEPvkVXg/DZxKWATttezhY+GPSru/6RwKZdPchyOfjzdunFCZveG2QPZ0 0alLvrI1NOxRvOJ7Jdruz5Ucecw1B1cqwgi9CItUb91lzBW9D6EL4yL67ifhvxnA2S4qn0w2m B4/XXBiiEXO3fxhyX78lys9msP0MWya4Jp4m157ui9cR/RUxsLJci2oSSjI2JtWBdvE9QBN2w 726uALHqVdPNEfIn0EILFvCxQb5gFqX6lDH8C8JAuGHL6Ce0cM0Dd4EiNXY8h160f7z0zN5bV 4VlXZ8Y0O3rAAjmOMZ5asHsXbyIps4Vs5e2XMJaj85KLgJD4ipql0eXZ54GdQShUk9z1cux7R 9AStll3MrryeiuEo3qxhCLPMnzX1kX/LtIJXv4Q3JCUD9i0T9iyHUv3fJrDGQyhCq4LxNbVHe 5Qz2ejkmBYirV6zLX9wpKzYRxixoEHpoKCceSowx0njorrXoePO1JBm87NyPPiN5tMHxlHWc4 R7SkgV7X/0NeyLFBn+lC9AsqRdPFXsRDQ9y34333VgE+wqFrpnVYqSlTvqJky46AMsIvwrxIr Ykwb15N62IwcnaY07OsCUZ9a6yqkCkoeENVK891eiggUy63ubH6YxEdV24UyoxTNwB6A= 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 v2 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 , Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23: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: 990782 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 42kqNP59t8z9s7W for ; Tue, 30 Oct 2018 22:43:17 +1100 (AEDT) Received: from localhost ([::1]:52374 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSQV-0002Mh-5s for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:43:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS9N-0002Ml-64 for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS9H-0003ug-Fo for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:30 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:50633) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS8n-0002qC-GU; Tue, 30 Oct 2018 07:24:57 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MdNoW-1fiOQE08I4-00ZSig; Tue, 30 Oct 2018 12:23:54 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MdNoW-1fiOQE08I4-00ZSig; Tue, 30 Oct 2018 12:23:54 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:21 +0100 Message-Id: <20181030112337.17973-5-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:F8l4smf1nL5W4DsrL/7cTra6H6sZJmx/uvzB/1jWx/wdKk/NVxp m/fq6/P0ALLGTaCdkdXooOLOe8GgI0XFOI0jqL6wU/uL32dCmmytmJOvG40vDdoivXgaMTY M4UmUveDPmCbjaUkB6SPRFzmAkBQ7ibaH2p90ew21v1SCeCuiT3cCz9p+K7+scs3WGgCzqc 1kM4wMQC2oXZpiX9tZNjQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:OPbiJZFlUtg=:6UDHRGrOhs4uRU3/KtYvSw JPuR5jLG8ZkuaBXlmbxZ8h5Te0MlKiH1Sx9O8MbGT6Z0frkx3JC9bKvj/v3qO1oTwRu6/Lt2p +Mo3kkzwKoP4r3n2oZkuQDjVl+fvUtpdI19jyeG4Eblpnb7e5fdSt21hhhu8FgvADgAUlqTe7 jYfDVl4kI9/CqArD5CQdKC2kd8xy0SzdqpyTrTuNBDwYtFLEEpngDGNDGBAftp26GqiExsGIX zzlBjrVD5gi0PXuN6jJQSI44BFgEgWn/m8MswbJXFMyyA6FZkccEpi2aNgUtAyP5tWlLb8ivA AQK7eTq7916LYMPAD+/bLYblvQ3Vw1VuMC4X8xTInVDfQl47b8ASDXSTzCKjEJZaXQ7G5bpe5 8vzAlsOaCKeLJyOmSEODYlNJ2R5LPONDg7okAChcO5682rGabP4D1wEYeCyznLX/8ioMZq4tX d/0EYIEow0m/JKrKGeYs5aqGjN15l4aGDwp16ehnbBVbIkaHbgawNfl5INwQWMSTf6UyIfkuc bnkgdPtUBETO/Tm1DJlA+gtXb8w5TMX35TPmd1izoXoMzQWyjFXw+cISmGk5OgPvKhH7FJuwz g/RdPSoTYva8w+2/Qq93jWQstEOruf0zB5/bXlvvf4mi4CL+NR5v6wj/QJnyMngjvU02yN7K6 d7XPWYuO6lv//2y430+cnd9rie9/F8D5R5qJDKMQjRsgz+QbPrpqX7WzIZNVC/g6UUN7AfLrh 8a7Y/XO3wclCG/RS 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 v2 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, Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23: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: 990784 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 42kqRH3SPSz9s89 for ; Tue, 30 Oct 2018 22:45:47 +1100 (AEDT) Received: from localhost ([::1]:52391 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSSv-0005j7-1J for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:45:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS9N-0002Mm-69 for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS9H-0003uh-Fm for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:30 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:49445) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS8n-0002r2-94; Tue, 30 Oct 2018 07:24:57 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M7aqD-1gCCGc44Td-0085WZ; Tue, 30 Oct 2018 12:23:56 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M7aqD-1gCCGc44Td-0085WZ; Tue, 30 Oct 2018 12:23:56 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:22 +0100 Message-Id: <20181030112337.17973-6-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:HGf3vO88OS9YjExxl3IHlSCxaolOWWZDr/ZpH95+T9lkzF5OCnR OOZAhze5Ahl5x3FuY/VbrS6OcOQBYpBe2s+y49rJLQ3YRAXf8TipWZYqMR8we7MLUtr3ByR 523u1xENy0P0bKNoXDJyVebtP0pGanvRJVBIUJo5ZExF7Hhj3RbTcBqDE0hy0VX2amu7IC2 jMiWW1a1tQzP9WQsIcJ8A== X-UI-Out-Filterresults: notjunk:1; V01:K0:EO6XVGOJqlo=:wvXON1J+jwCx85xUT939P0 pBNcPmcjzCbU7hD45t48L+tmCLO+rtJV73Q4RlsLbncMoxuo+SobB0zPxqrrHm1+vzDjfooiA 1k/YaC7M06EJx/Z6vAJdXaMdCzUjFRsy3mgTUSTyk+5W3z7fgpla1fvmQhH0dAX2jT0ckS2iP 2TL0cv3zvNeZOI/dHgAS/ANL33JYJGqb9LqNlNMLGbuvIDjCZXvGQaIaD9BMBbKJmWm/5v8Bv aEPzXo1bhruFsKEbEIT/ojbZYakbNtwwiXyqUYJ3NOVlZ8Xep0gh9ZbM9JGTC/JgmSu1O0FrV 2e6gSEmzDhDhUJhNRU5TCLmY/3AT4umHAgfp5KwO+nDHtdH1JJVqmYkG8ApDoBBa7Fqo1zJOz 08INLuzhOBs1cRSoZwjBvSwncRayNMAuiaCdJKO0cfLpk46fxOs3pU3gXByytCevib/JsQTWN lM/47/WugFW3Cahh3c/HfmRwgefqIyMEde9TtZMd57wUfSv4qvu6CwMEIR+CXsDtFIzaDrl0G 59s/r1lskp7p+CcNspJl/ZXSF+x0VZ0Rz08tcm4njBw1ABorJ+LiNhIFHBMl0G7n9C9M5nQNJ qwkk3spqSbdXHX6eWgIfkP8LtK5nZRFfgxDBsPDZtWATn1jeogQ2tZeqfjz3wqj7qsgVMFi1s +G+rATUi12Lw+pCJD1nOS+fmvRsCeDXtbxq5iZG8sJ60y74CsNi9TE/z+TAt+I6n1upa682NB ZYT5xr2qSKX/ay9O 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 v2 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, Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 990742 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 42kq1d6qfTz9s7W for ; Tue, 30 Oct 2018 22:27:01 +1100 (AEDT) Received: from localhost ([::1]:52248 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSAl-0002zH-EQ for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:26:59 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS8N-0001If-LE for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS8K-00029d-D3 for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:31 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:55203) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS8K-00028S-2n; Tue, 30 Oct 2018 07:24:28 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MTzrW-1g9EeF45MQ-00QyF6; Tue, 30 Oct 2018 12:23:58 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MTzrW-1g9EeF45MQ-00QyF6; Tue, 30 Oct 2018 12:23:58 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:23 +0100 Message-Id: <20181030112337.17973-7-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> X-Provags-ID: V03:K1:JX1TAk6usLYJXFNrVTIYoQHw5D9Chnj+I/UQBtTU0G9hdMQz7Jy b5rAuOIuqcjCYOcSjc93W2rIyZdRwOjXgsFjjXcV4J8C9Jq3WWtP7cUTe+T3iyy57t1E3Mi dAsR0lZrFzkxht8M9XMYKWNd8SkohNvcycql/Zr1iVXcpFG2zDdS4hQM3mO6SDlL+E6/HBP kQSYMaMPIO/8Wm0OmhPbw== X-UI-Out-Filterresults: notjunk:1; V01:K0:WBgrBvfitp8=:57AUDuSR2bNYzP4Is4oH6a i3OZdim+pZaYSnKtxVH9SGrC2vbdg16XfHS6QDf/3yW1krjxpGcrxc0xFf0wrhO2T+k8gRFWE OnW8Hv4+HcYlc6+IQCwlqqmnfXr4mAI1xG4wyuaKTwRwGvvcUIXB0OgH34ObBDajQuR4zhQrA 0niK2WEXNLVlL3blMoP+I9Xlnuo9KQ+BknzvaypRIZcjp8Fjtl2/QiTm8fq/zho2ROrqrgPiH V1AxzRiIBG9BIGsUqsHFW+bLStUDoF6HUOmIcgvNZgcU6NpAH2yiAfUUnFXYxDFoycc0PyshI /0BCOB3+Fp5FgzGv4g5MsLQmdDVEzZ82IcwwYka2W8FYqyqn6RhAJy3desNtagsF6/O/r536S eTqAEEEiUH5mQcuE3555yyt4nyJkPUVGRGnYf4gbGtq78PmdqGYwIeoav6oFvJ4ZfuF4x0qUR q4XJIh75DxWHeHgnD9BB4VdPy0Al9gWLLIXxXUAGMbWwfw3Aci0ortws0kh9sr5E/YUD2r3Bf DJim/JwUCMss27qVQbajjDjpFtT0MdXfa1P4A97HKtzrmGBF+MrD6v9vkuYObSOeKODiy4T+7 g73ZlkTPR2/HRVO92SBW88yaxhBksi9C8HaXepAtMv/dzR2kVHEj0QwmtbuBebcgnu0Ru4PHC qlndKISTtt/EBtT7S80sdKC53duA+XHWIGSEKhJSW6ie4MjZTUeF2xCkYrU6fOhSodf7P/y/O dkzQBZd/E/Ik+QESooEDPrGI2KVapdzGLi2FTzWquVSyumS8+56iEiqXDjnAtKT1aza6VGvfX gZlc+FeSaS3ZpKJpfjhTQvDnqh1Uzu7/V/9uVUyZ3ELgyxBVCXB4ir3dQBsH04zBs0lxa6zlf KLwTJeYH5RXuKN1jn4L+N2FeoS6wg+2tu3I9DNxRM= 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 v2 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, Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23: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: 990739 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 42kq0X73Bcz9s7W for ; Tue, 30 Oct 2018 22:26:04 +1100 (AEDT) Received: from localhost ([::1]:52235 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS9q-00027b-GA for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:26:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS8c-0001Vd-9h for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS8Y-0002Rh-1s for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:46 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:54553) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS8L-0002Ap-W1; Tue, 30 Oct 2018 07:24:30 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MOQu6-1fuwMb3vR8-00PtOG; Tue, 30 Oct 2018 12:24:00 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MOQu6-1fuwMb3vR8-00PtOG; Tue, 30 Oct 2018 12:24:00 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:24 +0100 Message-Id: <20181030112337.17973-8-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:Q67xc6fcWLfjbG7Ml7jpS1Aya7e9ae37lnkUty+YWGKEVwlvsPw tAf2OifniHA81i/uHFvQud+ZwGtJXJS5utKj0UMYz55wPI21InZVZCgYdHJEnDeOO0NW0RW pUPOgggjjd1m6OQQXuQ5yeN25RmxdabzLdgGY1/KGvCmLYzPOc509Bdy4NMa4FD9XlKiWKG vdtsb0ddP8BpUoV8wxuHQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:B7DB0orcvlQ=:viB53D0U/y5OC/zItp+l8+ jcS9reEAgNas082Zug1uXgfMTR7jJ2wEZVY9DPxEVHyzqrXGUcKLVWth5YSxo78DQuYnhEW4V kDejINzHR0M2rOXmsah50i7Alc5nA7gw/A0vAZI0439g4yM9pPiWn+xrqxBNFNcX498MOiN/h 3nIqO3kWOLbpJQ6GCuQC/sItgAPLuRlD9WOA2tr3Vh9FoYvZTgQhh1A+hd5Q2EGzW34lb11hb tkxK3JVP7wfO1bu6hTYB22cpe2tuoUF+YHThzEHZseOCnLCn8QXWEqlLMRYIEVpvWCNBcvoGG S48qamGeVTtvoDY3N7mts/wCy5bp+qYRD8VmS9FW0xYDLMtlVIE5tSqIC/D6I9GRwn5pJU4+u b4Tj1+n/VgfF1TCTkkbaHqp2s4j0WAGkZegsvzBpZNVNHcNNFd6qe1anRMbdYN7Q2tdlQx48C iNWQYPgwZcDDT4norsuqgvVQbswy73i/m9+5a1HA8tUOjidJWnp/knIS7+QYg5LRNCDYVFtfS mQ9/q9k323i/UA41woCDG7eKHj/Iqq2mdU8CS7UY3tToyCCBLXClKbRO15yPsBOQsWEqhqPNi dTNYOTa+7qG5l592jJ/eYi8D6FcOKjNbkbOUVDK+0h7zWVBYdYSUaB+r1ykDo9ONWwrSkmVkP vP3blloWjqKCumjFRCC8vnp652kg4EUIYbmA1954S7W3zxWXmIfjXQ/Dv+CGOM8sX8HfykvHd 9oWVpESufZ8Bsv+q 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 v2 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, Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23: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: 990751 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 42kq5S3Lkjz9s7W for ; Tue, 30 Oct 2018 22:30:20 +1100 (AEDT) Received: from localhost ([::1]:52269 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSDy-00074t-39 for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:30:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS8j-0001dI-EU for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS8g-0002gM-Lj for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:53 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:46009) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS8T-0002ES-Me; Tue, 30 Oct 2018 07:24:39 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MpD7H-1fmRyA3pT5-00qjfJ; Tue, 30 Oct 2018 12:24:02 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MpD7H-1fmRyA3pT5-00qjfJ; Tue, 30 Oct 2018 12:24:02 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:25 +0100 Message-Id: <20181030112337.17973-9-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:UtHzenpvkmoIR5/LsVJDipAqrOqtG3nw39d/ulzdI53DYC+EbVR KouSMMO2coulXWrvkiwIWNDCVSWIbpWqKAGbjpDtahupFSF0XNi2JYebztOqdt9nDb3upt7 NvDA0LGYiF07gg245v58VXoGc9LosIDKVjZpzja4u04jgNpn3ek+XI7yJMfN1GmEUlMioTL +9DifyRj86RCe8rPRa83Q== X-UI-Out-Filterresults: notjunk:1; V01:K0:elqk0PMnEUI=:CwXmlMJt2K2ka2J+PyU3K1 aJ6IU0eo5eonT22ctfPJWh0D4U+pYX4lW0IlfYRM7IqKy+MQbH+gPQqjkqgMf7hjV7TY+xwm1 ojZI9hgnUDBsCykPXQgjFz76hLb/eP6Z0WN028Pz+kSLyJerywwf/pW6dtBM2PbyiLwGFWucm IFXcahvX6LCik1X2oUu/g73S+K9iUgUNBihWQPMz0UsmsZjKf6tX2yUtwhZrRfpPK11vO9xAD yXB9KDOUg3U8WX0WgHunVkdLqpFvvLTextN62UiAXCr48NPAENjdq/zeZgXd6MifSHzgYqJGR HzlMGsREIlfSKucNhR3qPv0xzz+QM14UBccXxSylLnrBmnNagCeoBp53C9Qvr0MaeXXRwnlux IrSED7doIUyRLZLIr8rIe5SIofWKiGIZK2f9RyVzbkXPsTnwSPGU57stMQW9Tql9cmfdAoyw+ kyENpWHNmo7OBW9UnC7lJfZ4tVorEQDbCu9wP/Ly9ZshYq4P5lIMBaaJviHfjRpN/stSHazSr EDR+7I7/4It5VnPIkOOE4iS4FGD/Uv9EvwZFLUHTn0cFRqeEUbc0lOCxmzL87uxd1mlobASPg vWaeBVficokM6WWBwbdT8YCBAjEBbPzHPHlLMU0nztfoRJWqradWwjs1mJrOvQR69JSmTuE1W pT5SqXHv8xnzrpWsaByE7VpzRFk97MUk830Ro9hO2hSnG74+IayWmwqw0pBZ6qWzolnb28TK/ HuxU1/IDxG2n51qv 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 v2 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, Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 990760 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 42kqB931Nsz9s8F for ; Tue, 30 Oct 2018 22:34:25 +1100 (AEDT) Received: from localhost ([::1]:52302 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSHu-0002lO-U0 for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:34:22 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS8n-0001gq-IO for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS8l-0002px-HH for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:57 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:47143) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS8e-0002SL-IW; Tue, 30 Oct 2018 07:24:48 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MmlCY-1fsnlA1Eta-00js2W; Tue, 30 Oct 2018 12:24:06 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MmlCY-1fsnlA1Eta-00js2W; Tue, 30 Oct 2018 12:24:06 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:27 +0100 Message-Id: <20181030112337.17973-11-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> X-Provags-ID: V03:K1:iduT3obFj7K1iAg6oBhUb4ixk+5svClYbEK4LAQjtywllXs7/pM KXdwAq9BbVsAnnocLClN5VeDPuS5pSgniB0jCgpETNrOyncCHDVNVNHf/HwfQeRwSQV52Sd bnDFZq3BMN2jn/YUk214peMgOqk83B7IPxVZiM6mNua6l8epS3P7+F3tt0+8oXBZfExdljW JpP14TVIduHIXRp5BFgHQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:ZEHEYkSyeuk=:+dN7qyj6pb9jR30KZVhYzu FOtMRzx5/1qaHSnyB1NSWcMpuSZ/GbpA4bIK5UmyVfC2mB2jRq4VccFEnTqcVkFe5Zj/cCvKA 9QyuzRchLb1zn8jfW2ydLrxDIzo/BOarg/yxv/xo4zPdOxJ3kZChuLXKOakzZLoKYU7t/CcuO rIfwVwiwxJECIVRe+mOvWVlNobvufNW4LgRj6FOkdBBVshhjR9DOKoqQl10SlVWQMAv3iO7IB bLMjPJquuoL9Dd6UL2RTGysrvTmfnZVuJsRsyvBeQG77UagJc4OnaiGLSLkBlEYZVJjh4nH0G VYAJdKPtGMb86o18DKxc3dNBIms7MInQghS7NMQ5TLw1RvgZ8n/qO4lOhbmN11kEVf1JCg5ke bFv5yLJXwiXCmT8EdyKejSdSWDmTGFN3cpmFw37EXw8AAe80KgRCWQATRcYTTqmeq88jWKuEd zxBHI++7gQL0+d8zqZh3XXd5mf/KApY2W2/JlFviGRKsMOYCL8T09qbDmEg/e2uhTZ8jQI3dR ML8tjymLTQJhygcxFcVjXPIMQ3lIRkZEyba7bQScKoUSO1Sw1lU3pPD3u3MyfhxEUCqZyECeE 8D9lpJ7kU7hsXNvnacajRIPBrOT7TD0Ve2XvuH7WhbCUeYmobBjn3v4W8AlIXXTWVq1Eqi3YK VhO3pa8uOhf4ududqK2QQFNHBtGmCj/G/DcYCc2IIopmtM/TygbiSyzDF1lwangG0OZI= 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 v2 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, Michael Walle , "Emilio G. Cota" , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23:28 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 990752 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 42kq6B6QYPz9s7W for ; Tue, 30 Oct 2018 22:30:58 +1100 (AEDT) Received: from localhost ([::1]:52279 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSEa-0007ew-49 for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:30:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS8j-0001dG-CO for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS8i-0002jk-G6 for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:53 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:57849) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS8c-0002M0-In; Tue, 30 Oct 2018 07:24:48 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MqsL3-1fn0zx1rWb-00msqh; Tue, 30 Oct 2018 12:24:08 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MqsL3-1fn0zx1rWb-00msqh; Tue, 30 Oct 2018 12:24:08 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:28 +0100 Message-Id: <20181030112337.17973-12-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> X-Provags-ID: V03:K1:Yjf2ebhyBBOqqgfJyr+mzJqt5S8tkY4j56FZpmecQpTDZ/v4uOU faHtWIUMSDvWVYzOvNMV2egasm5Nv/Sw86QCJGPHvRHZetzWLbGZLwewTg1GN5UCCMix8Jo 2Hc6CFJ9FGlaIpdH5QdtN9CSvoHAfCACXeilSysUSbI5v9quFdAc7IvB9U0JMUqXumqcrWc MVgQ5/EvTTQjlLI0YXZyA== X-UI-Out-Filterresults: notjunk:1; V01:K0:+LC4JChDFpQ=:9My5E99dnArsVIYlhHsbIJ xKWIRA2JWFSl805LKNHOY1RAxyIY+ZYTJ5K6DqhsBEIQ4ajsStioOlZb6tKb++8xKxB/8LzWY nPlFMX5w6CJDNQJxGRR82urgKZe9kdl2n1lT8gK/Aj2H99P4hB8onnq8UM5f0lL4lNy3CyiHR Xe1uqk72xRUZYQXHBxB3q3YgGA2+CILp51r54byEq7p6rMz9jt4++jmVG2QYG+ghzKhOPitDa 8Bn0Q4i6d8kAf2fmjLMgUwr0YkxhlaJ+BPApJsb/5iYsk5K6sf+ADyjNgAEFRs+UzDZWG44FT G0XWc4RXKnXYNWBaQffU1G87MSrhpgHKnlTMgnLEZVqFwQagiD8CmWgZfVI89Jxz8xNqF5A+B dSni8uFfc+b3ZFWdjsxynYkKT3QIqD/b53JcLstaSkWrnpCmGw0dkN4MohmDtzGjBLdIeOGLd U8nN3HmZAlj6QyGXzQJwOG1RkTo8dDomSh+k0JVIT58cxodTQdOMEAmlIhd+P2/Dr5nBrOUeh HUpKr2NZfCTOTIVIwlggRkqWAqZGMdIijZE3f4C1rLcFGUvxc+cGvERszEBBjNxHZrlmzS+D1 nwe341NK7vXSt230PYaSv+YX0Z5xsmWgxplU36y6npeIB8hugIV8iN3ig4ttKz81VTfwNu35I i/YFCCaTYbQnnqOfRkMJKwo9McooJXQc4tDF43rwWo9V3IH2ftmEFFlfw1qZM2ZUHJYE= 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 v2 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 , Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 990762 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 42kqBY08vYz9s89 for ; Tue, 30 Oct 2018 22:34:45 +1100 (AEDT) Received: from localhost ([::1]:52304 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSIE-00035M-IS for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:34:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS9A-00029H-8J for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS96-0003Uv-5f for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:20 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:56345) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS95-0003JJ-Pi; Tue, 30 Oct 2018 07:25:16 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MQNF3-1fvmNH26oj-00MJYZ; Tue, 30 Oct 2018 12:24:10 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MQNF3-1fvmNH26oj-00MJYZ; Tue, 30 Oct 2018 12:24:10 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:29 +0100 Message-Id: <20181030112337.17973-13-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:CK9OXTJE+9thuJlqKWdjGkDP8vw7RWiFYDtHr6gxGOqXXP5Bgkg 9Jn4bea8Ed7W7M9nZHG8+I7Cs9+2AXZ9HwgJXOzb83IDkQwiTlYuEkKiuQBH8yqlfHayn/7 NEneP4dBqtBG2O9n5qdY1ctlwbkKIH618PAStzJ8Nrk9aEZqTX6HGwXZq8DwwAFPhJkoGlP 4oCOvet1bfSZlcetBB6qg== X-UI-Out-Filterresults: notjunk:1; V01:K0:IgkFOeAYhao=:plejZj8JV4NgIKZXRsLSZY 0dOUvVRCS6GgNTy72Y0H6R2zVMQu91SyizrX2vWRnHGBi/4u+APdHcjfQAFDi/uNrzAVtM6b3 XFfDZSxnbT3kmK9Hrg9WS2HAvQeXUhPLghzoz/l7i9GwyroYQNRhJMI93Km+12BW5CZjLZa8f U4y6ksiWpGkEZ4VB6pyhrPxHIsBZpzu/ineFBdzlHkpIpSixyF4/YaPH4kO5kRXSisVvbiDd0 ICDL4Orq6KbsQSsA43F65YVabpmwYLSu0Xh1IhExd/vtlD2cwyYtXObWi3bE5J+iqK+Vk648a OKcAT1M9GgdFFWWFIRirCsSwUpcA/TF8X1PR9YA7y2UtVnMAmXmNt7MEiUPURKuXGhfK3UWo8 PhxSJsEdmp7+P4ZeRcjZ/Cj/2rW49K8ImWSlFm1YoieRtCreUZ1SSaGe0Vi1W2nI4k2n2Ltzd /HoTzRxLWDDua+YOhIkgDpP3gDNZKC5yPXNaPkxTkEZ9hUZpyh/nWGY6qE5PSc6tSla9cCfxI u1FmFvkRYxqTyrX2AAqHwiNxGpJyq0OGKw/aAnaYI1tDcLCcsF+2pGjQ/U9HYSMKfCzkp7Qkx HNtAurlNVTpGG8y2QI5K0A2v4ZUBdhvcNqLgdU9yeAs8dQfxn0FNLviNFJ7XwT6zstJkdevkX vIyRjB71xLPX/Haen0DFNztqTGmZdTI+pmaWnAaf9GI1YGryCg3NxndxGFda1wkmpBCrGghjv sLLzuwlKzOYEAb6y 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 v2 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, Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 990785 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 42kqVl6Jj6z9s7W for ; Tue, 30 Oct 2018 22:48:47 +1100 (AEDT) Received: from localhost ([::1]:52417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSVp-0008Gx-8i for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:48:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS9r-0002mv-SN for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:26:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS9h-0004wx-5q for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:54 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:36277) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS95-0003N3-Os; Tue, 30 Oct 2018 07:25:16 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MfYc4-1fbleG2Ssa-00g3MY; Tue, 30 Oct 2018 12:24:12 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MfYc4-1fbleG2Ssa-00g3MY; Tue, 30 Oct 2018 12:24:12 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:30 +0100 Message-Id: <20181030112337.17973-14-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> X-Provags-ID: V03:K1:7fBwOV45VO0pIDxAfapM/ah0RhizImgZJxgvW5VAB+D0Q8q0Qjs 5+96auVkeKmjT68irIXPp395Iu9qoJkYtJcIqmumqdxcac6arB5JvBmaivSFXhYdIQfAn/B IdQPh6kULgZSvyn4xLfmcD6xkvdzjQD7wTrzQaFnj8DDTiu6skX3OaX0HNkr/1el05Ioo1n PEghlp0GRDR8B+FtI9jyA== X-UI-Out-Filterresults: notjunk:1; V01:K0:JFjVUsmZIcY=:6A+G8CXaCFLZaUJAAJZS9e N12OXqNNFERafHKukwqPjmBIy+w7VvO5UdezU+TkRXrcuOkplzUubU5JKhppnD8S0M71w/ScS Ik36JRtLoGSvtrN6Zv+TxxHat6lUzMmH7NoD5NPmrSyB3ujIoEKAVEJenYmDcAOhj1jyEh7tb DEEaFCx1w1RztjgDVD0ppXivcAOjGuJV3221XIHh94bdNTRcthUiopiCTeTvN82Yb3pcVk8UA VbgzjyAPSrPg+U6Q1BL0+Q/43mZkEAqhy5swU9H9xnUQXymv3c8QfvxRVPgc2gCOb8R9CJ6Y3 qaBBYAjLFkud8d1KU6Q1ghPu6FWTaqc0jOxcWxxUZUb5SKIiKD4Z8BCP1zqcRFnZXldBHBqLU 0YM0oSzbymNIKo4kYd/mOU1gz85w3PWzJB9IF6FhDOfU9ZnIWdhLkmz5HtccGelBdPlWa20of BUMH7rX6A6MLspGtcM11yM0EMwtjCFy1mg3pcDeWU+UNoEuJ4wADhHtT+nrYqJb1uEi9btwR7 EltaY9/WqqTfDaVGEBpeTH7tbKHaCKwiXcdD1pVi1s6jG60i0SPts0wpJzwHsomU3vFkviiFZ +oOwNxxAdzO14fUOJk/yPY1EEUFn8H/rsMi8NZWKbn1j8vPRV7VhwUjPP3P89kAIo2RoukKoc B4feq/mP7ox6KmjO5fnvpXWkL+y7FyfeVbJNZZGK7njxOB5+Pmi6i6OKnpQBcpo7Ovds= 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 v2 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, Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 990757 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 42kq9M714dz9s7W for ; Tue, 30 Oct 2018 22:33:43 +1100 (AEDT) Received: from localhost ([::1]:52294 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSHF-0001ax-32 for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:33:41 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS8n-0001gv-IZ for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS8l-0002pd-Dd for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:57 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:60689) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS8e-0002R3-De; Tue, 30 Oct 2018 07:24:48 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MCsgS-1gQDZW2FWq-008tOU; Tue, 30 Oct 2018 12:24:14 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MCsgS-1gQDZW2FWq-008tOU; Tue, 30 Oct 2018 12:24:14 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:31 +0100 Message-Id: <20181030112337.17973-15-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:g5ba0aGiQIhKNZQKzBcM73r/UbedX9z9Q+bwBO3E5dSMCN4T4ND Xj4biXxswOFgZ0M2GQW/WZwxl8HPlr6S/wqvU7CUDa4NeUJu16QR2WRS3hqa7Z4cuWr3sQw FLbu5kybqWRnoCmrq2o0VjvSiJ9Z60rfpjAtSUYsHN7TlRSjGFGAbhcxeSnLPxFB7gWu/Nz E7vb6avBOhIvrF2HRzuOg== X-UI-Out-Filterresults: notjunk:1; V01:K0:dSiTzJmTzx0=:bY02KXQE/BFOriVgAZE9k0 vBF1sd4moRPgEuKkwXeU1B2tsSb/Gq7YoM3wf6FL9mABQDT8uv9gs2iD9VUMfKywyfJ1SxgQh AS4pwdOKnrJMUizp8aijtoRQHAcjM9CLaMJl/fcdZhlYSvZAUrNNuuoVfsrdhfZPptZKy1oqj shdZu2qLIETz2qBHDQHS6+u4CZC7NZ22jcx3I9eaHjTVRyIesRlok0yG+DkW6sSQcwqzFgwL6 0cYKVvHv3M+GfvF832OnEF6EJtApVBKoZCjBIFnjyayXoSK+1CME/UFvUtEYtd5wWoACtHo9A 6uVtpG2WLed1ol3z/PkKmgjSfFKZDugW6pFaMZxm8JSSxjflU/NyPzBXTI3gvjM4g7YWKsvkQ LSOOvI0HegcNnsuDHnfJTnFksOgqyubFygKZurLhEX59iulVoQLEOHDDofG0Vov/he5bz/+BO OJW+fLy4vZE10SOb5WlpPOizbAdAyG4Zu+zOSsFaOcd7efvpYp2TKb8rshzsT4pFtk4yp96jA +zWvYP+5Aj8DriABJEMxxFm158+XLv3ynqrEeJjyDAXD0ngKv2zODwd8yo5jF7SMH1k/l2fdE jy6lI3krKnfoPya5Hoi2DO6H83Gqf7gaNJoBVShKAmVYUZN7tZpj9lq4rODXKczZ4luAY3vDb xgkTGutX/u/W9BisJq/oHpHgFxZgnqVkrAzGqbzsYMggGmHUNqGIPZl40cv7BYpP7SdaHAIqR llNI4dJu1DsWD91L 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 v2 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, Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 990774 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 42kqHQ1mxgz9s7W for ; Tue, 30 Oct 2018 22:38:58 +1100 (AEDT) Received: from localhost ([::1]:52331 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSMJ-0006jI-Ni for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:38:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS9J-0002K4-Hf for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS9D-0003lp-Qp for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:26 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:33245) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS95-0003QZ-PS; Tue, 30 Oct 2018 07:25:16 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N4Qbu-1fbGre21f4-011OvM; Tue, 30 Oct 2018 12:24:16 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N4Qbu-1fbGre21f4-011OvM; Tue, 30 Oct 2018 12:24:16 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:32 +0100 Message-Id: <20181030112337.17973-16-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:fEA6fEZUli6katgBcLR2UN6VP+wotM/9GE2n0cKhVL+g9AJJPqS aEsrP3QZQ1Z1kZfwABTc8xuERCj/NZX6+cjgovsZdIKZikW1jEvFAdRcqAE2pUSaG9Uqfvy Cp76U6QMb5PTUhEB7k8fjD0N9Fhk0wzbv+priZDqd4I8trza/F0LUZOaJwXOgxtPSIfO/QS W4/2FmL7pirR1OPGpjE4A== X-UI-Out-Filterresults: notjunk:1; V01:K0:+0dT5Ik5g5A=:wSNQ6JljSuIwB+4s8LSxPs hCo43ZZSo1UY7aDC0Hom3leMsEsPOO6ley0omKGUR68uyRCqgBQZm5nh7Ax6EgwhXcrmedO2C 4KlKvJVDBtK3QsDh56jEsDtlqtx4IIlg4z6hv9iLoVAztOZludyxI1UKODEMrYbnkRh0oNk0S Nr3yA3nqVSqAou0J3Oc7Hrc7j55ax47ssxPoN53YDv+EExIqB7/83/f8mL8376s+gMWdoobe7 WUTTAJI/7b0LWmYVtTwfrMH50CgANP42Y/u6/+6YMfRUmhqHT+pzs/VETsQ4zDt+nYShhY79H FXlhn+pLwzX71R1e43/9R5Kp/Xuw2nooQhoqjocJNL7OQBSh37JdnzIlaswuUUOM8tjjHTVnn 5Kjh75yM3qhRRpm94wZVaCN7enNc+w3AOJJD3cJBcvl4vn6wsJP5AwZdX4A+DTC9FlQb9TgfU sQ2ON/qumkenkEcXAuKIqhwfzyDyGG9M2pS5TRCLz3olCntr4f9KadPG7eRppcZCQ2/yKRF0o HbBed2bjuKd3HbmARIu1pqx9IsygYs8wiwxSimW/24ZcoQ6nVQsAClEmWKV6BS6maVYs7XG1G FwzlVncQ0WyYyT/Azl1xaH+DrguprnXMmY7Pet4nVd3YPSEw6WnVhNn1h11KwSs8rT2RldyiC cGoMDybGtNcAjea7773tlkLWEZYZU+1hyC8KYZSOqvCuCT+2Tnub+D9UMIVfvYCqinLO7K1UG wL18M3gzM+71QJ63 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 v2 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, Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 990783 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 42kqNR2wdMz9s7W for ; Tue, 30 Oct 2018 22:43:19 +1100 (AEDT) Received: from localhost ([::1]:52375 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSQW-0002UM-Qa for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:43:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS9K-0002L7-PU for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS9D-0003lm-Qq for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:26 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:38725) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS91-0003J8-Vm; Tue, 30 Oct 2018 07:25:13 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mwfn8-1fKmk429BS-00y8DA; Tue, 30 Oct 2018 12:24:18 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mwfn8-1fKmk429BS-00y8DA; Tue, 30 Oct 2018 12:24:18 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:33 +0100 Message-Id: <20181030112337.17973-17-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:EpruMGy6kLNFKcNKdwgN4oApQRq9Ua5ve0hSsyZevrvuEOLxFc4 2Nqf2j/9dU3TPz80iNgSeRKlsezndeqcHywks0NFYU5MkfQSa4sYTUpO/MEKiUyCsPZZ5Wy ahYNkw12j6L2RNMPjMH9Riw9mYkn7mmgZXv7jcyT/X5+Yl1P/sBQZMCMIhSRAC9FDrELnp9 SMnt99y5KYywok5bdaeJg== X-UI-Out-Filterresults: notjunk:1; V01:K0:9FQOfexKcM0=:NtcgCNiX0Z1re1GuN9rjrK +Di5n16IIA+qeSi26hI9XVjofW9P/dCUhBO7DsvG/fdHUxTD2pOyMebghEF4UhekctkDaUmzq 7QUcDibk6QiRZ36TFULl7tHGdci3upYSRzi9nrWP9VdZ4WBuHImiFO4ehdw//o/kreCTL37jz Vi6NDclDy5CuekGaukehwTk7y1YWpz3CjI8bKjvuaFE6LrRW/Kp5YIFSVOxqlSVve/KaRekFi Utr0fl73GbrFGnTouKhcN1H4WWPseKJMsSXYEAoO26pVncs6vjoT1Z37A2WEfYCfS8n1bMFeE J5mN89PQZe9H8K/hbVQXDDYse5DVfu9oeePxuhvnEMD6nJ+L8NHMEzGHixevWc/yYqTeqADDm g54olO2wS0GXbfFA/Dh2vzRq8M8CYkZCy1Y1haneAnPThvJKgdMFXj1ONODYPoddgnDM3nEpl Qa8GcRNBN7vkb1G+NWGsmuJTc6ZhDGbtI3myru+jReYiSq3WvXSkOSRJc2U6fTXy227elrX6z CM8McIC1BIOIJCsCu9p9YSGMq//du/1U7EPen5aKOItr/hUxEGu+UGlw16ASuw9S/tdDuyUr8 5MLWvf+SVoTKXpgT2TjmJBGj3tbbKKWh5eQXWYtHGal1mjzxzkrCSUZWcxfMr/Pf3zeLQtlaC a+dCer0bz6h9g8Y8ODaYLfm2nbpsh2wpimVhjC0y37wc1Gs6rw61kbAKFpRlfYvC2PnqDmgFx ButyD5EUhHUfybJQ 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 v2 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, Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 990781 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 42kqLt6Dhkz9s7W for ; Tue, 30 Oct 2018 22:41:58 +1100 (AEDT) Received: from localhost ([::1]:52353 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSPE-0001BB-56 for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:41:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS95-000245-Kt for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS8y-0003B5-6Y for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:25:14 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:56611) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS8n-0002rr-PV; Tue, 30 Oct 2018 07:24:58 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M7sUE-1gDaFi25T8-0053ea; Tue, 30 Oct 2018 12:24:20 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M7sUE-1gDaFi25T8-0053ea; Tue, 30 Oct 2018 12:24:20 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:34 +0100 Message-Id: <20181030112337.17973-18-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:g0UQ27pPr0n6Gyo7LTiu2X1b3crfe9Pm3advV87kTAPQ4NK+fWJ Xf5appWG1VLn8k/+NN/WlIJdCitF4we8ARZSBbgZjCUBo9MzBEObQS8igCkGdA3ZjazEjzD XCyq7a86LpzUywGmv/CifZsacBvlToGprSzrt9oqVZ/6w6WKZ46XCdbaLn0GX66UZ+dgsXZ jhhqWwVQByojY7GTVTPpQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:mntFo7Cu7ps=:9qbwB0tB8iavhB2cnZRZV6 R30MtderFv6PZ7irMB6ijohG3Vhe3c4X5W3O+FHMNMgTbayqVGurCXRJ1I8vRRWc1sT/T2ggu jvVeofrclBb7uiOFLO87v1MseYkSNkNl8AqPEj0f0POZyNgse24eUXv94VFOTZGKuhGlVB+rz gwg3eWpWEmtARaOWfw7GXWKPcWTdExERgFwGf89AybkWwhNOeBzQRQoV69Y8+1uCvaA28XQQb O58rrDhqRt6JLSCrqHUoIBmPV/qS+bTcTdFuoZIgpPM+krSKD8HWgR74r16A5Fq+sZD/ajtZd tHxvKYq6H1u/3VWnJ7a8q7scgTdMzX6+bTSoiMm9v8UmP0Z4pQHZ8UscWNWS0912jQSxyxjpc CYAaryo7LgutjbDe8CBR/WEZOxEFr2tHPZ/rliQiXF82hmPj5/8n2th/Ez81u3ozpf0GCrZLK VYAEvMINgtKkJ0rz6wS9QfklzoGgruNugWRicYBheTbSPGqBL4bERILoqrTtkXfDBUX1m9Agj jbGn/RN3PfZJvGxJgPD8FLbbOQTuGU43vQyRurxD2UvNjOsfP2hXLaFEW9ioRGd6EFvP3sGxA 6c7BzsIWA7WGa7QtrmF7/KPVEfhbn/36sR8Gk+P9gT4IdZMq+JAFcHE9vjPUw7ZnlSg9X3sUB k7ZfXHDGL3O+Z0csxnMRdhXVMOzfFFhsqcO3MRF7BqNRbcbSicsmCTMlzevmSFo437/XQCtjF +eHIIdQTqYqEO3xj 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 v2 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, Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 990770 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 42kqG556CJz9s7W for ; Tue, 30 Oct 2018 22:37:49 +1100 (AEDT) Received: from localhost ([::1]:52323 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSLC-0005FR-Q1 for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:37:46 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS8n-0001gs-IX for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS8k-0002nc-Cb for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:57 -0400 Received: from mout.kundenserver.de ([212.227.126.133]:56459) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS8j-0002kz-Ue; Tue, 30 Oct 2018 07:24:54 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mgvev-1fd8Zf1xuf-00hQH9; Tue, 30 Oct 2018 12:24:22 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mgvev-1fd8Zf1xuf-00hQH9; Tue, 30 Oct 2018 12:24:22 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:35 +0100 Message-Id: <20181030112337.17973-19-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:TYAOM2UPEG2JBrG3DvbA0XzcWbCUGxCmCQZzQFwpas8OwFalWkQ IfAUy6Uz0fyXww+ircB3twrD2TNA22GqjI2kzdr02wHQdG8K/9xvk+YczYH642jaE9/ci7i z26UlhE4FjoZBH7O1DVnKIBIzB2wGxkRhnCbkgMSo3QNmc6wDOH96bMe7N2z599xz9UHIbk CEY/dc0S/JA70X+T32KOg== X-UI-Out-Filterresults: notjunk:1; V01:K0:v5/9TckJ5bo=:xqSfrIMOY/cr1Lc1v3RRE3 LUBNJ1JgPh4xHAHG2L0GU4m7W9O2RKs48lWkGAMuU1d3iW3oHf+MnGmr3opwqFCYbQ7DCQpEf 3T0FCdbN8HhQ7oICi34MrhZJ0DHBDgfzonYqAekslYT7CIIPVBkN+zYbnQPa6lrkBBvltDdbq SEmbjo+PLuwlnV3SzNYv0UsPgIWtkCtrNv2n+DnqjYogH8lAei7ZuCyHxEXjtM1wicgejiakl tmxHdaHlgEKJOlTVZQWY6YdZqg/BS+d1/qIwIOoBqf7zyCziCXCIe8gf6VCO01wqKUY5vS8XQ FdYHLlP8uGjd6CE09JzcvSaqoamGZKBgoYQqHwhP7ZCG1edjAbrfn4i1gxx9Fg3eZxWIs0L0F B0BL08W0mdwVhEZNIcgCw1KzPRUPuW0Y2Ac+G7sSGkt4/jlPZ56+XjTzalVV4LENb6u1zdfz5 WdJOR6guCtE9CBybb5L3a5nj1fL3Glp3mBH058XhrFB+q0l/pgJ4QcvJ+HcPWET2QS8aIlHiG iMXcy2hHUxZcLCFcHn+lEDeRN400UjlJ348ybgwi4esi30xharK4zAM4GXCBFBiBJMh5FUTJb cjf/4ZLCyWTMOb3OeHLF5WQ5juCQ6v6XNQQC3xuXlh/vCus9WIagv3Z6bzJMLAY+bqroiW1v0 YrtQGM7iY+GfOZXqO6nZbFRcowrEyDe7nVzGfoeqjx+pm+eSSFRZHdLh1Nin8sxg3rjlqFd6P BqKmd2bK9Wkxko78 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 v2 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, Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 Tue Oct 30 11:23:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 990749 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 42kq4D6dCJz9s7W for ; Tue, 30 Oct 2018 22:29:16 +1100 (AEDT) Received: from localhost ([::1]:52258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSCw-0006BL-A9 for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:29:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58003) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHS8g-0001b6-LP for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHS8f-0002cp-3F for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:24:50 -0400 Received: from mout.kundenserver.de ([212.227.126.134]:53357) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS8e-0002Y3-Lh; Tue, 30 Oct 2018 07:24:48 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M5wgF-1gBeJH20Xj-007XYf; Tue, 30 Oct 2018 12:24:24 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1M5wgF-1gBeJH20Xj-007XYf; Tue, 30 Oct 2018 12:24:24 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:36 +0100 Message-Id: <20181030112337.17973-20-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:Onxu/4XDh0jaT2PjMMZ+DvHlJo5HYaBM3GOMvdxKAvezyiybZ4/ +wBQgSHXjv9ia+tJuI9ezUmg2W7KXx3ekOySgDSHgV/JajGwABC9/HRq2jO/MBf08Lr4h4/ hV1O3ULqiwllm49AcUbvDZJOM9Du49YN8PhQCdk1FEF3V2psI8EhxX1LNrKITzQ3c4F4ufp QiCrKnsLmPc+5mJDmIbvw== X-UI-Out-Filterresults: notjunk:1; V01:K0:IBrtWAJUG3Q=:48MbjHQVjHgFfr+mUIdERq DbrYiHzyjdS2+pk0cHQxqT6IpblKYxCdeznEPdT8LaZutoiTIa8N1Pe8KAGqhukBzGYkjKsIw yHIAzJkPvELvEmU5SoWhtgtNhiOUPbC41r/r2NZ7HoZ0yYJgtLAzE40S9szAhaXTz4Kg1L60I 1pHcaKd5wkutSo3idcx82Bs6z0Pkr7l//IGpWYzdeWd5GK9pQlGzZ7Xxe64TgywIjH08HxxF1 djaZqniHhjzd1Or3u6w0nlJUQpxqhp1oW0YOxlO9l19fHGURCsgoerWDF2kvjPl2oCV7zxmuX G46Ie0uPrfDVXCIdBfTFoH0+3DMPENw5ICaPSlZ7XJrlMWGC7P06An52sSAoXgW4AVo7aoW1j wBHrwcJvqb8VW1bUrxOOrv8JtVHETg7N128QmamS79eqZuX4sLfimlXDG5wxLSapt7/c1VSDp GicZlsDDc4I1Dmcx6sxvzN/MB+pv7An3JbjEoboLFVZxaZC7K9fhgGLKBM270lepNqj9CZ7dt n8g5L15nh4xirzqp88vif7a9IBvR5hfti/VKWYZxCHShl9wdBNaa2YOY6l9stbcvaG6jWWkRT bocLUfLAOh8nTUaiPGnG5pjGRbFBtaIDbMtLs1ocdowapZme4xDYSGgdRfbCzDuxL41KGjXzo 6eCHNit5O8NG20I69LtUdCaq4Ej1QWbm7QfAaPS2Bd4PhRsbOYrC+fTcw4TdLKOMtGUuruMn6 seAvkdKV7Rrh6O9I 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 v2 19/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, Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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 From patchwork Tue Oct 30 11:23:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 990788 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 42kqZj4JpDz9s7W for ; Tue, 30 Oct 2018 22:52:13 +1100 (AEDT) Received: from localhost ([::1]:52441 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSZ8-0003BY-SB for incoming@patchwork.ozlabs.org; Tue, 30 Oct 2018 07:52:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHSAA-00033J-T7 for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:26:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHSA8-00063E-2X for qemu-devel@nongnu.org; Tue, 30 Oct 2018 07:26:22 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:46133) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHS9P-0003pT-AJ; Tue, 30 Oct 2018 07:25:35 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MAOeB-1gOpZx1zcB-00BvGL; Tue, 30 Oct 2018 12:24:26 +0100 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MAOeB-1gOpZx1zcB-00BvGL; Tue, 30 Oct 2018 12:24:26 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 30 Oct 2018 12:23:37 +0100 Message-Id: <20181030112337.17973-21-laurent@vivier.eu> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20181030112337.17973-1-laurent@vivier.eu> References: <20181030112337.17973-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:q5LxrzvdYU7CPNsTLmGXXcTjoHWS7tXgOUNrLn6WUBVWOyJHjX4 58/MogZSaPYGsRQWWABAyYmkkq4GP4kTSBoX+BW8xORZbw9lnsftm0ULdRZVfyzPHvBfkVX im0zJo8hI/KqAI1lgVRGV+pAQltLLBEgS7mpqxBUTnMctLi4AA45imQ6ctGdfhsQfXau6wS maYGw3ZIKpvCBF1VfQoPQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:7TFd7E5ROws=:B4993IzhonnCusVI0tYSqj oK4t//8Dukd/+oJducnR5RFvmCYRSEaVEbLsC4ZmEuEBZgyRWltcIR1lu2F8v2ZjwYB2JknH6 GsPdi4itO5Erwp9m+K+HRu+jWmQLpZMzrPj9749Kk6W/pUF3n7fUYBR3vcLVe/q94VlSn3r/G AAkn/tk20nLGuE6rsbVb6z4F3sI1xNZmBuKWm0+vFrO3fndTto5s+am2PctR10ypxG2iT0Kev fSxN8W4MrqjLJfe0G2dROfSA5HgKL1ZxGVCDtmMT8nXH9GPhRiwx02k1SE4P4s9PIzJ8cMag2 EbWY+nTlE9ccICMPQSC05/sOAYj4QuA7kpQSA+PsNTYPaJ7F+xvc/O6ZCkV4gCQOxNnBqIBYx jBJ4WkuaHZZgXEBCnp2FNktnVWx2EUVQBm3FQBogC7uYb8aKeWZzqgpBdZalh0fuOvcD2NolC /cK4AghL6ZPqyiefJJndsrUdEj2hsEtcWsQyt1P89IecFc6F9dJ7AbP2mh/3Km2O5BVuAVUWO AFA8nwytpwTIyg6gO2IGxHvFRpFQ+x7B4J8A6+WaEjgUsZjk3Fli64vK3ct5bCA/WJ4X+J2e0 +AV2ac23Rf+NNlPxMNjNTRCTv0iXAK9kkzj7PQMERjYAUrvRjN8DuLKyzGRVi7x4UsPH3uFl0 UMaSxu2UYm85aPUAngv4wCBbWS/dguGcFXRMTXulLxNh5tcATdAYn5GCSEvAVVcHdk1bD69X9 qEaOjjIeMk4CJVII 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 v2 20/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, Michael Walle , Anthony Perard , xen-devel@lists.xenproject.org, 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 , Markus Armbruster , Laurent Vivier , Max Reitz , Igor Mammedov , 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: <20181029130034.26750-1-f4bug@amsat.org> Signed-off-by: Laurent Vivier --- hw/net/milkymist-minimac2.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/hw/net/milkymist-minimac2.c b/hw/net/milkymist-minimac2.c index 3eaa19dfde..664ac34f25 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,10 @@ 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%" PRIx64 "\n", + size, addr << 2, value); break; } }