diff options
author | Xiaoyao Li <xiaoyao.li@intel.com> | 2025-05-08 10:59:31 -0400 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2025-05-28 19:35:54 +0200 |
commit | 41f7fd22073561a23229c0479d9d708dee9d3a1e (patch) | |
tree | 4c7e46f7e1f1b4d2cd5525d824f55e2e4caca2a4 /hw/avr/arduino.c | |
parent | ebc2d2b497c59414ac3c91de32bc546d27940e74 (diff) | |
download | qemu-41f7fd22073561a23229c0479d9d708dee9d3a1e.zip qemu-41f7fd22073561a23229c0479d9d708dee9d3a1e.tar.gz qemu-41f7fd22073561a23229c0479d9d708dee9d3a1e.tar.bz2 |
i386/tdx: Call KVM_TDX_INIT_VCPU to initialize TDX vcpu
TDX vcpu needs to be initialized by SEAMCALL(TDH.VP.INIT) and KVM
provides vcpu level IOCTL KVM_TDX_INIT_VCPU for it.
KVM_TDX_INIT_VCPU needs the address of the HOB as input. Invoke it for
each vcpu after HOB list is created.
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-26-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