q35: Introduce smm_ranges property for q35-pci-host
authorIsaku Yamahata <isaku.yamahata@linux.intel.com>
Wed, 20 Mar 2024 08:39:14 +0000 (03:39 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 Apr 2024 15:35:25 +0000 (17:35 +0200)
commitb07bf7b73fd02d24a7baa64a580f4974b86bbc86
treebb50aa8a3d2d1b4a52842d73b48abaa67aacb3cc
parent42c11ae2416dcbcd694ec3ee574fe2f3e70099ae
q35: Introduce smm_ranges property for q35-pci-host

Add a q35 property to check whether or not SMM ranges, e.g. SMRAM, TSEG,
etc... exist for the target platform.  TDX doesn't support SMM and doesn't
play nice with QEMU modifying related guest memory ranges.

Signed-off-by: Isaku Yamahata <isaku.yamahata@linux.intel.com>
Co-developed-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Signed-off-by: Michael Roth <michael.roth@amd.com>
Message-ID: <20240320083945.991426-19-michael.roth@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/i386/pc_q35.c
hw/pci-host/q35.c
include/hw/i386/pc.h
include/hw/pci-host/q35.h