diff options
author | Roman Bogorodskiy <bogorodskiy@gmail.com> | 2015-12-13 06:17:15 +0300 |
---|---|---|
committer | Roman Bogorodskiy <bogorodskiy@gmail.com> | 2016-01-25 04:19:33 +0300 |
commit | ef01addb38f83330197a85373fd16ed1053ff6ce (patch) | |
tree | afd30cda4d9e361b90a233a91410129658747459 /tests/bhyvexml2argvdata/bhyvexml2argv-bhyveload-bootorder.xml | |
parent | 318ae9f3be09e811b512a07409693278586c1e13 (diff) | |
download | libvirt-ef01addb38f83330197a85373fd16ed1053ff6ce.tar.gz |
bhyve: bhyveload: respect boot dev and boot order
Make bhyveload respect boot order as specified by os.boot section of the
domain XML or by "boot order" for specific devices. As bhyve does not
support a real boot order specification right now, it's just about
choosing a single device to boot from.
Diffstat (limited to 'tests/bhyvexml2argvdata/bhyvexml2argv-bhyveload-bootorder.xml')
-rw-r--r-- | tests/bhyvexml2argvdata/bhyvexml2argv-bhyveload-bootorder.xml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/bhyvexml2argvdata/bhyvexml2argv-bhyveload-bootorder.xml b/tests/bhyvexml2argvdata/bhyvexml2argv-bhyveload-bootorder.xml new file mode 100644 index 0000000000..e58c5f17e5 --- /dev/null +++ b/tests/bhyvexml2argvdata/bhyvexml2argv-bhyveload-bootorder.xml @@ -0,0 +1,29 @@ +<domain type='bhyve'> + <name>bhyve</name> + <uuid>df3be7e7-a104-11e3-aeb0-50e5492bd3dc</uuid> + <memory>219136</memory> + <vcpu>1</vcpu> + <os> + <type>hvm</type> + <boot dev='cdrom'/> + </os> + <devices> + <disk type='file' device='disk'> + <driver name='file' type='raw'/> + <source file='/tmp/freebsd.img'/> + <target dev='hda' bus='sata'/> + <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> + </disk> + <disk type='file' device='cdrom'> + <driver name='file' type='raw'/> + <source file='/tmp/cdrom.iso'/> + <target dev='hda' bus='sata'/> + <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> + </disk> + <interface type='bridge'> + <model type='virtio'/> + <source bridge="virbr0"/> + <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> + </interface> + </devices> +</domain> |