pc: Avoid registering zero sized memory
commitbbe80adf29dbfe6118f8e0a27eea6e77b705df11
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 6 Jul 2010 16:37:17 +0000 (6 10:37 -0600)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 13 Jul 2010 14:06:58 +0000 (13 09:06 -0500)
treee1efe6d7a057493cf30b76f34f1f48e339c69951
parentf077caa99c21847152e706e222277b378cb0ec2f
pc: Avoid registering zero sized memory

No need to call cpu_register_physical_memory() for a zero sized area.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pc.c