Skip to content

vfio: add display support

Gerd Hoffmann qemu-devel 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest9 patches 6 repliesIn review
  2. v79 patches 0 repliesSuperseded
  3. v69 patches 3 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v57 patches1 replySuperseded
v47 patches19 repliesSuperseded
v3 RFC5 patches2 repliesSuperseded
v2 RFC5 patches5 repliesSuperseded
v1 RFC6 patches6 repliesSuperseded

Changes in v8 from the cover letter

- codestyle fixes, this time for real ...

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9linux-headers: update to 4.16-rc1include/standard-headers/linux/input-event-codes.h include/standard-headers/linux/input.h include/standard-headers/linux/pci_regs.h +11 more+918 -4100 replies
2/9standard-headers: add drm/drm_fourcc.hinclude/standard-headers/drm/drm_fourcc.h scripts/update-linux-headers.sh+416 -00 replies
3/9ui/pixman: add qemu_drm_format_to_pixman()include/ui/qemu-pixman.h ui/qemu-pixman.c+27 -01 reply
4/9console: minimal hotplug suportinclude/ui/console.h ui/console.c ui/trace-events+77 -60 replies
5/9secondary-vga: properly close QemuConsole on unplughw/display/vga-pci.c+9 -01 reply
6/9vfio/common: cleanup in vfio_region_finalizehw/vfio/common.c+7 -01 reply
7/9vfio/display: core & wireuphw/vfio/Makefile.objs hw/vfio/display.c hw/vfio/pci.c +1 more+71 -11 reply
8/9vfio/display: adding region supporthw/vfio/display.c hw/vfio/pci.h include/hw/vfio/vfio-common.h+124 -21 reply
9/9vfio/display: adding dmabuf supporthw/vfio/display.c include/hw/vfio/vfio-common.h+194 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v8 yet.

Read the v8 thread

Cover letter [Qemu-devel] [PATCH v8 0/9] vfio: add display support

This series adds support for a vgpu display to the qemu vfio code.

v8:
- codestyle fixes, this time for real ...

v7:
- rebase to latest master.
- dmabuf: update cursor hotspot properly (Tina).
- dmabuf: track whenever cursor hotspot + position changes.
- codestyle fixes.

v6:
- add support for hotplugging QemuConsoles.
- drop vfio-pci-display device, re-add OnOffAuto display property.
- add proper cleanup in finalize.

v5:
- rebase to latest master
- drop DeviceState->hotpluggable patch, use separate vfio-pci-display device instead so we can use DeviceClass->hotpluggable.
- add vfio dma-buf patch. Right now this can be tested with '-display egl-headless' only. gtk and spice support is almost ready for merge and should follow soon.

cheers,
Gerd

Gerd Hoffmann (9):
linux-headers: update to 4.16-rc1
standard-headers: add drm/drm_fourcc.h ui/pixman: add qemu_drm_format_to_pixman()
console: minimal hotplug suport
secondary-vga: properly close QemuConsole on unplug vfio/common: cleanup in vfio_region_finalize vfio/display: core & wireup
vfio/display: adding region support vfio/display: adding dmabuf support

 hw/vfio/pci.h                                      |   5 +
 include/hw/vfio/vfio-common.h                      |  22 ++
 include/standard-headers/drm/drm_fourcc.h          | 411 +++++++++++++++++++++
 include/standard-headers/linux/input-event-codes.h |   1 +
 include/standard-headers/linux/input.h             |  11 +
 include/standard-headers/linux/pci_regs.h          |  30 +-
 include/standard-headers/linux/virtio_net.h        |  13 +
 include/ui/console.h                               |   2 +
 include/ui/qemu-pixman.h                           |   5 +
 linux-headers/asm-powerpc/kvm.h                    |   2 +
 linux-headers/asm-powerpc/unistd.h                 |   3 +
 linux-headers/asm-s390/unistd.h                    | 401 +-------------------
 linux-headers/asm-s390/unistd_32.h                 | 364 ++++++++++++++++++
 linux-headers/asm-s390/unistd_64.h                 | 331 +++++++++++++++++
 linux-headers/asm-x86/kvm_para.h                   |   4 +
 linux-headers/linux/kvm.h                          |  90 +++++
 linux-headers/linux/psci.h                         |   3 +
 linux-headers/linux/vfio.h                         |  72 ++++
 hw/display/vga-pci.c                               |   9 +
 hw/vfio/common.c                                   |   7 +
 hw/vfio/display.c                                  | 347 +++++++++++++++++
 hw/vfio/pci.c                                      |  10 +
 ui/console.c                                       |  79 +++-
 ui/qemu-pixman.c                                   |  22 ++
 hw/vfio/Makefile.objs                              |   2 +-
 scripts/update-linux-headers.sh                    |   8 +
 ui/trace-events                                    |   2 +
 27 files changed, 1839 insertions(+), 417 deletions(-)
 create mode 100644 include/standard-headers/drm/drm_fourcc.h
 create mode 100644 linux-headers/asm-s390/unistd_32.h
 create mode 100644 linux-headers/asm-s390/unistd_64.h
 create mode 100644 hw/vfio/display.c
Signature · 1 line
2.9.3