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

2025-04-25 Thread Andrew Jones
sed s/in/into/ <<<$SUBJECT On Fri, Apr 25, 2025 at 08:36:59AM -0300, 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 d

[PATCH v2 3/9] target/riscv/kvm: turn u32/u64 reg functions in 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.