device-assignment: Fix slow option ROM mapping
commit537e22d6c2ee9bd690ffd9ca4e9d8c4e8a1f072d
authorAlex Williamson <alex.williamson@redhat.com>
Fri, 30 Jul 2010 19:40:13 +0000 (30 13:40 -0600)
committerAvi Kivity <avi@redhat.com>
Tue, 17 Aug 2010 09:48:50 +0000 (17 12:48 +0300)
treef1faefcb58ad17bfc1ea003a4d52672854143f95
parent59d71ddb432db04b57ee2658ce50a3e35d7db97e
device-assignment: Fix slow option ROM mapping

cpu_register_io_memory() supports individual function pointers
being NULL, not the structure itself.  Create and pass the
right thing.

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