[libvirt PATCH v5 6/6] qemu: Implement 'blob' support for virtio gpu

Ján Tomko jtomko at redhat.com
Mon Nov 7 07:55:00 UTC 2022


On a Friday in 2022, Jonathon Jongsma wrote:
>This can improve performance for some guests since it reduces copying of
>display data between host and guest. Requires udmabuf on the host.
>
>Signed-off-by: Jonathon Jongsma <jjongsma at redhat.com>
>---
> src/qemu/qemu_cgroup.c                        | 22 ++++++---
> src/qemu/qemu_command.c                       |  3 ++
> src/qemu/qemu_domain.h                        |  1 +
> src/qemu/qemu_namespace.c                     | 22 +++++++++
> src/qemu/qemu_validate.c                      |  9 ++++
> ...ideo-virtio-blob-absent.x86_64-latest.args | 39 +++++++++++++++
> .../video-virtio-blob-absent.xml              | 36 ++++++++++++++
> .../video-virtio-blob-off.x86_64-latest.args  | 39 +++++++++++++++
> .../video-virtio-blob-off.xml                 | 36 ++++++++++++++
> .../video-virtio-blob-on.x86_64-latest.args   | 39 +++++++++++++++
> .../qemuxml2argvdata/video-virtio-blob-on.xml | 36 ++++++++++++++
> tests/qemuxml2argvtest.c                      |  3 ++
> ...video-virtio-blob-absent.x86_64-latest.xml | 48 +++++++++++++++++++
> .../video-virtio-blob-off.x86_64-latest.xml   | 48 +++++++++++++++++++
> .../video-virtio-blob-on.x86_64-latest.xml    | 48 +++++++++++++++++++
> tests/qemuxml2xmltest.c                       |  3 ++
> 16 files changed, 425 insertions(+), 7 deletions(-)
> create mode 100644 tests/qemuxml2argvdata/video-virtio-blob-absent.x86_64-latest.args
> create mode 100644 tests/qemuxml2argvdata/video-virtio-blob-absent.xml

There's no need for the -absent test case - this is already covered by
evrey other test.

> create mode 100644 tests/qemuxml2argvdata/video-virtio-blob-off.x86_64-latest.args
> create mode 100644 tests/qemuxml2argvdata/video-virtio-blob-off.xml
> create mode 100644 tests/qemuxml2argvdata/video-virtio-blob-on.x86_64-latest.args
> create mode 100644 tests/qemuxml2argvdata/video-virtio-blob-on.xml
> create mode 100644 tests/qemuxml2xmloutdata/video-virtio-blob-absent.x86_64-latest.xml
> create mode 100644 tests/qemuxml2xmloutdata/video-virtio-blob-off.x86_64-latest.xml
> create mode 100644 tests/qemuxml2xmloutdata/video-virtio-blob-on.x86_64-latest.xml
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano


More information about the libvir-list mailing list