mirror of
https://github.com/libvirt/libvirt.git
synced 2026-08-12 06:04:46 -05:00
drvbhyve: Use boot-order for grub-bhyve boot device
Rather than just picking the first CD (or failing that, HDD) we come across, if the user has picked a boot device ordering with <boot order=''>, respect that (and just try to boot the lowest-index device). Adds two sets of tests to bhyve2xmlargv; 'grub-bootorder' shows that we pick a user-specified device over the first device in the domain; 'grub-bootorder2' shows that we pick the first (lowest index) device.
This commit is contained in:
committed by
Michal Privoznik
parent
c87f268a36
commit
cdbb21bc59
@@ -163,6 +163,8 @@ mymain(void)
|
||||
DO_TEST("serial");
|
||||
DO_TEST("console");
|
||||
DO_TEST("grub-defaults");
|
||||
DO_TEST("grub-bootorder");
|
||||
DO_TEST("grub-bootorder2");
|
||||
DO_TEST("bhyveload-explicitargs");
|
||||
DO_TEST("custom-loader");
|
||||
DO_TEST("disk-cdrom-grub");
|
||||
|
||||
Reference in New Issue
Block a user