qemu-irix/hw/i386/kvm
Lin Ma 4f696c8533 pci-assign: Move "Invalid ROM" error message to pci-assign-load-rom.c
In function pci_assign_dev_load_option_rom, For those pci devices don't
have 'rom' file under sysfs or if loading ROM from external file, The
function returns NULL, and won't set the passed 'size' variable.

In these 2 cases, qemu still reports "Invalid ROM" error message, Users
may be confused by it.

Signed-off-by: Lin Ma <lma@suse.com>
Message-Id: <1466010327-22368-1-git-send-email-lma@suse.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit be968c721e)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2016-08-05 14:29:49 -05:00
..
Makefile.objs
apic.c msi_supported -> msi_nonbroken 2016-03-11 16:45:21 +02:00
clock.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
i8254.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
i8259.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
ioapic.c x86: Clean up includes 2016-01-29 15:07:22 +00:00
pci-assign.c pci-assign: Move "Invalid ROM" error message to pci-assign-load-rom.c 2016-08-05 14:29:49 -05:00