On Fri, Apr 12, 2024 at 08:05:44PM +0000, "Edgecombe, Rick P" <rick.p.edgecombe@xxxxxxxxx> wrote: > > We can use device attributes as discussed at > > https://lore.kernel.org/kvm/CABgObfZzkNiP3q8p=KpvvFnh8m6qcHX4=tATaJc7cvVv2QWpJQ@xxxxxxxxxxxxxx/ > > https://lore.kernel.org/kvm/20240404121327.3107131-6-pbonzini@xxxxxxxxxx/ > > > > Something like > > > > #define KVM_X86_GRP_TDX 2 > > ioctl(fd, KVM_GET_DEVICE_ATTR, (KVM_X86_GRP_TDX, metadata_field_id)) > > This would be instead of ATTRIBUTES and XFAM? This is to replace KVM_TDX_CAPABILITIES. -- Isaku Yamahata <isaku.yamahata@xxxxxxxxx>