qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] boot-serial-test: Add a test for the powernv ma


From: Cédric Le Goater
Subject: Re: [Qemu-devel] [PATCH] boot-serial-test: Add a test for the powernv machine
Date: Tue, 8 Nov 2016 14:05:35 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0

On 11/08/2016 01:36 PM, Thomas Huth wrote:
> The new powernv machine ships with a firmware that outputs
> some text to the serial console, so we can automatically
> test this machine type in the boot-serial tester, too.
> And to get some (very limited) test coverage for the new
> POWER9 CPU emulation, too, this test is also started with
> "-cpu POWER9".

and we see the minimum :

  [8450016,6] CPU: P9 generation processor(max 4 threads/core)

Reviewed-by: Cédric Le Goater <address@hidden>



With very minimal changes (definition of some SPRs and the use 
of the SHV mode), the guest would load the kernel. 

Thanks,

C.


> Signed-off-by: Thomas Huth <address@hidden>
> ---
>  tests/boot-serial-test.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/boot-serial-test.c b/tests/boot-serial-test.c
> index d98c564..44c82e5 100644
> --- a/tests/boot-serial-test.c
> +++ b/tests/boot-serial-test.c
> @@ -29,6 +29,7 @@ static testdef_t tests[] = {
>      { "ppc64", "ppce500", "", "U-Boot" },
>      { "ppc64", "prep", "", "Open Hack'Ware BIOS" },
>      { "ppc64", "pseries", "", "Open Firmware" },
> +    { "ppc64", "powernv", "-cpu POWER9", "SkiBoot" },
>      { "i386", "isapc", "-cpu qemu32 -device sga", "SGABIOS" },
>      { "i386", "pc", "-device sga", "SGABIOS" },
>      { "i386", "q35", "-device sga", "SGABIOS" },
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]