diff options
author | Alex Williamson | 2018-08-23 18:45:58 +0200 |
---|---|---|
committer | Alex Williamson | 2018-08-23 18:45:58 +0200 |
commit | 8709b3954d4161bad30ccc435408ec50e10f53cc (patch) | |
tree | bb4a7963d81f4b23a4189903e1b704a0efdd5b4f /hw/core | |
parent | vfio/pci: Handle subsystem realpath() returning NULL (diff) | |
download | qemu-8709b3954d4161bad30ccc435408ec50e10f53cc.tar.gz qemu-8709b3954d4161bad30ccc435408ec50e10f53cc.tar.xz 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 'hw/core')
0 files changed, 0 insertions, 0 deletions