[PULL 03/24] qxl: also notify the rendering is done when skipping it

2021-02-04 Thread Gerd Hoffmann
From: Marc-André Lureau Asynchronous handlers may be waiting for the graphic_hw_update_done() to be called in this case too. Fixes: 4d6316218 ("console: add graphic_hw_update_done()") Signed-off-by: Marc-André Lureau Message-Id: <20210201201422.446552-3-marcandre.lur...@redhat.com> Signed-off-b

[PULL 14/24] vhost-user-gpu: add a configuration flag for dmabuf usage

2021-02-04 Thread Gerd Hoffmann
From: Marc-André Lureau Let's inform VirtioGPUBase that vhost-user-gpu require DMABUF messages. Signed-off-by: Marc-André Lureau Message-Id: <20210204105232.834642-11-marcandre.lur...@redhat.com> Signed-off-by: Gerd Hoffmann --- include/hw/virtio/virtio-gpu.h | 3 +++ hw/display/vhost-user-gp

[PULL 24/24] tests: add some virtio-gpu & vhost-user-gpu acceptance test

2021-02-04 Thread Gerd Hoffmann
From: Marc-André Lureau This will check virtio/vhost-user-vga & virgl are correctly initialized by the Linux kernel on an egl-headless display. Signed-off-by: Marc-André Lureau Message-Id: <20210204105232.834642-21-marcandre.lur...@redhat.com> Signed-off-by: Gerd Hoffmann --- tests/acceptance

[PULL 17/24] ui: check hw requirements during DCL registration

2021-02-04 Thread Gerd Hoffmann
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Message-Id: <20210204105232.834642-14-marcandre.lur...@redhat.com> Signed-off-by: Gerd Hoffmann --- ui/console.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/ui/console.c b/ui/console.c index a64541

[PULL 11/24] ui: add gd_gl_area_scanout_disable

2021-02-04 Thread Gerd Hoffmann
From: Marc-André Lureau Require the callback, drop the fallback path. Signed-off-by: Marc-André Lureau Message-Id: <20210204105232.834642-8-marcandre.lur...@redhat.com> Signed-off-by: Gerd Hoffmann --- include/ui/gtk.h | 1 + ui/console.c | 7 +-- ui/gtk-gl-area.c | 7 +++ ui/gtk.

[PULL 22/24] display/ui: add a callback to indicate GL state is flushed

2021-02-04 Thread Gerd Hoffmann
From: Marc-André Lureau Displaying rendered resources requires blocking qemu GPU to avoid extra framebuffer copies. For an external display, via Spice currently, there is a callback to block/unblock the rendering in the same thread. But with the vhost-user-gpu backend, the qemu process doesn't h

[PULL 18/24] ui: add qemu_egl_has_dmabuf helper

2021-02-04 Thread Gerd Hoffmann
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Message-Id: <20210204105232.834642-15-marcandre.lur...@redhat.com> Signed-off-by: Gerd Hoffmann --- include/ui/egl-helpers.h | 1 + ui/egl-helpers.c | 10 ++ 2 files changed, 11 insertions(+) diff --git a/include/ui/egl

[PULL 19/24] ui: check gtk-egl dmabuf support

2021-02-04 Thread Gerd Hoffmann
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Message-Id: <20210204105232.834642-16-marcandre.lur...@redhat.com> Signed-off-by: Gerd Hoffmann --- include/ui/gtk.h | 1 + ui/gtk.c | 9 + 2 files changed, 10 insertions(+) diff --git a/include/ui/gtk.h b/include/ui/gtk

[PULL 16/24] ui: add a DCLOps callback to check dmabuf support

2021-02-04 Thread Gerd Hoffmann
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Message-Id: <20210204105232.834642-13-marcandre.lur...@redhat.com> Signed-off-by: Gerd Hoffmann --- include/ui/console.h | 2 ++ ui/console.c | 13 + 2 files changed, 15 insertions(+) diff --git a/include/ui/console

[PULL 07/24] vhost-user-gpu: use an extandable state enum for commands

2021-02-04 Thread Gerd Hoffmann
From: Marc-André Lureau Introduce a pending state for commands which aren't finished yet, but are being handled. See following patch. Signed-off-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20210204105232.834642-4-marcandre.lur...@redhat.com> Signed-off-by: Gerd Hoffm

[PULL 06/24] vhost-user-gpu: handle vhost-user-gpu features in a callback

2021-02-04 Thread Gerd Hoffmann
From: Marc-André Lureau Fixes a deadlock where the backend calls QEMU, while QEMU also calls the backend simultaneously, both ends waiting for each other. Signed-off-by: Marc-André Lureau Message-Id: <20210204105232.834642-3-marcandre.lur...@redhat.com> Signed-off-by: Gerd Hoffmann --- contri

Re: [PATCH 1/2] migration: dirty-bitmap: Convert alias map inner members to a struct

2021-02-04 Thread Vladimir Sementsov-Ogievskiy
03.02.2021 15:59, Peter Krempa wrote: Currently the alias mapping hash stores just strings of the target objects internally. In further patches we'll be adding another member which will need to be stored in the map so convert the members to a struct. Signed-off-by: Peter Krempa --- migration/

[PULL 23/24] chardev: check if the chardev is registered for yanking

2021-02-04 Thread Gerd Hoffmann
From: Marc-André Lureau Not all chardevs are created via qmp_chardev_open_socket(), and those should not call the yank function registration, as this will eventually assert() not being registered. Signed-off-by: Marc-André Lureau Message-Id: <20210204105232.834642-20-marcandre.lur...@redhat.com

Re: [PATCH v2] target/s390x/arch_dump: Fixes for the name field in the PT_NOTE section

2021-02-04 Thread Christian Borntraeger
On 05.02.21 07:12, Thomas Huth wrote: > On 04/02/2021 18.00, Christian Borntraeger wrote: >> On 04.02.21 17:41, Thomas Huth wrote: >>> According to the "ELF-64 Object File Format" specification: >>> >>> "The first word in the entry, namesz, identifies the length, in >>>   bytes, of a name identi

[PULL 21/24] virtio-gpu: avoid re-entering cmdq processing

2021-02-04 Thread Gerd Hoffmann
From: Marc-André Lureau The next patch will notify the GL context got flush, which will resume the queue processing. However, if this happens within the caller context, it will end up with a stack overflow flush/update loop. Signed-off-by: Marc-André Lureau Message-Id: <20210204105232.834642-18

Re: [PATCH v2] target/s390x/arch_dump: Fixes for the name field in the PT_NOTE section

2021-02-04 Thread Christian Borntraeger
On 05.02.21 08:08, Christian Borntraeger wrote: > > > On 05.02.21 07:12, Thomas Huth wrote: >> On 04/02/2021 18.00, Christian Borntraeger wrote: >>> On 04.02.21 17:41, Thomas Huth wrote: According to the "ELF-64 Object File Format" specification: "The first word in the entry, na

[PULL 05/24] vhost-user-gpu: check backend for EDID support

2021-02-04 Thread Gerd Hoffmann
From: Marc-André Lureau EDID has been enabled by default, but the backend may not implement it (such as the contrib backend). This results in extra warnings and potentially other issues in the guest. The option shouldn't probably have been added to VIRTIO_GPU_BASE, but it's a bit too late now, r

Re: [PATCH 03/33] migration: push Error **errp into qemu_loadvm_state_setup()

2021-02-04 Thread Markus Armbruster
Daniel P. Berrangé writes: > This is an incremental step in converting vmstate loading code to report > via Error objects instead of printing directly to the console/monitor. > > Signed-off-by: Daniel P. Berrangé > --- > migration/savevm.c | 7 +++ > 1 file changed, 3 insertions(+), 4 delet

Re: [PATCH] arm: xlnx-versal: fix virtio-mmio base address assignment

2021-02-04 Thread Philippe Mathieu-Daudé
On 2/4/21 10:04 AM, schspa wrote: > On Thu, 2021-02-04 at 09:19 +0100, Philippe Mathieu-Daudé wrote: >> Hi, >> >> Please Cc the maintainers when posting your patch: >> >> ./scripts/get_maintainer.pl -f hw/arm/xlnx-versal-virt.c >> Alistair Francis (maintainer:Xilinx ZynqMP >> and...) >> "Edgar E.

Re: [PATCH] monitor: trace qmp_send_response

2021-02-04 Thread Markus Armbruster
Vladimir Sementsov-Ogievskiy writes: > Add a useful counterpart for trace_handle_qmp_command for debugging > libvirt guests. > > Signed-off-by: Vladimir Sementsov-Ogievskiy > --- > monitor/qmp.c| 6 ++ > monitor/trace-events | 1 + > 2 files changed, 7 insertions(+) > > diff --git a

<    1   2   3   4   5   6