diff options
author | Akihiko Odaki <akihiko.odaki@gmail.com> | 2021-02-25 19:13:16 +0900 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-03-04 09:35:36 +0100 |
commit | ed8f3fe6898e0f3fea2ece7c87464a06098b2300 (patch) | |
tree | 64f5dfb3c50a83455400a33b52264ca8f4eb31d0 /hw/display/virtio-gpu-base.c | |
parent | c821a58ee7003c2a0567dddaee33c2a5ae71c404 (diff) | |
download | qemu-ed8f3fe6898e0f3fea2ece7c87464a06098b2300.zip qemu-ed8f3fe6898e0f3fea2ece7c87464a06098b2300.tar.gz qemu-ed8f3fe6898e0f3fea2ece7c87464a06098b2300.tar.bz2 |
virtio-gpu: Do not distinguish the primary console
In the past, virtio-gpu set NULL as the surface for the secondary
consoles to hide its window. The distinction is now handled in
ui/console and the display backends and virtio-gpu does no longer
have to do that.
Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Message-Id: <20210225101316.83940-3-akihiko.odaki@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/virtio-gpu-base.c')
-rw-r--r-- | hw/display/virtio-gpu-base.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/hw/display/virtio-gpu-base.c b/hw/display/virtio-gpu-base.c index 4a57350..25f8920 100644 --- a/hw/display/virtio-gpu-base.c +++ b/hw/display/virtio-gpu-base.c @@ -193,9 +193,6 @@ virtio_gpu_base_device_realize(DeviceState *qdev, for (i = 0; i < g->conf.max_outputs; i++) { g->scanout[i].con = graphic_console_init(DEVICE(g), i, &virtio_gpu_ops, g); - if (i > 0) { - dpy_gfx_replace_surface(g->scanout[i].con, NULL); - } } return true; |