Re: [PATCH RFC 0/3] x86/e820: Ignore memmap= and mem= in confidential guests
From: Mike Rapoport
Date: Tue Nov 24 2026 - 11:14:35 EST
On Tue, Nov 24, 2026 at 07:58:31AM -0800, Dave Hansen wrote:
> On 11/24/26 07:56, Mike Rapoport wrote:
> > 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.
>
> I've used them that way for development, but production pmem systems
> always had persistent memory in their BIOS-provided memory maps.
>
> How are folks depending on these in production in confidential guests?
They shouldn't but you can't guarantee that.
But I don't mind letting them crash if they do :)
--
Sincerely yours,
Mike.