[libvirt] [PATCH] drvbhyve: Use boot-order for grub-bhyve boot device
Michal Privoznik
mprivozn at redhat.com
Thu Nov 13 14:43:32 UTC 2014
On 13.11.2014 15:02, Conrad Meyer wrote:
> On Thu, Nov 13, 2014 at 8:30 AM, Michal Privoznik <mprivozn at redhat.com> wrote:
>> I think we need to honor boot order for CD-ROMs too. I mean, if you have two CD-ROMS like this:
>>
>> <disk type='file' device='cdrom'>
>> <driver name='file' type='raw'/>
>> <source file='/tmp/freebsd1.iso'/>
>> <target dev='hda' bus='sata'/>
>> <boot order='2'/>
>> </disk>
>> <disk type='file' device='cdrom'>
>> <driver name='file' type='raw'/>
>> <source file='/tmp/freebsd2.iso'/>
>> <target dev='hda' bus='sata'/>
>> <boot order='1'/>
>> </disk>
>
> I agree. I think the patch should do so.
>
>>
>> I'd expect to boot from /tmp/freebsd2.iso. Although, on the other hand, there's only onde device we can boot from, right? If that's the case, your code works too. Or am I just off the page?
>>
>> Michal
>
> Right. grub-bhyve only knows how to boot one device (as far as I
> know). In that example it should pick freebsd2.iso.
Okay. You've answered my only concern. So ACKed & pushed.
Michal
More information about the libvir-list
mailing list