[PATCH] tests/util/grub-shell: Default qemuopts to envvar $GRUB_QEMU_OPTS

2025-03-05 Thread Glenn Washburn
Fix a regression where qemuopts was mistakenly defaulted to the empty string. This prevents the sending of arbitrary QEMU options to tests, which may be desirable for overriding the machine type. There was a concern that allowing the tester to accept arbitrary options would add headaches for anothe

[PATCH] tests/util/grub-shell-luks-tester: Find cryptodisk by UUID

2025-03-05 Thread Glenn Washburn
GRUB has the capability to search all the disks for a cryptodisk of a given UUID. Use this instead of hardcoding which disk is the cryptodisk, which can change when devices are added or removed, or potentially when QEMU is upgraded. This can not be done for the detached header tests because the hea

Re: [PATCH v2] bsd: Fix type passed for the kernel

2025-03-05 Thread Daniel Kiper
On Tue, Mar 04, 2025 at 09:46:30PM +0300, Vladimir Serbinenko wrote: > FreeBSD loader always passes "elf kernel". We currently pass > "elf64 kernel" when loading 64-bit kernel. -CURRENT (HEAD) kernel > accepts only "elf kernel", older kernel accepts either. > > Tested with FreeBSD and DragonFlyBSD