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)
commit783fee15800bb3b202397c3cdbedf9828eb3c568
tree5af633d3cf737902a0b047bcd63e8340a2cd1489
parentfc4e379ab4639100510b158fc3a86786b4e3e3f4
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