On Tue, Sep 06, 2022 at 12:46:24PM +0200, Gerd Hoffmann wrote: > On Tue, Sep 06, 2022 at 12:36:56PM +0200, Jason A. Donenfeld wrote: > > It's only safe to modify the setup_data pointer on newer kernels where > > the EFI stub loader will ignore it. So condition setting that offset on > > the newer boot protocol version. While we're at it, gate this on SEV too. > > This depends on the kernel commit linked below going upstream. > > > > Cc: Gerd Hoffmann <[email protected]> > > Cc: Laurent Vivier <[email protected]> > > Cc: Michael S. Tsirkin <[email protected]> > > Cc: Paolo Bonzini <[email protected]> > > Cc: Peter Maydell <[email protected]> > > Cc: Philippe Mathieu-Daudé <[email protected]> > > Cc: Richard Henderson <[email protected]> > > Cc: Ard Biesheuvel <[email protected]> > > Link: > > https://lore.kernel.org/linux-efi/[email protected]/ > > Signed-off-by: Jason A. Donenfeld <[email protected]> > > Acked-by: Gerd Hoffmann <[email protected]>
Thanks for the ack. Just FYI, we should probably wait until Ard sends the kernel side of things up to Linus before committing this to QEMU. Jason
