[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC v12 40/65] tests/qtest: skip bios-tables-test test_acpi_oem_fie
From: |
Claudio Fontana |
Subject: |
Re: [RFC v12 40/65] tests/qtest: skip bios-tables-test test_acpi_oem_fields_virt for KVM |
Date: |
Mon, 29 Mar 2021 09:02:57 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 |
On 3/28/21 7:21 PM, Richard Henderson wrote:
> On 3/26/21 1:36 PM, Claudio Fontana wrote:
>> test is TCG-only.
>>
>> Signed-off-by: Claudio Fontana <cfontana@suse.de>
>> Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
>> ---
>> tests/qtest/bios-tables-test.c | 7 +++++++
>> 1 file changed, 7 insertions(+)
>>
>> diff --git a/tests/qtest/bios-tables-test.c b/tests/qtest/bios-tables-test.c
>> index e020c83d2a..bd7b85909c 100644
>> --- a/tests/qtest/bios-tables-test.c
>> +++ b/tests/qtest/bios-tables-test.c
>> @@ -1488,6 +1488,13 @@ static void test_acpi_oem_fields_virt(void)
>> };
>> char *args;
>>
>> +#ifndef CONFIG_TCG
>> + if (data.tcg_only) {
>> + g_test_skip("TCG disabled, skipping ACPI tcg_only test");
>> + return;
>> + }
>> +#endif /* CONFIG_TCG */
>
> Why is this an ifdef and not tcg_enabled()?
We want to launch this whenever TCG is compiled in.
> We're using kvm_enabled() elsewhere...
where?
>
>
> r~
>
- [RFC v12 32/65] target/arm: move TCGCPUOps to tcg/tcg-cpu.c, (continued)
- [RFC v12 32/65] target/arm: move TCGCPUOps to tcg/tcg-cpu.c, Claudio Fontana, 2021/03/26
- [RFC v12 38/65] target/arm: remove broad "else" statements when checking accels, Claudio Fontana, 2021/03/26
- [RFC v12 35/65] target/arm: remove kvm include file for PSCI and arm-powerctl, Claudio Fontana, 2021/03/26
- [RFC v12 39/65] target/arm: remove kvm-stub.c, Claudio Fontana, 2021/03/26
- [RFC v12 40/65] tests/qtest: skip bios-tables-test test_acpi_oem_fields_virt for KVM, Claudio Fontana, 2021/03/26
- [RFC v12 36/65] target/arm: move kvm-const.h, kvm.c, kvm64.c, kvm_arm.h to kvm/, Claudio Fontana, 2021/03/26
- Re: [RFC v12 36/65] target/arm: move kvm-const.h, kvm.c, kvm64.c, kvm_arm.h to kvm/, Richard Henderson, 2021/03/28
- Re: [RFC v12 36/65] target/arm: move kvm-const.h, kvm.c, kvm64.c, kvm_arm.h to kvm/, Richard Henderson, 2021/03/28
- [RFC v12 33/65] target/arm: move cpu_tcg to tcg/tcg-cpu-models.c, Claudio Fontana, 2021/03/26
- [RFC v12 41/65] tests: restrict TCG-only arm-cpu-features tests to TCG builds, Claudio Fontana, 2021/03/26
- [RFC v12 27/65] target/arm: split a15 cpu model and 32bit class functions to cpu32.c, Claudio Fontana, 2021/03/26