From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etfAc-0001ZG-Kg for qemu-devel@nongnu.org; Wed, 07 Mar 2018 14:56:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etfAb-0002Yq-QT for qemu-devel@nongnu.org; Wed, 07 Mar 2018 14:56:14 -0500 References: <1520424915-9794-1-git-send-email-thuth@redhat.com> From: =?UTF-8?Q?Herv=c3=a9_Poussineau?= Message-ID: <6105c7c8-a2f3-5c3e-2fe6-2af51ebd3433@reactos.org> Date: Wed, 7 Mar 2018 20:55:56 +0100 MIME-Version: 1.0 In-Reply-To: <1520424915-9794-1-git-send-email-thuth@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH] tests/boot-serial: Check the 40p machine, too List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Thomas Huth , qemu-devel@nongnu.org Cc: Paolo Bonzini , David Gibson , qemu-ppc@nongnu.org Le 07/03/2018 à 13:15, Thomas Huth a écrit : > The "40p" machine is using the Open Hack'Ware BIOS, just like the "prep" > machine, so we can test it accordingly with the boot-serial tester, too. > While we're at it, also change the strings that we are using for the > "prep" machine, so that this test now also checks some CLI parameters. > > Signed-off-by: Thomas Huth Reviewed-by: Hervé Poussineau > --- > NB: The 40p machine is currently broken - when the emulator is quit, > there is a rcu_read_unlock assertion message printed out. This test > here succeeds anyway since the qtest framework does not care about > errors in the shutdown path yet. > > tests/boot-serial-test.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/tests/boot-serial-test.c b/tests/boot-serial-test.c > index ece25c6..5b24cd2 100644 > --- a/tests/boot-serial-test.c > +++ b/tests/boot-serial-test.c > @@ -75,11 +75,13 @@ typedef struct testdef { > static testdef_t tests[] = { > { "alpha", "clipper", "", "PCI:" }, > { "ppc", "ppce500", "", "U-Boot" }, > - { "ppc", "prep", "", "Open Hack'Ware BIOS" }, > + { "ppc", "prep", "-m 96", "Memory size: 96 MB" }, > + { "ppc", "40p", "-boot d", "Booting from device d" }, > { "ppc", "g3beige", "", "PowerPC,750" }, > { "ppc", "mac99", "", "PowerPC,G4" }, > { "ppc64", "ppce500", "", "U-Boot" }, > - { "ppc64", "prep", "", "Open Hack'Ware BIOS" }, > + { "ppc64", "prep", "-boot e", "Booting from device e" }, > + { "ppc64", "40p", "-m 192", "Memory size: 192 MB" }, > { "ppc64", "mac99", "", "PowerPC,970FX" }, > { "ppc64", "pseries", "", "Open Firmware" }, > { "ppc64", "powernv", "-cpu POWER8", "OPAL" }, >