Re: [PATCH] sev-snp: parse MP tables for VMware hypervisor

2025-03-12 Thread Ajay Kaher
On Mon, Mar 10, 2025 at 6:42 PM Tom Lendacky wrote: > > On 3/10/25 05:26, Borislav Petkov wrote: > > On Thu, Dec 19, 2024 at 11:44:00AM +, Ajay Kaher wrote: > >> For VMware hypervisor, SEV-SNP enabled VM's could boot without UEFI. > >> In this case, mpparse_find_mptable() has to be called to p

Re: [PATCH] sev-snp: parse MP tables for VMware hypervisor

2025-03-11 Thread Borislav Petkov
On Mon, Mar 10, 2025 at 08:12:46AM -0500, Tom Lendacky wrote: > >> + if (sev_status & MSR_AMD64_SEV_SNP_ENABLED && > > > > cpu_feature_enabled(X86_FEATURE_SEV_SNP) > > I think this should really be cc_platform_has(CC_ATTR_GUEST_SEV_SNP). Ah, we wanna check the guest, sure. Thx. -- Regards/Gr

Re: [PATCH] sev-snp: parse MP tables for VMware hypervisor

2025-03-10 Thread Tom Lendacky
On 3/10/25 05:26, Borislav Petkov wrote: > On Thu, Dec 19, 2024 at 11:44:00AM +, Ajay Kaher wrote: >> For VMware hypervisor, SEV-SNP enabled VM's could boot without UEFI. >> In this case, mpparse_find_mptable() has to be called to parse MP >> tables which contains boot information. >> >> Fixes:

Re: [PATCH] sev-snp: parse MP tables for VMware hypervisor

2025-03-10 Thread Borislav Petkov
On Thu, Dec 19, 2024 at 11:44:00AM +, Ajay Kaher wrote: > For VMware hypervisor, SEV-SNP enabled VM's could boot without UEFI. > In this case, mpparse_find_mptable() has to be called to parse MP > tables which contains boot information. > > Fixes: 0f4a1e80989a ("x86/sev: Skip ROM range scans a

Re: [PATCH] sev-snp: parse MP tables for VMware hypervisor

2025-03-08 Thread Ajay Kaher
On Sat, Jan 18, 2025 at 4:26 AM Kevin Loughlin wrote: > > > > > For VMware hypervisor, SEV-SNP enabled VM's could boot without UEFI. > > > > In this case, mpparse_find_mptable() has to be called to parse MP > > > > tables which contains boot information. > > > > > > > > Fixes: 0f4a1e80989a ("x86/s

Re: [PATCH] sev-snp: parse MP tables for VMware hypervisor

2025-01-17 Thread Kevin Loughlin
On Thu, Jan 2, 2025 at 8:31 PM Ajay Kaher wrote: > > On Thu, Dec 26, 2024 at 9:26 PM Kevin Loughlin > wrote: > > > > On Thu, Dec 19, 2024 at 6:44 AM Ajay Kaher wrote: > > > > > > For VMware hypervisor, SEV-SNP enabled VM's could boot without UEFI. > > > In this case, mpparse_find_mptable() has

Re: [PATCH] sev-snp: parse MP tables for VMware hypervisor

2025-01-17 Thread Ajay Kaher
On Fri, Jan 3, 2025 at 10:01 AM Ajay Kaher wrote: > > > For VMware hypervisor, SEV-SNP enabled VM's could boot without UEFI. > > > In this case, mpparse_find_mptable() has to be called to parse MP > > > tables which contains boot information. > > > > > > Fixes: 0f4a1e80989a ("x86/sev: Skip ROM ran

Re: [PATCH] sev-snp: parse MP tables for VMware hypervisor

2025-01-02 Thread Ajay Kaher
On Thu, Dec 26, 2024 at 9:26 PM Kevin Loughlin wrote: > > On Thu, Dec 19, 2024 at 6:44 AM Ajay Kaher wrote: > > > > For VMware hypervisor, SEV-SNP enabled VM's could boot without UEFI. > > In this case, mpparse_find_mptable() has to be called to parse MP > > tables which contains boot information

Re: [PATCH] sev-snp: parse MP tables for VMware hypervisor

2024-12-26 Thread Kevin Loughlin
On Thu, Dec 19, 2024 at 6:44 AM Ajay Kaher wrote: > > For VMware hypervisor, SEV-SNP enabled VM's could boot without UEFI. > In this case, mpparse_find_mptable() has to be called to parse MP > tables which contains boot information. > > Fixes: 0f4a1e80989a ("x86/sev: Skip ROM range scans and valid

[PATCH] sev-snp: parse MP tables for VMware hypervisor

2024-12-19 Thread Ajay Kaher
For VMware hypervisor, SEV-SNP enabled VM's could boot without UEFI. In this case, mpparse_find_mptable() has to be called to parse MP tables which contains boot information. Fixes: 0f4a1e80989a ("x86/sev: Skip ROM range scans and validation for SEV-SNP guests") Signed-off-by: Ajay Kaher Signed-