vfio: more verbose error messages
authorAnatoly Burakov <anatoly.burakov@intel.com>
Wed, 18 Jun 2014 15:07:17 +0000 (16:07 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 18 Jun 2014 22:57:51 +0000 (00:57 +0200)
commita7156fa28c1dfa36e2a4553d374774132f3d7d80
tree77e03b2c8bffbc20328580ff6ebc2ff5cddbf7ae
parentb841b883465f7c6b118447e230dd1ec767272cc3
vfio: more verbose error messages

also, making VFIO code distinguish between actual unexpected values
and ioctl() failures, providing appropriate error messages.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c