[Qemu-devel] [PULL 00/11] VFIO updates 2018-02-05

Alex Williamson posted 11 patches 6 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180205185416.14391.5739.stgit@gimli.home
Test checkpatch passed
Test docker-build@min-glib passed
Test docker-mingw@fedora passed
Test docker-quick@centos6 passed
Test ppc passed
Test s390x passed
hw/core/qdev-properties.c    |  11 +++
hw/ppc/spapr_iommu.c         |  19 +++++
hw/vfio/common.c             |  28 ++++++-
hw/vfio/pci-quirks.c         |   9 +-
hw/vfio/pci.c                | 195 +++++++++++++++++++++++++++++++++++++------
hw/vfio/pci.h                |   7 +-
hw/vfio/platform.c           |   2 +
hw/vfio/trace-events         |   3 +
include/exec/memory.h        |  22 +++++
include/hw/qdev-properties.h |   4 +
memory.c                     |  13 +++
qapi/common.json             |  26 ++++++
target/ppc/kvm.c             |   7 +-
target/ppc/kvm_ppc.h         |   6 ++
14 files changed, 321 insertions(+), 31 deletions(-)
[Qemu-devel] [PULL 00/11] VFIO updates 2018-02-05
Posted by Alex Williamson 6 years, 2 months ago
The following changes since commit f24ee107a07f093bd7ed475dd48d7ba57ea3d8fe:

  Merge remote-tracking branch 'remotes/kraxel/tags/ui-20180202-pull-request' into staging (2018-02-02 18:54:11 +0000)

are available in the Git repository at:

  git://github.com/awilliam/qemu-vfio.git tags/vfio-update-20180205.0

for you to fetch changes up to 98cc546baeedd43373ecd44c2392bbe9f0bc484c:

  vfio/pci: Add option to disable GeForce quirks (2018-02-05 11:27:15 -0700)

----------------------------------------------------------------
VFIO updates 2018-02-05

 - SPAPR in-kernel TCE accleration (Alexey Kardashevskiy)

 - MSI-X relocation (Alex Williamson)

 - Add missing platform mutex init (Eric Auger)

 - Redundant variable cleanup (Alexey Kardashevskiy)

 - Option to disable GeForce quirks (Alex Williamson)

----------------------------------------------------------------
Alex Williamson (6):
      vfio/pci: Fixup VFIOMSIXInfo comment
      vfio/pci: Add base BAR MemoryRegion
      vfio/pci: Emulate BARs
      qapi: Create DEFINE_PROP_OFF_AUTO_PCIBAR
      vfio/pci: Allow relocating MSI-X MMIO
      vfio/pci: Add option to disable GeForce quirks

Alexey Kardashevskiy (4):
      memory/iommu: Add get_attr()
      vfio/spapr: Use iommu memory region's get_attr()
      spapr/iommu: Enable in-kernel TCE acceleration via VFIO KVM device
      vfio/common: Remove redundant copy of local variable

Eric Auger (1):
      hw/vfio/platform: Init the interrupt mutex

 hw/core/qdev-properties.c    |  11 +++
 hw/ppc/spapr_iommu.c         |  19 +++++
 hw/vfio/common.c             |  28 ++++++-
 hw/vfio/pci-quirks.c         |   9 +-
 hw/vfio/pci.c                | 195 +++++++++++++++++++++++++++++++++++++------
 hw/vfio/pci.h                |   7 +-
 hw/vfio/platform.c           |   2 +
 hw/vfio/trace-events         |   3 +
 include/exec/memory.h        |  22 +++++
 include/hw/qdev-properties.h |   4 +
 memory.c                     |  13 +++
 qapi/common.json             |  26 ++++++
 target/ppc/kvm.c             |   7 +-
 target/ppc/kvm_ppc.h         |   6 ++
 14 files changed, 321 insertions(+), 31 deletions(-)

Re: [Qemu-devel] [PULL 00/11] VFIO updates 2018-02-05
Posted by Peter Maydell 6 years, 2 months ago
On 5 February 2018 at 18:56, Alex Williamson <alex.williamson@redhat.com> wrote:
> The following changes since commit f24ee107a07f093bd7ed475dd48d7ba57ea3d8fe:
>
>   Merge remote-tracking branch 'remotes/kraxel/tags/ui-20180202-pull-request' into staging (2018-02-02 18:54:11 +0000)
>
> are available in the Git repository at:
>
>   git://github.com/awilliam/qemu-vfio.git tags/vfio-update-20180205.0
>
> for you to fetch changes up to 98cc546baeedd43373ecd44c2392bbe9f0bc484c:
>
>   vfio/pci: Add option to disable GeForce quirks (2018-02-05 11:27:15 -0700)
>
> ----------------------------------------------------------------
> VFIO updates 2018-02-05
>
>  - SPAPR in-kernel TCE accleration (Alexey Kardashevskiy)
>
>  - MSI-X relocation (Alex Williamson)
>
>  - Add missing platform mutex init (Eric Auger)
>
>  - Redundant variable cleanup (Alexey Kardashevskiy)
>
>  - Option to disable GeForce quirks (Alex Williamson)
>
> ----------------------------------------------------------------

Hi. This fails to build for Windows:

hw/ppc/spapr_iommu.c:20:23: fatal error: sys/ioctl.h: No such file or directory

thanks
-- PMM

Re: [Qemu-devel] [PULL 00/11] VFIO updates 2018-02-05
Posted by Alex Williamson 6 years, 2 months ago
On Tue, 6 Feb 2018 17:34:25 +0000
Peter Maydell <peter.maydell@linaro.org> wrote:

> On 5 February 2018 at 18:56, Alex Williamson <alex.williamson@redhat.com> wrote:
> > The following changes since commit f24ee107a07f093bd7ed475dd48d7ba57ea3d8fe:
> >
> >   Merge remote-tracking branch 'remotes/kraxel/tags/ui-20180202-pull-request' into staging (2018-02-02 18:54:11 +0000)
> >
> > are available in the Git repository at:
> >
> >   git://github.com/awilliam/qemu-vfio.git tags/vfio-update-20180205.0
> >
> > for you to fetch changes up to 98cc546baeedd43373ecd44c2392bbe9f0bc484c:
> >
> >   vfio/pci: Add option to disable GeForce quirks (2018-02-05 11:27:15 -0700)
> >
> > ----------------------------------------------------------------
> > VFIO updates 2018-02-05
> >
> >  - SPAPR in-kernel TCE accleration (Alexey Kardashevskiy)
> >
> >  - MSI-X relocation (Alex Williamson)
> >
> >  - Add missing platform mutex init (Eric Auger)
> >
> >  - Redundant variable cleanup (Alexey Kardashevskiy)
> >
> >  - Option to disable GeForce quirks (Alex Williamson)
> >
> > ----------------------------------------------------------------  
> 
> Hi. This fails to build for Windows:
> 
> hw/ppc/spapr_iommu.c:20:23: fatal error: sys/ioctl.h: No such file or directory

Ugh, sorry for that.  Additionally the include looks like cruft from
previous versions of the patch, we're not adding any ioctl calls here.
I'll remove the include and send a new request.  Thanks,

Alex