Provide a way to disable ROM loading completely for a device
Issue
- libvirt: Provide a way to disable
ROMloading completely for a device - Currently it's not possible to use
virsh attach-interfaceonrombar-lessinstallations.QEMUerrors out with, e.g.
error: Failed to attach interface
error: internal error: unable to execute QEMU command 'device_add': failed to find romfile "pxe-virtio.rom"
- Attempting
virsh attach-deviceinstead with the following xml
<interface type='bridge'>
<source bridge='br0'/>
<model type='virtio'/>
<rom bar='off'/>
</interface>
- fails with
error: Failed to attach device from interface.xml
error: internal error: unable to execute QEMU command 'device_add': Hot-plugged device without ROM bar can't have an option ROM
Environment
- Red Hat Enterprise Linux 7.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.