device-assignment: Cleanup on exit
commit909bfdba8ba01d7f3b36c3e72d965f189df83bf2
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 10 Jun 2010 19:27:15 +0000 (10 13:27 -0600)
committerMarcelo Tosatti <mtosatti@redhat.com>
Fri, 11 Jun 2010 17:14:16 +0000 (11 14:14 -0300)
tree06fb26eecef7beb0c16e3465d0ccd4720f7bce3b
parent7c3f7480bcd2f14b3bf5e89bd1c65b4e2df5a568
device-assignment: Cleanup on exit

close() the resource fd when we're done with it.  Unregister and munmap the
anonymous memory for the MSIX table.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
hw/device-assignment.c