Stefan Hajnoczi 8c7f3dd05e pci: refuse empty ROM files
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>
2013-03-26 21:02:17 +02:00
2013-03-15 16:07:51 +01:00
2013-03-26 21:02:17 +02:00
2013-03-17 13:27:27 +02:00
2012-12-19 08:29:06 +01:00
2013-02-28 09:19:00 +01:00
2013-03-26 21:02:16 +02:00
2013-03-15 16:07:49 +01:00
2013-02-28 09:19:00 +01:00
2013-03-04 09:54:17 +01:00
2013-03-13 12:21:04 -05:00
2012-09-07 09:02:44 +03:00
2013-02-21 10:38:07 +01:00
2012-11-01 13:10:06 +01:00
2013-02-21 16:17:31 -06:00
2013-03-11 13:32:03 +01:00
2013-03-15 16:07:51 +01:00
2012-05-14 07:27:24 +02:00
2008-10-12 17:54:42 +00:00
2013-03-12 10:35:55 +01:00
2013-02-16 14:50:59 +01:00
2013-03-12 13:40:11 -05:00
2013-03-12 13:40:11 -05:00
2013-02-21 16:17:31 -06:00
2011-12-09 11:25:22 +00:00
2013-03-08 21:17:46 +01:00
2013-03-15 11:36:49 -05:00
2013-02-16 11:12:13 +00:00
2013-03-11 13:32:03 +01:00
2013-03-17 13:27:27 +02:00
2013-03-11 13:32:03 +01:00
2013-03-17 13:27:27 +02:00
2013-02-22 21:21:10 +01:00
2013-02-22 21:29:43 +01:00
2013-02-18 08:39:10 -06:00
2011-12-11 17:50:43 -06:00
2013-02-15 17:40:56 -06:00

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team
Description
No description provided
Readme 418 MiB
Languages
Rust 68.8%
C 26.3%
C++ 3%
Python 0.9%
Shell 0.5%
Other 0.3%