mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +00:00
74cfb5bb85
* Extract filling bhyve capabilities from virBhyveDomainCapsBuild() into a new function virBhyveDomainCapsFill() to make testing easier by not having to mock firmware directory listing and hypervisor capabilities probing * Also, just presence of the firmware files is not sufficient to enable os.loader.supported, hypervisor should support UEFI boot too * Add tests to domaincapstest for the main caps possible flows: - when UEFI bootrom is supported - when video (fbus) is supported - neither of above is supported
41 lines
952 B
XML
41 lines
952 B
XML
<domainCapabilities>
|
|
<path>/usr/sbin/bhyve</path>
|
|
<domain>bhyve</domain>
|
|
<arch>x86_64</arch>
|
|
<os supported='yes'>
|
|
<loader supported='yes'>
|
|
<value>/foo/bar</value>
|
|
<value>/foo/baz</value>
|
|
<enum name='type'>
|
|
<value>pflash</value>
|
|
</enum>
|
|
<enum name='readonly'>
|
|
<value>yes</value>
|
|
</enum>
|
|
</loader>
|
|
</os>
|
|
<cpu>
|
|
<mode name='host-passthrough' supported='no'/>
|
|
<mode name='host-model' supported='no'/>
|
|
<mode name='custom' supported='no'/>
|
|
</cpu>
|
|
<devices>
|
|
<disk supported='yes'>
|
|
<enum name='diskDevice'>
|
|
<value>disk</value>
|
|
<value>cdrom</value>
|
|
</enum>
|
|
<enum name='bus'>
|
|
<value>virtio</value>
|
|
<value>sata</value>
|
|
</enum>
|
|
</disk>
|
|
<graphics supported='no'/>
|
|
<video supported='no'/>
|
|
<hostdev supported='no'/>
|
|
</devices>
|
|
<features>
|
|
<gic supported='no'/>
|
|
</features>
|
|
</domainCapabilities>
|