Commit 28224ef0 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: TDX: Report supported optional TDVMCALLs in TDX capabilities



Allow userspace to advertise TDG.VP.VMCALL subfunctions that the
kernel also supports.  For each output register of GetTdVmCallInfo's
leaf 1, add two fields to KVM_TDX_CAPABILITIES: one for kernel-supported
TDVMCALLs (userspace can set those blindly) and one for user-supported
TDVMCALLs (userspace can set those if it knows how to handle them).

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 4580dbef
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment