[libvirt] [PATCHv5 4/6] bhyvexml2argv: Add tests for domain-configured bootloader, args

Conrad Meyer cse.cem at gmail.com
Tue Oct 28 15:16:52 UTC 2014


On Tue, Oct 28, 2014 at 10:55 AM, Daniel P. Berrange
<berrange at redhat.com> wrote:
> On Mon, Oct 27, 2014 at 10:37:39AM -0400, Conrad Meyer wrote:
>> diff --git a/tests/bhyvexml2argvdata/bhyvexml2argv-disk-cdrom-grub.ldargs b/tests/bhyvexml2argvdata/bhyvexml2argv-disk-cdrom-grub.ldargs
>> new file mode 100644
>> index 0000000..d9161ba
>> --- /dev/null
>> +++ b/tests/bhyvexml2argvdata/bhyvexml2argv-disk-cdrom-grub.ldargs
>> @@ -0,0 +1,2 @@
>> +/usr/local/sbin/grub-bhyve --root cd --device-map '<device.map>' --memory 214 \
>> +bhyve
>
> Ah ha, I thought my command about device.map would become relevant :-)
>
> We probably want a 3rd expected data file  '.devmap' containing the
> expected device map contents to compare against.

This can be done, sure. (IMO GRUB only needs to know about the boot
device, be it CD or HDD, so this configuration will never be very
exciting / surprising.)

Thanks,
Conrad




More information about the libvir-list mailing list