]> git.proxmox.com Git - mirror_qemu.git/commit
spapr_iommu: Rename vfio_accel parameter
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 30 Sep 2015 03:42:55 +0000 (13:42 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Thu, 22 Oct 2015 23:38:10 +0000 (10:38 +1100)
commit6a81dd172cd5d03fce593741629cb4c78fff10cb
treef60f2aa11b8bbfc9fbd1bc0e055728d6032fb453
parentf93caaac36ec3b030184055596cb56f64d0de988
spapr_iommu: Rename vfio_accel parameter

The vfio_accel parameter used when creating a new TCE table (guest IOMMU
context) has a confusing name.  What it really means is whether we need the
TCE table created to be able to support VFIO devices.

VFIO is relevant, because when available we use in-kernel acceleration of
the TCE table, but that may not work with VFIO devices because updates to
the table are handled in kernel, bypass qemu and so don't hit qemu's
infrastructure for keeping the VFIO host IOMMU state in sync with the guest
IOMMU state.

Rename the parameter to "need_vfio" throughout.  This is a cosmetic change,
with no impact on the logic.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
hw/ppc/spapr_iommu.c
include/hw/ppc/spapr.h
target-ppc/kvm.c
target-ppc/kvm_ppc.h