commit | a664477db8dac84cc046e9d79701eefda1d58703 | [log] [tgz] |
---|---|---|
author | Eric Auger <eric.auger@linaro.org> | Mon Dec 22 09:54:37 2014 -0700 |
committer | Alex Williamson <alex.williamson@redhat.com> | Mon Dec 22 09:54:37 2014 -0700 |
tree | 9cc9291eee0d1ce15782f6edede46065fd5cbbe5 | |
parent | b47d8efa9f430c332bf96ce6eede169eb48422ad [diff] |
hw/vfio/pci: Introduce VFIORegion This structure is going to be shared by VFIOPCIDevice and VFIOPlatformDevice. VFIOBAR includes it. vfio_eoi becomes an ops of VFIODevice specialized by parent device. This makes possible to transform vfio_bar_write/read into generic vfio_region_write/read that will be used by VFIOPlatformDevice too. vfio_mmap_bar becomes vfio_map_region Signed-off-by: Eric Auger <eric.auger@linaro.org> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>