Paolo Bonzini ec05ec26f9 memory: use mr->ram_addr in "is this RAM?" assertions
mr->terminates alone doesn't guarantee that we are looking at a RAM region.
mr->ram_addr also has to be checked, in order to distinguish RAM and I/O
regions.

So, do the following:

1) add a new define RAM_ADDR_INVALID, and test it in the assertions
instead of mr->terminates

2) IOMMU regions were not setting mr->ram_addr to a bogus value, initialize
it in the instance_init function so that the new assertions would fire
for IOMMU regions as well.

Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-06-05 17:10:00 +02:00
2015-06-04 18:33:24 +01:00
2015-05-29 12:53:12 +02:00
2015-05-11 08:59:07 -04:00
2015-05-29 10:30:06 +02:00
2015-06-04 11:44:32 +01:00
2015-05-26 11:31:03 +01:00
2015-06-05 17:10:00 +02:00
2015-05-29 12:53:12 +02:00
2015-06-04 14:04:14 +01:00
2015-06-03 14:21:24 +03:00
2015-05-08 14:11:10 +03:00
2015-06-02 15:15:52 -03:00
2015-06-03 14:21:24 +03:00
2015-05-22 17:08:01 +02:00
2015-06-03 14:21:24 +03:00
2015-05-11 08:59:07 -04:00
2015-05-22 15:58:22 -04:00
2015-05-14 12:15:18 -07:00
2015-06-04 14:04:14 +01:00

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

- QEMU team
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%