Re: [RFC PATCH v4 27/36] i386/tdx: Disable SMM for TDX VMs

2022-05-24 Thread Gerd Hoffmann
On Thu, May 12, 2022 at 11:17:54AM +0800, Xiaoyao Li wrote: > TDX doesn't support SMM and VMM cannot emulate SMM for TDX VMs because > VMM cannot manipulate TDX VM's memory. > > Disable SMM for TDX VMs and error out if user requests to enable SMM. Acked-by: Gerd Hoffmann

[RFC PATCH v4 27/36] i386/tdx: Disable SMM for TDX VMs

2022-05-11 Thread Xiaoyao Li
TDX doesn't support SMM and VMM cannot emulate SMM for TDX VMs because VMM cannot manipulate TDX VM's memory. Disable SMM for TDX VMs and error out if user requests to enable SMM. Signed-off-by: Xiaoyao Li --- target/i386/kvm/tdx.c | 8 1 file changed, 8 insertions(+) diff --git a/tar