aboutsummaryrefslogtreecommitdiff
path: root/hw/avr/arduino.c
diff options
context:
space:
mode:
authorIsaku Yamahata <isaku.yamahata@intel.com>2025-05-08 10:59:30 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2025-05-28 19:35:54 +0200
commitebc2d2b497c59414ac3c91de32bc546d27940e74 (patch)
treee26707e7bc67da39dd17c0d07ae50baf30f8c129 /hw/avr/arduino.c
parenta731425980a4d3f8bb96fc41893b6437672875ee (diff)
downloadqemu-ebc2d2b497c59414ac3c91de32bc546d27940e74.zip
qemu-ebc2d2b497c59414ac3c91de32bc546d27940e74.tar.gz
qemu-ebc2d2b497c59414ac3c91de32bc546d27940e74.tar.bz2
i386/tdx: Add TDVF memory via KVM_TDX_INIT_MEM_REGION
TDVF firmware (CODE and VARS) needs to be copied to TD's private memory via KVM_TDX_INIT_MEM_REGION, as well as TD HOB and TEMP memory. If the TDVF section has TDVF_SECTION_ATTRIBUTES_MR_EXTEND set in the flag, calling KVM_TDX_EXTEND_MEMORY to extend the measurement. After populating the TDVF memory, the original image located in shared ramblock can be discarded. Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com> Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Link: https://lore.kernel.org/r/20250508150002.689633-25-xiaoyao.li@intel.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions