]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
vfio: Rework to have error paths
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Fri, 30 May 2014 19:03:21 +0000 (13:03 -0600)
committerAlex Williamson <alex.williamson@redhat.com>
Fri, 30 May 2014 19:03:21 +0000 (13:03 -0600)
commit279a35ab4a8515d1eac06a76547d4b65a6cde519
treee07f23b9d71375b8b764c1094eb3bd4a1afe3b5b
parent7532d3cbf148f72c9476484223b94a188ab59706
vfio: Rework to have error paths

This reworks vfio_connect_container() and vfio_get_group() to have
common exit path at the end of the function bodies.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/misc/vfio.c