[PATCH RFC v5 04/12] target/riscv: Implement kvm_arch_get_registers