RISC-V: KVM: Factor-out ONE_REG related code to its own source file
authorAnup Patel <apatel@ventanamicro.com>
Tue, 11 Jul 2023 12:10:47 +0000 (17:40 +0530)
committerAnup Patel <anup@brainfault.org>
Tue, 8 Aug 2023 11:55:29 +0000 (17:25 +0530)
commite98b1085be795354073debd371e2889bea4902b9
treec2130e2b637ab1ffdaa378c1b290b2ee761e695b
parent52a93d39b17dc7eb98b6aa3edb93943248e03b2f
RISC-V: KVM: Factor-out ONE_REG related code to its own source file

The VCPU ONE_REG interface has grown over time and it will continue
to grow with new ISA extensions and other features. Let us move all
ONE_REG related code to its own source file so that vcpu.c only
focuses only on high-level VCPU functions.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/asm/kvm_host.h
arch/riscv/kvm/Makefile
arch/riscv/kvm/vcpu.c
arch/riscv/kvm/vcpu_onereg.c [new file with mode: 0644]