Simon Glass
a710f5b2eb
bootstd: Correct virtio block-device handling
...
At present virtio tries to attach QEMU services to a bootdev device, which
cannot work. Add a check for this.
Also use bootdev_setup_sibling_blk() to create the bootdev device, since
it allows the correct name to be used and bootdev_get_sibling_blk() to
work as expected.
The bootdev is not created on sandbox since it does have a real virtio
device and it is not possible to read blocks.
Signed-off-by: Simon Glass <sjg@chromium.org >
Fixes: a60f7a3e35 ("bootstd: Add a virtio bootdev")
Reported-by: Ilias Apalodimas <ilias.apalodimas@linaro.org >
2023-02-06 13:04:53 -05:00
..
2023-01-12 16:25:51 +01:00
2023-01-23 18:11:40 -05:00
2021-09-30 08:08:56 -04:00
2022-08-12 08:14:23 -04:00
2023-01-23 18:11:41 -05:00
2022-12-05 16:06:08 -05:00
2022-12-02 08:39:00 -05:00
2022-08-23 12:39:06 +02:00
2022-06-17 16:27:05 +08:00
2023-02-02 01:49:20 +01:00
2023-02-04 18:13:21 +01:00
2023-01-18 12:46:13 -05:00
2023-01-20 12:27:24 -05:00
2023-01-30 21:02:27 +01:00
2021-10-05 08:50:15 -04:00
2022-09-16 11:05:16 -04:00
2022-12-22 10:31:48 -05:00
2023-01-11 15:02:24 -05:00
2023-01-18 13:11:13 -05:00
2023-01-20 12:27:24 -05:00
2022-06-23 12:58:19 -04:00
2022-10-31 14:47:32 -04:00
2023-02-02 01:49:20 +01:00
2022-01-13 07:57:49 -05:00
2023-01-20 12:27:24 -05:00
2022-10-21 13:47:56 -04:00
2023-01-27 14:47:58 -05:00
2022-11-02 13:58:17 -04:00
2022-09-26 14:23:29 +02:00
2022-12-08 18:06:27 +02:00
2022-12-08 18:06:27 +02:00
2023-02-01 09:31:17 -05:00
2023-02-02 01:49:20 +01:00
2023-01-27 10:15:39 -05:00
2022-01-13 07:57:49 -05:00
2023-02-02 14:44:53 -05:00
2023-01-23 18:11:41 -05:00
2021-09-25 09:46:15 -06:00
2023-01-27 14:47:58 -05:00
2021-07-06 10:38:03 -06:00
2023-01-20 12:27:24 -05:00
2023-02-02 01:49:20 +01:00
2023-01-30 23:23:01 +01:00
2022-12-23 10:10:40 -05:00
2023-01-20 12:27:24 -05:00
2023-01-20 12:27:24 -05:00
2023-01-11 11:54:50 -05:00
2022-02-08 11:00:03 -05:00
2023-01-05 10:06:35 +02:00
2022-09-14 15:23:03 -04:00
2023-01-11 11:54:50 -05:00
2023-01-23 18:11:41 -05:00
2023-01-30 23:23:02 +01:00
2022-10-12 08:56:24 -04:00
2023-01-24 13:55:05 +01:00
2022-12-05 17:43:21 +01:00
2023-01-26 21:01:56 +05:30
2021-10-31 08:46:44 -04:00
2022-10-29 07:36:33 -06:00
2023-01-05 10:06:35 +02:00
2023-01-20 10:04:56 +02:00
2022-10-11 16:03:03 -04:00
2023-02-02 10:16:41 -07:00
2023-01-20 10:04:56 +02:00
2023-01-20 12:27:24 -05:00
2023-02-02 10:16:41 -07:00
2023-02-04 18:16:30 +01:00
2023-02-06 13:04:53 -05:00
2022-10-29 07:36:33 -06:00
2021-07-06 10:38:03 -06:00
2023-01-20 12:27:23 -05:00
2022-11-02 13:58:17 -04:00
2022-12-08 18:06:27 +02:00
2022-12-08 18:06:27 +02:00