> > Hi Ard, I think it better let creator to measure instead of consumer > > to measure like today's implementation in grub[1]. The creator here > > means who load/create it. In direct boot, it is OVMF read kernel > > command line and initrd image. > > Nope. OVMF just places kernel, initrd and cmdline images into a virtual > filesystem (see QemuKernelLoaderFsDxe), so the linux kernel efi stub is able > to > load things using the efi file protocol.
So there are two types loaders: 1. QemuKernelLoaderFsDxe - this way just put kernel/initrd blob into a FS for any future's usage, may be continue boot or not. 2. QemuLoadKernelImage, - this is consumed by TryRunningQemuKernel() - standard Qemu direct boot path I think above two ways are different purpose, so it does not means there are two loaders but only one consumer - kernel boot. > > take care, > Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#94008): https://edk2.groups.io/g/devel/message/94008 Mute This Topic: https://groups.io/mt/93737108/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-