summary refs log tree commit diff stats
path: root/ui/console.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2018-08-23 10:45:58 -0600
committerAlex Williamson <alex.williamson@redhat.com>2018-08-23 10:45:58 -0600
commit8709b3954d4161bad30ccc435408ec50e10f53cc (patch)
treebb4a7963d81f4b23a4189903e1b704a0efdd5b4f /ui/console.c
parenta1c0f886496cfb4c336f8eb4155ed424567d653e (diff)
downloadfocaccia-qemu-8709b3954d4161bad30ccc435408ec50e10f53cc.tar.gz
focaccia-qemu-8709b3954d4161bad30ccc435408ec50e10f53cc.zip
vfio/pci: Fix failure to close file descriptor on error
A new error path fails to close the device file descriptor when
triggered by a ballooning incompatibility within the group.  Fix it.

Fixes: 238e91728503 ("vfio/ccw/pci: Allow devices to opt-in for ballooning")
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'ui/console.c')
0 files changed, 0 insertions, 0 deletions