Skip to content
2 changes: 2 additions & 0 deletions arch/x86/include/asm/kvm-x86-ops.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ KVM_X86_OP_OPTIONAL_RET0(vcpu_get_apicv_inhibit_reasons);
KVM_X86_OP_OPTIONAL(vm_attestation)
KVM_X86_OP_OPTIONAL(control_pre_system_reset)
KVM_X86_OP_OPTIONAL(control_post_system_reset)
KVM_X86_OP_OPTIONAL(get_hygon_coco_extension)
KVM_X86_OP_OPTIONAL(enable_hygon_coco_extension)

#undef KVM_X86_OP
#undef KVM_X86_OP_OPTIONAL
Expand Down
2 changes: 2 additions & 0 deletions arch/x86/include/asm/kvm_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -1758,6 +1758,8 @@ struct kvm_x86_ops {
int (*vm_attestation)(struct kvm *kvm, unsigned long gpa, unsigned long len);
int (*control_pre_system_reset)(struct kvm *kvm);
int (*control_post_system_reset)(struct kvm *kvm);
int (*get_hygon_coco_extension)(struct kvm *kvm);
int (*enable_hygon_coco_extension)(struct kvm *kvm, u32 arg);
};

struct kvm_x86_nested_ops {
Expand Down
Loading
Loading