Hi, > + r = tdx_platform_ioctl(KVM_TDX_CAPABILITIES, 0, caps); > + if (r == -E2BIG) { > + g_free(caps); > + nr_cpuid_configs *= 2; > + if (nr_cpuid_configs > KVM_MAX_CPUID_ENTRIES) { > + error_report("KVM TDX seems broken"); Maybe, but IMHO this should still report what exactly the problem is (number of cpuid entries exceeds limit). take care, Gerd