Re: [PATCH 1/4] target/riscv/kvm: set 'aia_mode' to default in error path

2024-10-10 Thread Alistair Francis
On Tue, Sep 24, 2024 at 10:46 PM Daniel Henrique Barboza wrote: > > When failing to set the selected AIA mode, 'aia_mode' is left untouched. > This means that 'aia_mode' will not reflect the actual AIA mode, > retrieved in 'default_aia_mode', > > This is benign for now, but it will impact QMP quer

[PATCH 1/4] target/riscv/kvm: set 'aia_mode' to default in error path

2024-09-24 Thread Daniel Henrique Barboza
When failing to set the selected AIA mode, 'aia_mode' is left untouched. This means that 'aia_mode' will not reflect the actual AIA mode, retrieved in 'default_aia_mode', This is benign for now, but it will impact QMP query commands that will expose the 'aia_mode' value, retrieving the wrong value