pci: simplify memory region registration
authorAvi Kivity <avi@redhat.com>
Thu, 11 Aug 2011 11:40:58 +0000 (14:40 +0300)
committerAvi Kivity <avi@redhat.com>
Mon, 17 Oct 2011 13:59:17 +0000 (15:59 +0200)
commit8b881e776a45cc1ee18f4bc8182bbc1d2aed56e8
tree4c3ebd127478145ddd767e8a5e1f8f19c555391e
parentadfc39eaeff3da25376f7d735ac97ee25f933dcc
pci: simplify memory region registration

The two code paths (for ADDRESS_SPACE_IO and ADDRESS_SPACE_MEM) are
identical.  Unify them.

Signed-off-by: Avi Kivity <avi@redhat.com>
hw/pci.c