qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: intel-gvt-dev@lists.freedesktop.org,
	Alex Williamson <alex.williamson@redhat.com>,
	Tina Zhang <tina.zhang@intel.com>,
	Gerd Hoffmann <kraxel@redhat.com>,
	Kirti Wankhede <kwankhede@nvidia.com>
Subject: [Qemu-devel] [PATCH v7 0/9] vfio: add display support
Date: Tue,  6 Mar 2018 10:51:26 +0100	[thread overview]
Message-ID: <20180306095135.21285-1-kraxel@redhat.com> (raw)

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

v7:
 - rebase to latest master.
 - dmabuf: update cursor hotspot properly (Tina).
 - dmabuf: track whenever cursor hotspot + position changes.
 - codestryle 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

-- 
2.9.3

             reply	other threads:[~2018-03-06  9:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-06  9:51 Gerd Hoffmann [this message]
2018-03-06  9:51 ` [Qemu-devel] [PATCH v7 1/9] linux-headers: update to 4.16-rc1 Gerd Hoffmann
2018-03-06  9:51 ` [Qemu-devel] [PATCH v7 2/9] standard-headers: add drm/drm_fourcc.h Gerd Hoffmann
2018-03-06  9:51 ` [Qemu-devel] [PATCH v7 3/9] ui/pixman: add qemu_drm_format_to_pixman() Gerd Hoffmann
2018-03-06  9:51 ` [Qemu-devel] [PATCH v7 4/9] console: minimal hotplug suport Gerd Hoffmann
2018-03-06  9:51 ` [Qemu-devel] [PATCH v7 5/9] secondary-vga: properly close QemuConsole on unplug Gerd Hoffmann
2018-03-06  9:51 ` [Qemu-devel] [PATCH v7 6/9] vfio/common: cleanup in vfio_region_finalize Gerd Hoffmann
2018-03-06  9:51 ` [Qemu-devel] [PATCH v7 7/9] vfio/display: core & wireup Gerd Hoffmann
2018-03-06  9:51 ` [Qemu-devel] [PATCH v7 8/9] vfio/display: adding region support Gerd Hoffmann
2018-03-06  9:51 ` [Qemu-devel] [PATCH v7 9/9] vfio/display: adding dmabuf support Gerd Hoffmann
2018-03-06 10:05 ` [Qemu-devel] [PATCH v7 0/9] vfio: add display support no-reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180306095135.21285-1-kraxel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=alex.williamson@redhat.com \
    --cc=intel-gvt-dev@lists.freedesktop.org \
    --cc=kwankhede@nvidia.com \
    --cc=qemu-devel@nongnu.org \
    --cc=tina.zhang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).