[PULL 00/23] Vga 20210527 patches

Gerd Hoffmann posted 23 patches 2 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/next-importer-push tags/patchew/20210527142340.1352791-1-kraxel@redhat.com
Maintainers: Gerd Hoffmann <kraxel@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Cornelia Huck <cohuck@redhat.com>
contrib/vhost-user-gpu/vugpu.h           |   2 +-
include/hw/virtio/virtio-gpu-bswap.h     |  16 +
include/hw/virtio/virtio-gpu.h           |  39 +-
include/standard-headers/linux/udmabuf.h |  32 ++
include/ui/console.h                     |   3 +
include/ui/qemu-pixman.h                 |   1 +
contrib/vhost-user-gpu/vhost-user-gpu.c  |  29 +-
contrib/vhost-user-gpu/virgl.c           |  20 +-
hw/display/qxl.c                         |   2 +-
hw/display/virtio-gpu-base.c             |   3 +
hw/display/virtio-gpu-udmabuf.c          | 223 ++++++++++++
hw/display/virtio-gpu-virgl.c            |   3 +-
hw/display/virtio-gpu.c                  | 441 +++++++++++++++++------
stubs/virtio-gpu-udmabuf.c               |  27 ++
ui/qemu-pixman.c                         |  35 +-
ui/udmabuf.c                             |  40 ++
hw/display/meson.build                   |   1 +
hw/display/trace-events                  |   2 +
meson.build                              |   2 +-
scripts/update-linux-headers.sh          |   3 +
stubs/meson.build                        |   1 +
ui/meson.build                           |   1 +
22 files changed, 804 insertions(+), 122 deletions(-)
create mode 100644 include/standard-headers/linux/udmabuf.h
create mode 100644 hw/display/virtio-gpu-udmabuf.c
create mode 100644 stubs/virtio-gpu-udmabuf.c
create mode 100644 ui/udmabuf.c
[PULL 00/23] Vga 20210527 patches
Posted by Gerd Hoffmann 2 years, 11 months ago
The following changes since commit 2ab2dad01f6dc3667c0d53d2b1ba46b511031207:

  Merge remote-tracking branch 'remotes/kraxel/tags/input-20210526-pull-request' into staging (2021-05-26 15:27:20 +0100)

are available in the Git repository at:

  git://git.kraxel.org/qemu tags/vga-20210527-pull-request

for you to fetch changes up to bdd53f739273e97b5e5617b699d1763c42a5ea7e:

  virtio-gpu: Update cursor data using blob (2021-05-27 12:07:37 +0200)

----------------------------------------------------------------
virtio-gpu: add blob resource support.
vhost-user-gpu: security fixes.

----------------------------------------------------------------

Li Qiang (8):
  vhost-user-gpu: fix memory disclosure in virgl_cmd_get_capset_info
    (CVE-2021-3545)
  vhost-user-gpu: fix resource leak in 'vg_resource_create_2d'
    (CVE-2021-3544)
  vhost-user-gpu: fix memory leak in vg_resource_attach_backing
    (CVE-2021-3544)
  vhost-user-gpu: fix memory leak while calling 'vg_resource_unref'
    (CVE-2021-3544)
  vhost-user-gpu: fix memory leak in 'virgl_cmd_resource_unref'
    (CVE-2021-3544)
  vhost-user-gpu: fix memory leak in 'virgl_resource_attach_backing'
    (CVE-2021-3544)
  vhost-user-gpu: fix OOB write in 'virgl_cmd_get_capset'
    (CVE-2021-3546)
  vhost-user-gpu: abstract vg_cleanup_mapping_iov

Vivek Kasireddy (14):
  ui: Get the fd associated with udmabuf driver
  headers: Add udmabuf.h
  virtio-gpu: Add udmabuf helpers
  stubs: Add stubs for udmabuf helpers
  virtio-gpu: Add virtio_gpu_find_check_resource
  virtio-gpu: Refactor virtio_gpu_set_scanout
  virtio-gpu: Refactor virtio_gpu_create_mapping_iov
  virtio-gpu: Add initial definitions for blob resources
  virtio-gpu: Add virtio_gpu_resource_create_blob
  ui/pixman: Add qemu_pixman_to_drm_format()
  virtio-gpu: Add helpers to create and destroy dmabuf objects
  virtio-gpu: Factor out update scanout
  virtio-gpu: Add virtio_gpu_set_scanout_blob
  virtio-gpu: Update cursor data using blob

maobibo (1):
  hw/display/qxl: Set pci rom address aligned with page size

 contrib/vhost-user-gpu/vugpu.h           |   2 +-
 include/hw/virtio/virtio-gpu-bswap.h     |  16 +
 include/hw/virtio/virtio-gpu.h           |  39 +-
 include/standard-headers/linux/udmabuf.h |  32 ++
 include/ui/console.h                     |   3 +
 include/ui/qemu-pixman.h                 |   1 +
 contrib/vhost-user-gpu/vhost-user-gpu.c  |  29 +-
 contrib/vhost-user-gpu/virgl.c           |  20 +-
 hw/display/qxl.c                         |   2 +-
 hw/display/virtio-gpu-base.c             |   3 +
 hw/display/virtio-gpu-udmabuf.c          | 223 ++++++++++++
 hw/display/virtio-gpu-virgl.c            |   3 +-
 hw/display/virtio-gpu.c                  | 441 +++++++++++++++++------
 stubs/virtio-gpu-udmabuf.c               |  27 ++
 ui/qemu-pixman.c                         |  35 +-
 ui/udmabuf.c                             |  40 ++
 hw/display/meson.build                   |   1 +
 hw/display/trace-events                  |   2 +
 meson.build                              |   2 +-
 scripts/update-linux-headers.sh          |   3 +
 stubs/meson.build                        |   1 +
 ui/meson.build                           |   1 +
 22 files changed, 804 insertions(+), 122 deletions(-)
 create mode 100644 include/standard-headers/linux/udmabuf.h
 create mode 100644 hw/display/virtio-gpu-udmabuf.c
 create mode 100644 stubs/virtio-gpu-udmabuf.c
 create mode 100644 ui/udmabuf.c

-- 
2.31.1



Re: [PULL 00/23] Vga 20210527 patches
Posted by Peter Maydell 2 years, 10 months ago
On Thu, 27 May 2021 at 15:25, Gerd Hoffmann <kraxel@redhat.com> wrote:
>
> The following changes since commit 2ab2dad01f6dc3667c0d53d2b1ba46b511031207:
>
>   Merge remote-tracking branch 'remotes/kraxel/tags/input-20210526-pull-request' into staging (2021-05-26 15:27:20 +0100)
>
> are available in the Git repository at:
>
>   git://git.kraxel.org/qemu tags/vga-20210527-pull-request
>
> for you to fetch changes up to bdd53f739273e97b5e5617b699d1763c42a5ea7e:
>
>   virtio-gpu: Update cursor data using blob (2021-05-27 12:07:37 +0200)
>
> ----------------------------------------------------------------
> virtio-gpu: add blob resource support.
> vhost-user-gpu: security fixes.
>
> ----------------------------------------------------------------
>


Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/6.1
for any user-visible changes.

-- PMM