-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support parsing multiple virtio-blk device #16
Comments
/cc @rbradford I quickly attempted to fix this problem but I realized we cannot use |
This requires a refactoring of the PCI device detection to take a closure to invoke over all the devices that match the vendor/device pair. Fixes: cloud-hypervisor#16 Signed-off-by: Rob Bradford <[email protected]>
This requires a refactoring of the PCI device detection to take a closure to invoke over all the devices that match the vendor/device pair. Fixes: #16 Signed-off-by: Rob Bradford <[email protected]>
At the moment, the code looks for the first device that is a virtio-blk device, and if it cannot find an EFI partition on it, it simply fails.
This is a problem when the first block device is not the actual boot device.
In order to solve this problem, we need the firmware to loop over the entire list of virtio-block devices until it can actually find one with an EFI partition.
The text was updated successfully, but these errors were encountered: