vfio: ignore mapping for ioport region
authorSantosh Shukla <sshukla@mvista.com>
Sun, 21 Feb 2016 14:18:00 +0000 (19:48 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 24 Feb 2016 10:44:55 +0000 (11:44 +0100)
commitc5d8315f97c3e7bb2374a34fdb5f49942c2aa010
tree8b5cd2edd91f3f432cdb6f1d740861cb10c33a9d
parent0291476ae364555bdbf689f2e8abdfc19cb1a7e8
vfio: ignore mapping for ioport region

vfio_pci_mmap() try to map all pci bars. ioport region are not mapped in
vfio/kernel so ignore mmaping for ioport.

Signed-off-by: Santosh Shukla <sshukla@mvista.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
lib/librte_eal/linuxapp/eal/eal_pci_vfio.c