diff options
| author | Ludwig Nussel <[email protected]> | 2026-05-04 09:10:23 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2026-05-08 15:49:27 -0600 |
| commit | 18806dae0e6fa9e0912a258e15f61b1b346dfdbc (patch) | |
| tree | a21782e629d680b7c6c196115552336ebee97e57 /tests/scripts | |
| parent | 55b152e6f0204e0b769f66ffd40ad02081f9bff0 (diff) | |
virtio: fix boot device hunting in qemu with virtio
Commit 70101c3217ae ("virtio: mmio: Return error codes on probe
failures") returns -ENODEV where it would return 0 before. That path is
apparently hit in qemu and breaks boot device discovery
(virtio_bootdev_hunt() expects only ENOENT). So return -ENOENT in
that path instead.
The remaining two error returns in the function are untouched as I
don't know where they play a role.
Signed-off-by: Ludwig Nussel <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Acked-by: Kuan-Wei Chiu <[email protected]>
Diffstat (limited to 'tests/scripts')
0 files changed, 0 insertions, 0 deletions
