qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/2] target/riscv: Only build qemu-system-riscv$$ on rv$$ hos


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH 0/2] target/riscv: Only build qemu-system-riscv$$ on rv$$ host
Date: Wed, 28 Jun 2023 09:55:16 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0

On 27/6/23 16:32, Philippe Mathieu-Daudé wrote:
Per Anup Patel in [*]:

  > Currently, we only support running rv64 guest on rv64 host
  > and rv32 guest on rv32 host.
  >
  > In the future, we might support running rv32 guest on rv64
  > host but as of now we don't see a strong push for it.

Therefore, when only using the KVM accelerator it is pointless
to build qemu-system-riscv32 on a rv64 host (or qemu-system-riscv64
on a rv32 host). Restrict meson to only build the correct binary,
avoiding to waste ressources building unusable code.

[*] 
CAAhSdy2JeRHeeoEc1XKQhPO3aDz4YKeyQsPT4S8yKJcYTA+AiQ@mail.gmail.com/">https://lore.kernel.org/qemu-devel/CAAhSdy2JeRHeeoEc1XKQhPO3aDz4YKeyQsPT4S8yKJcYTA+AiQ@mail.gmail.com/

Based-on: <20230626232007.8933-1-philmd@linaro.org>
"target/riscv: Allow building without TCG (KVM-only so far)"
20230626232007.8933-1-philmd@linaro.org/">https://lore.kernel.org/qemu-devel/20230626232007.8933-1-philmd@linaro.org/

Alistair: I just noticed there is no strict dependency with the
other series (aimed for 8.2), so this can get merged for 8.1.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]