diff options
author | Eric Auger <eric.auger@redhat.com> | 2016-10-17 10:57:58 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2016-10-17 10:57:58 -0600 |
commit | 7ef165b9a8d903babddaf9c61c54ae9b6e739604 (patch) | |
tree | 898d5f5395e6a50ac31c2939a8ef455ed7318e62 /util/host-utils.c | |
parent | 7dfb34247e231e1f317e3558af96c90f06fef8a5 (diff) | |
download | qemu-7ef165b9a8d903babddaf9c61c54ae9b6e739604.zip qemu-7ef165b9a8d903babddaf9c61c54ae9b6e739604.tar.gz qemu-7ef165b9a8d903babddaf9c61c54ae9b6e739604.tar.bz2 |
vfio/pci: Pass an error object to vfio_add_capabilities
Pass an error object to prepare for migration to VFIO-PCI realize.
The error is cascaded downto vfio_add_std_cap and then vfio_msi(x)_setup,
vfio_setup_pcie_cap.
vfio_add_ext_cap does not return anything else than 0 so let's transform
it into a void function.
Also use pci_add_capability2 which takes an error object.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'util/host-utils.c')
0 files changed, 0 insertions, 0 deletions