Skip to content

Commit

Permalink
Add host side support for COVH calls originated from the guest VM.
Browse files Browse the repository at this point in the history
Signed-off-by: Wojciech Ozga <woz@zurich.ibm.com>
  • Loading branch information
wojciechozga committed Oct 17, 2024
1 parent b0c72bb commit 240aefd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/riscv/include/asm/kvm_vcpu_sbi.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ extern const struct kvm_vcpu_sbi_extension vcpu_sbi_ext_experimental;
extern const struct kvm_vcpu_sbi_extension vcpu_sbi_ext_vendor;
#ifdef CONFIG_RISCV_COVE_HOST
extern const struct kvm_vcpu_sbi_extension vcpu_sbi_ext_covg;
extern const struct kvm_vcpu_sbi_extension vcpu_sbi_ext_covh;
#endif

#endif /* __RISCV_KVM_VCPU_SBI_H__ */
1 change: 1 addition & 0 deletions arch/riscv/include/uapi/asm/kvm.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ enum KVM_RISCV_SBI_EXT_ID {
KVM_RISCV_SBI_EXT_VENDOR,
KVM_RISCV_SBI_EXT_DBCN,
KVM_RISCV_SBI_EXT_COVG,
KVM_RISCV_SBI_EXT_COVH,
KVM_RISCV_SBI_EXT_MAX,
};

Expand Down

0 comments on commit 240aefd

Please sign in to comment.