mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
38848325df
Even though we just introduced the rom.enabled attribute to properly cover the use case, there might be guests out there that use the only previously available way of disabling PCI ROM loading by not opting in to schema validation. To make sure such guests will keep working going forward, introduce a test case covering the legacy workaround. Signed-off-by: Andrea Bolognani <abologna@redhat.com>
26 lines
757 B
XML
26 lines
757 B
XML
<domain type='qemu'>
|
|
<name>guest</name>
|
|
<uuid>c7a5fdbd-edaf-9466-926a-d65c16db1809</uuid>
|
|
<memory unit='KiB'>219100</memory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<os>
|
|
<type arch='x86_64' machine='pc'>hvm</type>
|
|
</os>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
|
<controller type='pci' model='pci-root'/>
|
|
<controller type='usb' model='none'/>
|
|
<interface type='user'>
|
|
<mac address='52:54:00:24:a5:9f'/>
|
|
<model type='virtio'/>
|
|
<!--
|
|
This method of disabling PCI ROM loading is still supported
|
|
for backwards compatibility reasons, but <rom enabled='no'/>
|
|
should be used instead.
|
|
-->
|
|
<rom file=''/>
|
|
</interface>
|
|
<memballoon model='none'/>
|
|
</devices>
|
|
</domain>
|