[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [qemu-s390x] [PATCH 00/18] Acceptance Tests: target architecture sup
Re: [qemu-s390x] [PATCH 00/18] Acceptance Tests: target architecture support
Tue, 22 Jan 2019 11:48:01 +0100
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0
On 1/21/19 11:15 PM, Aleksandar Markovic wrote:
>> From: Cleber Rosa <address@hidden>
>> class My(Test):
>> def test_nx_cpu_flag(self):
>> :avocado: tags=arch:x86_64
>> The value of the "arch" key, in this case, "x86_64" will be used when
>> selecting the QEMU binary to use in the test. At the same time, if
>> "x86_64-softmmu" is not a built target, the test will be filtered out
>> by "make check-acceptance".
> I think, the term "arch" is a little problematic in QEMU parlance. IMHO,
> "target" should be used instead. ("arch" is used in Linux kernel community)
Using target_arch/host_arch might be more explicit, but host_arch is not
very relevant regarding Avocado (except to choose the correct TCG
binary), so usually arch implies target_arch.
I mean, it is unlikely you enforce --host_arch on the command line to
run tests, this using --arch instead of --target_arch looks OK to me,
since host_arch can be guessed.
> The overall structure of the "tags" should be a little different. My
> "isa" (instruction set architecture, determeines how the kernel and rootfs
> are built)
In QEMU, "isa" is implicit with CPU, isnt' it?
I.e. I use:
$ mips64el-softmmu/qemu-system-mips64el -M Malta -cpu mips64dspr2
> This would allow clear view what a particular acceptance test tests, and will
> enforce consistency and clarity in the test organization across the board.
Maybe the problem you are pointing out is not Avocado test organization
but QEMU CPU organization... (which also bother me with boards able to
use different SoC, with different peripherals or cpus).
What is your idea on passing arch/cpu/isa to start QEMU?
> That said, I am very excited about this series.
Me too :)
- Re: [qemu-s390x] [PATCH 01/18] scripts/qemu.py: log QEMU launch command line, (continued)