rust-hypervisor-firmware icon indicating copy to clipboard operation
rust-hypervisor-firmware copied to clipboard

feature request for DevicePath parse to support sub type 0x03

Open nkraetzschmar opened this issue 1 year ago • 0 comments
trafficstars

Currently the DevicePath parse function only supports TYPE_MEDIA sub type 0x04 (MEDIA_FILEPATH_DP)^1, however, booting with systemd boot stub requires sub type 0x03 (MEDIA_VENDOR_DP) with LoadImage^2.

At the moment this causes boot with a UKI using the systemd boot stub to fail with:

[ERROR] Unexpected end of device path
Error loading kernel image: Unsupported
PANIC: panicked at src/main.rs:290:5:
Unable to boot from any virtio-blk device

It would be great if this sub type could be supported to allow UKI booting.

nkraetzschmar avatar Jul 24 '24 21:07 nkraetzschmar