Re: [PATCH v3 3/9] target/riscv/kvm: turn u32/u64 reg functions into macros

2025-04-28 Thread Alistair Francis
On Sat, Apr 26, 2025 at 2:03 AM Daniel Henrique Barboza wrote: > > This change is motivated by a future change w.r.t CSRs management. We > want to handle them the same way as KVM extensions, i.e. a static array > with KVMCPUConfig objs that will be read/write during init and so on. > But to do tha

[PATCH v3 3/9] target/riscv/kvm: turn u32/u64 reg functions into macros

2025-04-25 Thread Daniel Henrique Barboza
This change is motivated by a future change w.r.t CSRs management. We want to handle them the same way as KVM extensions, i.e. a static array with KVMCPUConfig objs that will be read/write during init and so on. But to do that properly we must be able to declare a static array that hold KVM regs.