pci-assign: Fix I/O port
commita73b39b90cbf7000e26fd7da43c8c20c3edc66bd
authorAlex Williamson <alex.williamson@redhat.com>
Wed, 16 Nov 2011 20:45:41 +0000 (16 13:45 -0700)
committerAvi Kivity <avi@redhat.com>
Thu, 17 Nov 2011 09:26:36 +0000 (17 11:26 +0200)
tree3f6b61a8616ba678df4ef17eec6dd3b996832f30
parentc4cd183600aa6319b4a4a0b48cb41d63198e08c3
pci-assign: Fix I/O port

The old_portio structure seems broken.  Throw it away and
switch to the new style.  This was hitting an assert when
trying to make use of I/O port regions.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
hw/device-assignment.c