Re: [PATCH 5/8] target/riscv/cpu.c: introduce RISCVCPUMultiExtConfig

2023-08-11 Thread Alistair Francis
On Fri, Jul 28, 2023 at 10:06 AM Daniel Henrique Barboza wrote: > > If we want to make better decisions when auto-enabling extensions during > realize() we need a way to tell if an user set an extension manually. > The RISC-V KVM driver has its own solution via a KVMCPUConfig struct > that has an

[PATCH 5/8] target/riscv/cpu.c: introduce RISCVCPUMultiExtConfig

2023-07-28 Thread Daniel Henrique Barboza
If we want to make better decisions when auto-enabling extensions during realize() we need a way to tell if an user set an extension manually. The RISC-V KVM driver has its own solution via a KVMCPUConfig struct that has an 'user_set' flag that is set during the Property set() callback. The set() c