[PATCH v2 4/6] RISCV: KVM: Add senvcfg context save/restore
Andrew Jones
ajones at ventanamicro.com
Fri Jul 21 01:55:30 PDT 2023
On Fri, Jul 21, 2023 at 01:24:37PM +0530, Mayuresh Chitale wrote:
> Add senvcfg context save/restore for guest VCPUs and also add it to the
> ONE_REG interface to allow its access from user space.
>
> Signed-off-by: Mayuresh Chitale <mchitale at ventanamicro.com>
> ---
> arch/riscv/include/asm/csr.h | 1 +
> arch/riscv/include/asm/kvm_host.h | 2 ++
> arch/riscv/include/uapi/asm/kvm.h | 1 +
> arch/riscv/kvm/vcpu.c | 4 ++++
> 4 files changed, 8 insertions(+)
>
Reviewed-by: Andrew Jones <ajones at ventanamicro.com>
More information about the kvm-riscv
mailing list