[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: meson, NEED_CPU_H, CONFIG_TCG and tests/
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: meson, NEED_CPU_H, CONFIG_TCG and tests/ |
Date: |
Fri, 19 Feb 2021 14:48:34 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
On 2/19/21 2:17 PM, Claudio Fontana wrote:
> On 2/19/21 2:14 PM, Philippe Mathieu-Daudé wrote:
>> On 2/19/21 2:04 PM, Claudio Fontana wrote:
>>> Hi Paolo,
>>>
>>> currently we have use of CONFIG_TCG in tests/,
>>>
>>> but is that variable available at all in there?
>>>
>>> I have to adapt some qemu/tests/qtest/* to work also without tcg for ARM,
>>>
>>> but I think I am not seeing CONFIG_TCG filtering through, and I wonder
>>> whether all the checks in there are actually "wrong".
>>
>> Checking for ./configure definitions in tests is probably wrong,
>> it should be done via binary introspection (ask the binary if it
>> has the feature enabled).
>>
>
> How are we going to launch with the correct qemu options in
> qtest/bios-tables-test.c and qtest/boot-serial-tests.c ?
Isn't it what was recently discussed here?
https://www.mail-archive.com/qemu-devel@nongnu.org/msg779881.html
https://www.mail-archive.com/qemu-devel@nongnu.org/msg779868.html
>
> I mean I agree with your sentiment, but it does not solve the problem..
>
> Ciao,
>
> Claudio
>