summaryrefslogtreecommitdiff
path: root/tests/check-qlist.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2017-08-29 16:05:32 -0600
committerAlex Williamson <alex.williamson@redhat.com>2017-10-03 12:57:35 -0600
commit5b31c8229d903f27b7d6e3aa5c59e660dcc5908b (patch)
tree9aa1a212d810f70632fa3b74573f608e9901208d /tests/check-qlist.c
parentd147f7e815f97cb477e223586bcb80c316ae10ea (diff)
downloadqemu-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 'tests/check-qlist.c')
0 files changed, 0 insertions, 0 deletions