qemu/include
Michael S. Tsirkin ac41881b48 pc: avoid duplicate names for ROM MRs
Since
commit 04920fc0fa
    loader: store FW CFG ROM files in RAM
RAM MRs including ROM files in FW CFGs are created
and named using the file basename.

This becomes problematic if these names are
supplied by user, since the basename might not
be unique.

There are two cases we care about:
- option-rom flag.
- option ROM for devices. This triggers e.g. when
  using rombar=0.

At the moment we get an assert. E.g
qemu -option-rom /usr/share/ipxe/8086100e.rom -option-rom
/usr/share/ipxe.efi/8086100e.rom
RAMBlock "/rom@genroms/8086100e.rom" already registered, abort!

This is a regression from 1.6.

For now let's keep it simple and just avoid creating the
MRs in case of option ROMs.

when using 1.7 machine types, enable
option ROMs in RAM to match that version.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2014-03-11 13:25:48 +02:00
..
block nbd: move socket wrappers to qemu-nbd 2014-02-21 21:02:23 +01:00
disas disas: Implement disassembly output for A64 2014-02-08 14:50:48 +00:00
exec memory_region_present: return false if address is not found in child MemoryRegion 2014-03-09 21:09:37 +02:00
fpu softfloat: Support halving the result of muladd operation 2014-02-20 10:35:50 +00:00
hw pc: avoid duplicate names for ROM MRs 2014-03-11 13:25:48 +02:00
migration Fix two XBZRLE corruption issues 2014-02-25 14:30:28 +01:00
monitor quorum: Add quorum mechanism. 2014-02-21 22:29:50 +01:00
net net: remove implicit peer from offload API 2014-02-25 14:31:05 +01:00
qapi trivial patches for 2014-03-04 2014-03-04 18:12:02 +00:00
qemu Add a 'name' parameter to qemu_thread_create 2014-03-09 21:09:38 +02:00
qom dump: const-qualify the buf of WriteCoreDumpFunction 2014-02-28 11:49:02 -05:00
sysemu kvm: Add a new machine option kvm-type 2014-03-05 03:06:24 +01:00
ui console: add QemuUIInfo 2014-03-05 09:52:04 +01:00
config.h
elf.h
glib-compat.h
qemu-common.h Block patches 2014-02-25 10:50:11 +00:00
qemu-io.h
trace.h