mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-29 09:05:25 +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
49 lines
1.1 KiB
XML
49 lines
1.1 KiB
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='yes'>
|
|
<enum name='type'>
|
|
<value>vnc</value>
|
|
</enum>
|
|
</graphics>
|
|
<video supported='yes'>
|
|
<enum name='modelType'>
|
|
<value>gop</value>
|
|
</enum>
|
|
</video>
|
|
<hostdev supported='no'/>
|
|
</devices>
|
|
<features>
|
|
<gic supported='no'/>
|
|
</features>
|
|
</domainCapabilities>
|