From: "Alex Bennée" <alex.bennee@linaro.org>
To: Thomas Huth <thuth@redhat.com>
Cc: qemu-devel@nongnu.org, "Daniel P. Berrange" <berrange@redhat.com>,
"Daniel Henrique Barboza" <dbarboza@ventanamicro.com>,
qemu-s390x@nongnu.org, "Halil Pasic" <pasic@linux.ibm.com>,
"Jiaxun Yang" <jiaxun.yang@flygoat.com>,
"Weiwei Li" <liwei1518@gmail.com>,
"Liu Zhiwei" <zhiwei_liu@linux.alibaba.com>,
"Cleber Rosa" <crosa@redhat.com>,
"Palmer Dabbelt" <palmer@dabbelt.com>,
"Leif Lindholm" <quic_llindhol@quicinc.com>,
"Eric Farman" <farman@linux.ibm.com>,
"Marc-André Lureau" <marcandre.lureau@redhat.com>,
"John Snow" <jsnow@redhat.com>,
"Philippe Mathieu-Daudé" <philmd@linaro.org>,
"Harsh Prateek Bora" <harshpb@linux.ibm.com>,
"Aurelien Jarno" <aurelien@aurel32.net>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Joel Stanley" <joel@jms.id.au>,
"Bernhard Beschow" <shentey@gmail.com>,
qemu-ppc@nongnu.org, qemu-riscv@nongnu.org,
"Daniel Henrique Barboza" <danielhb413@gmail.com>,
"Laurent Vivier" <lvivier@redhat.com>,
qemu-arm@nongnu.org,
"Wainer dos Santos Moschetta" <wainersm@redhat.com>,
"Fabiano Rosas" <farosas@suse.de>,
"Markus Armbruster" <armbru@redhat.com>,
"Bin Meng" <bmeng.cn@gmail.com>,
"Pavel Dovgalyuk" <pavel.dovgaluk@ispras.ru>,
"Marcel Apfelbaum" <marcel.apfelbaum@gmail.com>,
"Richard Henderson" <richard.henderson@linaro.org>,
"Marcin Juszkiewicz" <marcin.juszkiewicz@linaro.org>,
"Christian Borntraeger" <borntraeger@linux.ibm.com>,
"Beraldo Leal" <bleal@redhat.com>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Radoslaw Biernacki" <rad@semihalf.com>,
"Nicholas Piggin" <npiggin@gmail.com>,
"Mark Cave-Ayland" <mark.cave-ayland@ilande.co.uk>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Alistair Francis" <alistair.francis@wdc.com>
Subject: Re: [PATCH 20/20] tests/functional: extend test_aarch64_virt with vulkan test
Date: Thu, 12 Dec 2024 12:32:04 +0000 [thread overview]
Message-ID: <87bjxhrsjf.fsf@draig.linaro.org> (raw)
In-Reply-To: <d2a73820-58fa-41d0-8f38-68b0ad53fa7d@redhat.com> (Thomas Huth's message of "Wed, 11 Dec 2024 07:58:00 +0100")
Thomas Huth <thuth@redhat.com> writes:
> On 10/12/2024 21.43, Alex Bennée wrote:
>> Now we have virtio-gpu Vulkan support lets add a test for it.
>> Currently this is using images build by buildroot:
>> https://lists.buildroot.org/pipermail/buildroot/2024-December/768196.html
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
<snip>
>> + self.vm.set_console()
>> + kernel_command_line = (self.KERNEL_COMMON_COMMAND_LINE +
>> + 'console=ttyAMA0 root=/dev/vda')
>> + self.require_accelerator("tcg")
>
> Same, please move to the beginning since it can skip the test.
>
>> + self.vm.add_args("-accel", "tcg")
Actually this could run under KVM if we have it for Aarch64. Can we
represent that?
>> + self.vm.add_args("-cpu", "neoverse-v1,pauth-impdef=on")
I guess in that case we'd use -cpu host as well.
>> + self.vm.add_args("-machine",
>> + "virt,virtualization=on,"
>> + "gic-version=max",
>> + '-kernel', kernel_path,
>> + '-append', kernel_command_line)
>> + self.vm.add_args("-smp", "2", "-m", "2048")
>> + self.vm.add_args("-device", "virtio-gpu-gl-pci,hostmem=4G,blob=on,venus=on")
>> + self.vm.add_args("-display", "egl-headless")
>> + self.vm.add_args("-display", "dbus,gl=on")
>> + self.vm.add_args("-device", "virtio-blk-device,drive=hd0")
>> + self.vm.add_args("-blockdev",
>> + "driver=raw,file.driver=file,node-name=hd0,read-only=on,"
>> + f"file.filename={image_path}")
>> + self.vm.add_args("--snapshot")
>
> Any reason for using double dashes just here and not for the other commands?
>
>> + try:
>> + self.vm.launch()
>> + except VMLaunchFailure as e:
>> + if "old virglrenderer, blob resources unsupported" in e.output:
>> + self.skipTest("No blob support for virtio-gpu")
>> + elif "old virglrenderer, venus unsupported" in e.output:
>> + self.skipTest("No venus support for virtio-gpu")
>> + else:
>> + self.log.info(f"un-handled launch failure: {e.output}")
>
> s/un-handled/unhandled/ ?
>
> Thomas
--
Alex Bennée
Virtualisation Tech Lead @ Linaro
next prev parent reply other threads:[~2024-12-12 12:33 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-10 20:43 [PATCH 00/20] testing/next: functional tests and qtest timers Alex Bennée
2024-12-10 20:43 ` [PATCH 01/20] tests/functional: update the arm tuxrun tests Alex Bennée
2024-12-10 20:43 ` [PATCH 02/20] tests/functional: update the i386 " Alex Bennée
2024-12-10 20:43 ` [PATCH 03/20] tests/functional: add a m68k " Alex Bennée
2024-12-10 20:43 ` [PATCH 04/20] tests/functional: update the mips32 " Alex Bennée
2024-12-10 20:43 ` [PATCH 05/20] tests/functional: update the mips32el " Alex Bennée
2024-12-10 20:43 ` [PATCH 06/20] tests/functional: update the mips64 " Alex Bennée
2024-12-10 20:43 ` [PATCH 07/20] tests/functional: update the mips64el " Alex Bennée
2024-12-10 20:43 ` [PATCH 08/20] tests/functional: update the ppc32 " Alex Bennée
2024-12-10 20:43 ` [PATCH 09/20] tests/functional: update the ppc64 " Alex Bennée
2024-12-10 20:43 ` [PATCH 10/20] tests/functional: update the riscv32 " Alex Bennée
2024-12-10 20:43 ` [PATCH 11/20] tests/functional: update the riscv64 " Alex Bennée
2024-12-10 20:43 ` [PATCH 12/20] tests/functional: update the s390x " Alex Bennée
2024-12-10 20:43 ` [PATCH 13/20] tests/functional: update the sparc64 " Alex Bennée
2024-12-10 20:43 ` [PATCH 14/20] tests/functional: update the x86_64 " Alex Bennée
2024-12-10 20:43 ` [PATCH 15/20] tests/functional/aarch64: add tests for FEAT_RME Alex Bennée
2024-12-10 22:15 ` Richard Henderson
2024-12-11 2:32 ` Pierrick Bouvier
2024-12-11 8:04 ` Thomas Huth
2024-12-11 16:21 ` Pierrick Bouvier
2024-12-10 20:43 ` [PATCH 16/20] util/qemu-timer: fix indentation Alex Bennée
2024-12-10 22:16 ` Richard Henderson
2024-12-11 6:30 ` Thomas Huth
2024-12-10 20:43 ` [PATCH 17/20] tests/qtest: move clock_steps to after checks Alex Bennée
2024-12-11 6:37 ` Thomas Huth
2024-12-12 12:34 ` Fabiano Rosas
2024-12-10 20:43 ` [PATCH 18/20] system/qtest: properly feedback results of clock_[step|set] Alex Bennée
2024-12-11 6:35 ` Thomas Huth
2024-12-12 12:36 ` Fabiano Rosas
2024-12-10 20:43 ` [PATCH 19/20] tests/functional: remove hacky sleep from the tests Alex Bennée
2024-12-10 22:18 ` Richard Henderson
2024-12-11 6:39 ` Thomas Huth
2024-12-10 20:43 ` [PATCH 20/20] tests/functional: extend test_aarch64_virt with vulkan test Alex Bennée
2024-12-10 22:20 ` Richard Henderson
2024-12-11 6:58 ` Thomas Huth
2024-12-12 12:32 ` Alex Bennée [this message]
2024-12-12 14:03 ` Thomas Huth
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=87bjxhrsjf.fsf@draig.linaro.org \
--to=alex.bennee@linaro.org \
--cc=alistair.francis@wdc.com \
--cc=armbru@redhat.com \
--cc=aurelien@aurel32.net \
--cc=berrange@redhat.com \
--cc=bleal@redhat.com \
--cc=bmeng.cn@gmail.com \
--cc=borntraeger@linux.ibm.com \
--cc=crosa@redhat.com \
--cc=danielhb413@gmail.com \
--cc=dbarboza@ventanamicro.com \
--cc=farman@linux.ibm.com \
--cc=farosas@suse.de \
--cc=harshpb@linux.ibm.com \
--cc=jiaxun.yang@flygoat.com \
--cc=joel@jms.id.au \
--cc=jsnow@redhat.com \
--cc=liwei1518@gmail.com \
--cc=lvivier@redhat.com \
--cc=marcandre.lureau@redhat.com \
--cc=marcel.apfelbaum@gmail.com \
--cc=marcin.juszkiewicz@linaro.org \
--cc=mark.cave-ayland@ilande.co.uk \
--cc=mst@redhat.com \
--cc=npiggin@gmail.com \
--cc=palmer@dabbelt.com \
--cc=pasic@linux.ibm.com \
--cc=pavel.dovgaluk@ispras.ru \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=qemu-s390x@nongnu.org \
--cc=quic_llindhol@quicinc.com \
--cc=rad@semihalf.com \
--cc=richard.henderson@linaro.org \
--cc=shentey@gmail.com \
--cc=thuth@redhat.com \
--cc=wainersm@redhat.com \
--cc=zhiwei_liu@linux.alibaba.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.