[SeaBIOS] [PATCH 0/1] Initialize only bootable virtio-blk/virtio-blk

Alexey Kirillov posted 1 patch 28 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/seabios tags/patchew/20191216134718.15767-1-lekiravi@yandex-team.ru
docs/Runtime_config.md |  1 +
src/hw/virtio-blk.c    | 10 ++++++++++
src/hw/virtio-scsi.c   | 10 ++++++++++
3 files changed, 21 insertions(+)

[SeaBIOS] [PATCH 0/1] Initialize only bootable virtio-blk/virtio-blk

Posted by Alexey Kirillov 28 weeks ago
This patch aimed to avoid problem with uninitialized virtio-blk and
virtio-scsi boot devices.
Currently, 12 KiB of memory is allocated for each virtio-blk/scsi, so
no more than about 10 devices can be initialized. If the device is not
initialized, we cannot boot from it. So, if we have more than 10 devices,
we can't boot from any of the following (11, 12, etc.).
We can initialize only bootable devices, i.e. listed in boot order list,
that this patch does.

Alexey Kirillov (1):
  virtio: do not init non-bootable devices

 docs/Runtime_config.md |  1 +
 src/hw/virtio-blk.c    | 10 ++++++++++
 src/hw/virtio-scsi.c   | 10 ++++++++++
 3 files changed, 21 insertions(+)

-- 
2.17.1
_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-leave@seabios.org