[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3 24/26] virtio-gpu: split virtio-gpu, introduc
From: |
Marc-André Lureau |
Subject: |
Re: [Qemu-devel] [PATCH v3 24/26] virtio-gpu: split virtio-gpu, introduce virtio-gpu-base |
Date: |
Wed, 20 Jun 2018 18:04:25 +0200 |
Hi
On Tue, Jun 19, 2018 at 8:43 AM, Gerd Hoffmann <address@hidden> wrote:
> On Mon, Jun 18, 2018 at 06:17:27PM +0200, Marc-André Lureau wrote:
>> Add a base class that is common to virtio-gpu and vhost-user-gpu
>> devices.
>
> More verbose commit message please. What functionality is common and
> handled by the new (abstract?) base class? (same for patch #25).
Would that level of details be enough?
The VirtIOGPUBase base class provides common functionalities necessary
for both virtio-gpu and vhost-user-gpu:
- common configuration (max-outputs, initial resolution, flags)
- virtio device initialization, including queue setup
- device pre-conditions checks (iommu)
- migration blocker
- virtio device callbacks
- hooking up to qemu display subsystem
- a few common helper functions to reset the device, retrieve display
informations
- a class callback to unblock the rendering (for GL updates)
What is left to the virtio-gpu subdevice to take care of, in short,
are all the virtio queues handling, command processing and migration.
thanks
- [Qemu-devel] [PATCH v3 21/26] virtio-gpu: remove unused config_size, (continued)
- [Qemu-devel] [PATCH v3 21/26] virtio-gpu: remove unused config_size, Marc-André Lureau, 2018/06/18
- [Qemu-devel] [PATCH v3 22/26] virtio-gpu: block both 2d and 3d rendering, Marc-André Lureau, 2018/06/18
- [Qemu-devel] [PATCH v3 20/26] virtio-gpu: remove unused qdev, Marc-André Lureau, 2018/06/18
- [Qemu-devel] [PATCH v3 17/26] virtio: add virtio-gpu bswap helpers header, Marc-André Lureau, 2018/06/18
- [Qemu-devel] [PATCH v3 23/26] virtio-gpu: remove useless 'waiting' field, Marc-André Lureau, 2018/06/18
- [Qemu-devel] [PATCH v3 19/26] contrib: add vhost-user-gpu, Marc-André Lureau, 2018/06/18
- [Qemu-devel] [PATCH v3 25/26] virtio-gpu: split virtio-gpu-pci & virtio-vga, Marc-André Lureau, 2018/06/18
- [Qemu-devel] [PATCH v3 24/26] virtio-gpu: split virtio-gpu, introduce virtio-gpu-base, Marc-André Lureau, 2018/06/18
- [Qemu-devel] [PATCH v3 26/26] hw/display: add vhost-user-vga & gpu-pci, Marc-André Lureau, 2018/06/18
- Re: [Qemu-devel] [PATCH v3 00/26] vhost-user for input & GPU, no-reply, 2018/06/18