aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api
diff options
context:
space:
mode:
authorXiaoyao Li <xiaoyao.li@intel.com>2025-08-14 17:21:11 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2025-08-27 10:57:03 +0200
commita7542a38f399c50337e10aadd60513a400c45013 (patch)
treed597d77719602db57eff0292356d8115f9624b90 /rust/qemu-api
parent6f8924163ff1fb4bd19e0cd9dc7910bb540486f3 (diff)
downloadqemu-a7542a38f399c50337e10aadd60513a400c45013.zip
qemu-a7542a38f399c50337e10aadd60513a400c45013.tar.gz
qemu-a7542a38f399c50337e10aadd60513a400c45013.tar.bz2
x86/loader: Don't update kernel header for CoCo VMs
Update the header makes it different from the original kernel that user provides via "-kernel", which leads to a different hash and breaks the attestation, e.g., for TDX. We already skip it for SEV VMs. Instead of adding another check of is_tdx_vm() to cover the TDX case, check machine->cgs to cover all the confidential computing case for x86. Reported-by: Vikrant Garg <vikrant1garg@gmail.com> Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Link: https://lore.kernel.org/r/20250814092111.2353598-1-xiaoyao.li@intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'rust/qemu-api')
0 files changed, 0 insertions, 0 deletions