Re: [PATCH 1/7] target/arm: Tidy cpu_max_initfn
Philippe Mathieu-Daudé <[email protected]>
| Newsgroups | org.nongnu.qemu-arm,org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
On 6/8/26 18:39, Richard Henderson wrote:
> Once we have eliminated hwaccel_enabled, only tcg and qtest remain.
Since f7fa2b88084 ("whpx: arm64: implement -cpu host") indeed.
> We don't really need to test for it anymore, but convert the if to
> and assert.
>
> Remove an assert on aarch64_enabled that is directly protected by
> a preceding if.
>
> Signed-off-by: Richard Henderson <[email protected]>
> ---
> target/arm/cpu-max.c | 9 ++++-----
> 1 file changed, 4 insertions(+), 5 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>