QEMU and Grub.

2025-06-06 Thread Shaun Reitan
I've asked this question in the past and just havn't been able to get an answer with a solution, or if I can even do what I want to do so I'm going to throw it out here again. I have a QEMU/KVM environment with flat disk images, no partitioning, no MBR, just a ext filesystem. These instances a

Re: [PATCH v4 4/4] blsuki: Add uki command to load Unified Kernel Image entries

2025-06-06 Thread Daniel Kiper via Grub-devel
On Wed, May 21, 2025 at 12:51:26PM +, Alec Brown wrote: > A Unified Kernel Image is a single UEFI PE file that combines a UEFI boot > stub, > a Linux kernel image, an initrd, and further resources. The uki command will > locate where the UKI file is and create a GRUB menu entry to load it. > >

Re: [RESEND PATCH] UEFI: Fix several memory leaks of UEFI handles

2025-06-06 Thread Khalid Ali
> Hi Khalid Ali, > For pointers, you have to use like port == NULL instead !port Hi Sudhakar Kuppusamy, Well i checked on entire source tree to look for some consistency pattern, and basically both are valid and used. I think it is matter of code author preference. Beside i didn't write the cod

How to test grub-install from git tree without "make install" ?

2025-06-06 Thread Thomas Schmitt via Grub-devel
Hi, i made a hopefully harmless change to grub-install-common.c in order to avoid that backup files of /boot/grub/locale/*.mo get copied into the resulting ISO image of grub-mkrescue when more than one platform-target combination is configured. E.g. "x86_64-efi" together with "i386-pc". Begin of t

[PATCH v2] lib/crypto: Add echo_password boolean environment variable for password echo

2025-06-06 Thread 刘阳
  Dear GRUB2 Maintainers,   Thank you very much to Jiří "bindiff" Wolker for the excellent suggestion. Based on his feedback, I have implemented support for a new boolean environment variable called echo_password, which allows users to control whether characters are echoed (as *) when entering pass

Re: : Re: [PATCH v4 2/4] blsuki: Add blscfg command to parse Boot Loader Specification snippets

2025-06-06 Thread Avnish Chouhan
Hi Alec, I believe you're are right. Making "do while" a "while" will not make any difference for the infinite scenario. Adding a check which you mentioned "checking a value after removing the excess" will resolve the concerns I raised. Thank you! Regards, Avnish Chouhan Reviewed-by: Avnish 

Re: [RESEND PATCH] UEFI: Fix several memory leaks of UEFI handles

2025-06-06 Thread sudhakar
On 2025-05-29 21:47, Khalid Ali wrote: Fix possible and absolute memory leaks of "handles" returned by grub_efi_locate_handle() using grub_malloc(). Signed-off-by: Khalid Ali --- grub-core/commands/efi/lsefi.c | 1 + grub-core/commands/efi/tpm.c | 2 ++ grub-core/term/efi/serial.c| 4 ++-