RISC-V: Add initial skeletal KVM support
This patch adds initial skeletal KVM RISC-V support which has: 1. A simple implementation of arch specific VM functions except kvm_vm_ioctl_get_dirty_log() which will implemeted in-future as part of stage2 page loging. 2. Stubs of required arch specific VCPU functions except kvm_arch_vcpu_ioctl_run() which is semi-complete and extended by subsequent patches. 3. Stubs for required arch specific stage2 MMU functions. Signed-off-by: NAnup Patel <anup.patel@wdc.com> Acked-by: NPaolo Bonzini <pbonzini@redhat.com> Reviewed-by: NPaolo Bonzini <pbonzini@redhat.com> Reviewed-by: NAlexander Graf <graf@amazon.com> Acked-by: NPalmer Dabbelt <palmerdabbelt@google.com>
Showing
arch/riscv/include/asm/kvm_host.h
0 → 100644
arch/riscv/include/uapi/asm/kvm.h
0 → 100644
arch/riscv/kvm/Kconfig
0 → 100644
arch/riscv/kvm/Makefile
0 → 100644
arch/riscv/kvm/main.c
0 → 100644
arch/riscv/kvm/mmu.c
0 → 100644
arch/riscv/kvm/vcpu.c
0 → 100644
arch/riscv/kvm/vcpu_exit.c
0 → 100644
arch/riscv/kvm/vm.c
0 → 100644
想要评论请 注册 或 登录