mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 20:19:44 +00:00
8c7f3dd05e
A zero size ROM file is invalid and should produce a warning. Attempting to use a zero size file ends up hitting an assertion qemu_ram_set_idstr() because RAMBlocks with duplicate addresses are allocated - due to zero size the allocator doesn't increment the next available RAMBlock offset. Also convert __FUNCTION__ to __func__ while we're touching this code. There are no other __FUNCTION__ instances in pci.c anymore. Reported-by: Milos Ivanovic <milosivanovic@orcon.net.nz> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> |
||
---|---|---|
.. | ||
Makefile.objs | ||
msi.c | ||
msi.h | ||
msix.c | ||
msix.h | ||
pci_bridge.c | ||
pci_bridge.h | ||
pci_bus.h | ||
pci_host.c | ||
pci_host.h | ||
pci_ids.h | ||
pci_regs.h | ||
pci-hotplug.c | ||
pci-stub.c | ||
pci.c | ||
pci.h | ||
pcie_aer.c | ||
pcie_aer.h | ||
pcie_host.c | ||
pcie_host.h | ||
pcie_port.c | ||
pcie_port.h | ||
pcie_regs.h | ||
pcie.c | ||
pcie.h | ||
shpc.c | ||
shpc.h | ||
slotid_cap.c | ||
slotid_cap.h |