[virt-tools-list] virt-install: looking for option to get rombar='off' in guest xml

Cole Robinson crobinso at redhat.com
Tue Nov 17 14:41:50 UTC 2015


On 11/17/2015 06:03 AM, P.A.M. van Dam (Pascal) wrote:
> Good morning all,
> 
> I've one small question. Due to the nature of my tests with UEFI/OVMF and iSCSI booting I need to get the
> item <rom bar='off'\> (e.g. disable network adapter rom) in my guests xml. Editing it by hand is not really my preferred way. Which option(s) should
> I give virt-install to realise this for me?
> 

The virt-install/virt-xml option --hostdev rom_bar=on|off

You can set it for existing VMs host devices with virt-xml like:

  sudo virt-xml $VMNAME --edit all --hostdev rom_bar=off

- Cole




More information about the virt-tools-list mailing list