Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 557466 - app-emulation/qemu-2.4.0: multiple "rombar=0" prevent startup
Summary: app-emulation/qemu-2.4.0: multiple "rombar=0" prevent startup
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-13 13:50 UTC by Andreas Steinmetz
Modified: 2016-01-06 20:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Steinmetz 2015-08-13 13:50:29 UTC
When trying to start qemu 2.4.0 with the following options (excerpt) qemu bails out (note the 'rombar=0'):

-device virtio-net-pci,netdev=nic1,mac=02:01:00:00:00:05,bus=pci.0,rombar=0
-device virtio-net-pci,netdev=nic2,mac=02:01:00:00:02:05,bus=pci.0,rombar=0

Error message:

qemu-system-x86_64: -device virtio-net pci,netdev=nic2,mac=02:01:00:00:02:05,bus=pci.0,rombar=0: duplicate fw_cfg file name: genroms/efi-virtio.rom

Thus, since 2.4.0 the option rom for virtual NICs can't be disabled for the second and any subsequent NIC. This did work well in releases prior to 2.4.0.

Should probably be reported upstream but I do refuse to have to create an "Ubuntu One" account just to be able to report a bug.


Reproducible: Always
Comment 1 SpanKY gentoo-dev 2015-09-07 05:10:29 UTC
please post the full command line that you're using

i'm guessing that reverting this patch makes things work for you:
http://git.qemu.org/?p=qemu.git;a=commit;h=0eb973f91521c6bcb6399d25327711d083f6eb10
Comment 2 Andreas Steinmetz 2016-01-06 20:55:57 UTC
At least with qemu 2.5.0 'rombar=0' can be replaced with 'romfile=' to cause the same effect.
Sorry for the delay.