From: Thomas Huth <thuth@redhat.com>
To: BALATON Zoltan <balaton@eik.bme.hu>
Cc: qemu-devel@nongnu.org,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
qemu-arm@nongnu.org, qemu-ppc@nongnu.org,
"Cleber Rosa" <crosa@redhat.com>,
"Alex Bennée" <alex.bennee@linaro.org>
Subject: Re: [PATCH] tests/acceptance: Add boot tests for some of the QEMU advent calendar images
Date: Thu, 30 Jan 2020 09:16:32 +0100 [thread overview]
Message-ID: <133b09ed-78f7-e280-f603-18e616a00979@redhat.com> (raw)
In-Reply-To: <alpine.BSF.2.22.395.2001291841260.40686@zero.eik.bme.hu>
On 29/01/2020 18.48, BALATON Zoltan wrote:
> On Wed, 29 Jan 2020, Thomas Huth wrote:
>> On 27/01/2020 18.31, Wainer dos Santos Moschetta wrote:
>>> On 1/24/20 3:03 PM, Thomas Huth wrote:
>>>> The 2018 edition of the QEMU advent calendar 2018 featured Linux images
>>>> for various non-x86 machines. We can use them for a boot tests in our
>>>> acceptance test suite.
>>>>
>>>> Let's also make sure that we build the corresponding machines in
>>>> Travis,
>>>> and while we're there, drop the superfluous --python parameter (python3
>>>> is now the only supported version anyway).
>>>>
>>>> Signed-off-by: Thomas Huth <thuth@redhat.com>
>>>> ---
>> [...]
>>>> + def test_ppc_g3beige(self):
>>>> + """
>>>> + :avocado: tags=arch:ppc
>>>> + :avocado: tags=machine:g3beige
>>>> + """
>>>> + tar_hash = 'e0b872a5eb8fdc5bed19bd43ffe863900ebcedfc'
>>>> + self.vm.add_args('-M', 'graphics=off')
>>>> + self.do_test_advcal_2018('15', tar_hash, 'invaders.elf')
>>>
>>> Hi Thomas, let me check one thing...
>>>
>>> The VM will be launched as:
>>>
>>> ----
>>>
>>> ppc-softmmu/qemu-system-ppc -display none -vga none -chardev
>>> socket,id=mon,path=/tmp/tmpvdokyvs3/qemu-41146-monitor.sock -mon
>>> chardev=mon,mode=control -machine g3beige -chardev
>>> socket,id=console,path=/tmp/tmpvdokyvs3/qemu-41146-console.sock,server,nowait
>>>
>>> -serial chardev:console -M graphics=off -kernel
>>> /tmp/avocado_g3uccfo5/avocado_job_61gglyz3/02-tests_acceptance_boot_linux_console.py_BootLinuxConsole.test_ppc_g3beige/day15/invaders.elf
>>>
>>>
>>>
>>> ----
>>>
>>> Note that it passes '[..] -machine g3beige [...] -M graphics=off [...]'.
>>> I suspect you wanted '-machine g3beige,graphics=off'. am I right?
>>
>> No, the -M graphics=off was intended.
>>
>>> or
>>> QEMU will interpret the -M option as a parameter of the already set
>>> machine type?
>>
>> That's exactly the case.
>>
>>> or the -M overwrites -machine, and because g3beige is the
>>> default type it just works?
>>
>> No, the default machine of qemu-system-ppc is mac99.
>
> I think you're wrong about the default machine type:
>
> $ qemu-system-ppc -M help
> Supported machines are:
> 40p IBM RS/6000 7020 (40p)
> bamboo bamboo
> g3beige Heathrow based PowerMAC (default)
>
> g3beige is marked as default and seems to be created without any -M
> option
Oops, thanks, I stand corrected.
Thomas
next prev parent reply other threads:[~2020-01-30 8:17 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-24 17:03 [PATCH] tests/acceptance: Add boot tests for some of the QEMU advent calendar images Thomas Huth
2020-01-24 19:14 ` Liam Merwick
2020-01-24 21:28 ` Wainer dos Santos Moschetta
2020-01-25 16:43 ` Thomas Huth
2020-01-25 18:38 ` Philippe Mathieu-Daudé
2020-01-27 10:38 ` Thomas Huth
2020-01-27 14:05 ` Wainer dos Santos Moschetta
2020-01-27 14:10 ` Thomas Huth
2020-01-27 13:22 ` Wainer dos Santos Moschetta
2020-01-27 17:31 ` Wainer dos Santos Moschetta
2020-01-29 14:49 ` Thomas Huth
2020-01-29 17:48 ` BALATON Zoltan
2020-01-30 8:16 ` Thomas Huth [this message]
2020-01-30 14:12 ` Wainer dos Santos Moschetta
2020-01-30 23:10 ` Philippe Mathieu-Daudé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=133b09ed-78f7-e280-f603-18e616a00979@redhat.com \
--to=thuth@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=balaton@eik.bme.hu \
--cc=crosa@redhat.com \
--cc=f4bug@amsat.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=wainersm@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).