diff options
author | Alex Williamson <alex.williamson@redhat.com> | 2017-08-29 16:05:32 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2017-10-03 12:57:35 -0600 |
commit | 5b31c8229d903f27b7d6e3aa5c59e660dcc5908b (patch) | |
tree | 9aa1a212d810f70632fa3b74573f608e9901208d /qemu-nbd.c | |
parent | d147f7e815f97cb477e223586bcb80c316ae10ea (diff) | |
download | qemu-5b31c8229d903f27b7d6e3aa5c59e660dcc5908b.zip |
vfio/pci: Do not unwind on error
If vfio_add_std_cap() errors then going to out prepends irrelevant
errors for capabilities we haven't attempted to add as we unwind our
recursive stack. Just return error.
Fixes: 7ef165b9a8d9 ("vfio/pci: Pass an error object to vfio_add_capabilities")
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions