From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1er0tK-0002Xa-Pg for qemu-devel@nongnu.org; Wed, 28 Feb 2018 07:31:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1er0tF-0000UE-Qb for qemu-devel@nongnu.org; Wed, 28 Feb 2018 07:31:26 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:37224 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1er0tF-0000Tf-LE for qemu-devel@nongnu.org; Wed, 28 Feb 2018 07:31:21 -0500 From: Gerd Hoffmann Date: Wed, 28 Feb 2018 13:31:01 +0100 Message-Id: <20180228123110.6507-1-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH v6 0/9] vfio: add display support List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alex Williamson , Tina Zhang , intel-gvt-dev@lists.freedesktop.org, Kirti Wankhede , Gerd Hoffmann This series adds support for a vgpu display to the qemu vfio code. 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 | 330 +++++++++++++++++ hw/vfio/pci.c | 10 + ui/console.c | 78 +++- ui/qemu-pixman.c | 22 ++ hw/vfio/Makefile.objs | 2 +- scripts/update-linux-headers.sh | 7 + ui/trace-events | 2 + 27 files changed, 1820 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