memory: fix subregion collision warning
authorMichael Walle <michael@walle.cc>
Thu, 15 Sep 2011 21:16:49 +0000 (23:16 +0200)
committerAvi Kivity <avi@redhat.com>
Sun, 18 Sep 2011 11:55:16 +0000 (14:55 +0300)
commit860329b2513cf754c5f7d5400f7bcf5dd1a44489
tree5af633d3cf737902a0b047bcd63e8340a2cd1489
parentbe9c4183c44fcde64730446eb76bd68083dfa0db
memory: fix subregion collision warning

Instead of the offset property use the proper addr property to calculate
the offsets.

Additionally, be a little more verbose on the warning and print the
subregion name.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Avi Kivity <avi@redhat.com>
memory.c