Re: [PATCH RFC 0/3] x86/e820: Ignore memmap= and mem= in confidential guests

From: Mike Rapoport

Date: Tue Nov 24 2026 - 10:56:43 EST


On Tue, Nov 24, 2026 at 07:09:42AM -0800, Dave Hansen wrote:
> On 11/24/26 05:32, Pankaj Gupta wrote:
> > In a confidential guest (SEV-SNP, TDX) the EFI stub builds the unaccepted
> > memory bitmap before the command line is parsed. memmap= and mem= edit
> > e820_table only afterwards.
>
> memmap= and mem= are debugging tools, right?

I wish they were :)
But AFAIU they are used to carve out "pmem" or PFN-mapped memory.

> If you use them, you get to keep the pieces. Why add complexity for this?

--
Sincerely yours,
Mike.