summary refs log tree commit diff stats
path: root/python/scripts
diff options
context:
space:
mode:
authorXiaoyao Li <xiaoyao.li@intel.com>2025-05-08 10:59:18 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2025-05-28 19:01:40 +0200
commit53b6f406b4f1a215fb3ec60e56ddba2e019a45ef (patch)
treecedd6a8e59ea8945506b89a71c740b92bb1d56cc /python/scripts
parentbb3be394cf80d68251e5b89e823dddc679b6e644 (diff)
downloadfocaccia-qemu-53b6f406b4f1a215fb3ec60e56ddba2e019a45ef.tar.gz
focaccia-qemu-53b6f406b4f1a215fb3ec60e56ddba2e019a45ef.zip
i386/tdx: Validate TD attributes
Validate TD attributes with tdx_caps that only supported bits are
allowed by KVM.

Besides, sanity check the attribute bits that have not been supported by
QEMU yet. e.g., debug bit, it will be allowed in the future when debug
TD support lands in QEMU.

Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Link: https://lore.kernel.org/r/20250508150002.689633-13-xiaoyao.li@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'python/scripts')
0 files changed, 0 insertions, 0 deletions