qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 67ae04: hw/display/vmware_vga: do not discard


From: Richard Henderson
Subject: [Qemu-commits] [qemu/qemu] 67ae04: hw/display/vmware_vga: do not discard screen updates
Date: Wed, 27 Apr 2022 10:50:07 -0700

  Branch: refs/heads/staging
  Home:   https://github.com/qemu/qemu
  Commit: 67ae04273736f103b31fb5d1f9e5170dfee3d64c
      
https://github.com/qemu/qemu/commit/67ae04273736f103b31fb5d1f9e5170dfee3d64c
  Author: Carwyn Ellis <carwynellis@gmail.com>
  Date:   2022-04-22 (Fri, 22 Apr 2022)

  Changed paths:
    M hw/display/trace-events
    M hw/display/vmware_vga.c

  Log Message:
  -----------
  hw/display/vmware_vga: do not discard screen updates

In certain circumstances, typically when there is lots changing on the
screen, updates will be discarded resulting in garbled output.

This change simplifies the traversal of the display update FIFO queue
when applying updates. We just track the queue length and iterate up to
the end of the queue.

Additionally when adding updates to the queue, if the buffer reaches
capacity we force a flush before accepting further events.

Signed-off-by: Carwyn Ellis <carwynellis@gmail.com>
Message-Id: <20220206183956.10694-3-carwynellis@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 95f8510ef428f988897176b9585b8ba1432f939f
      
https://github.com/qemu/qemu/commit/95f8510ef428f988897176b9585b8ba1432f939f
  Author: Kshitij Suri <kshitij.suri@nutanix.com>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M meson.build
    M meson_options.txt
    M scripts/ci/org.centos/stream/8/x86_64/configure
    M scripts/coverity-scan/run-coverity-scan
    M scripts/meson-buildoptions.sh
    M ui/vnc-enc-tight.c
    M ui/vnc.c
    M ui/vnc.h

  Log Message:
  -----------
  Replacing CONFIG_VNC_PNG with CONFIG_PNG

Libpng is only detected if VNC is enabled currently. This patch adds a
generalised png option in the meson build which is aimed to replace use of
CONFIG_VNC_PNG with CONFIG_PNG.

Signed-off-by: Kshitij Suri <kshitij.suri@nutanix.com>

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220408071336.99839-2-kshitij.suri@nutanix.com>

[ kraxel: add meson-buildoptions.sh updates ]
[ kraxel: fix centos8 testcase ]
[ kraxel: update --enable-vnc-png too ]

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>

--enable-vnc-png fixup

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 9a0a119a382867dc9a5c2ae9348003bf79d84af2
      
https://github.com/qemu/qemu/commit/9a0a119a382867dc9a5c2ae9348003bf79d84af2
  Author: Kshitij Suri <kshitij.suri@nutanix.com>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M hmp-commands.hx
    M monitor/hmp-cmds.c
    M qapi/ui.json
    M ui/console.c

  Log Message:
  -----------
  Added parameter to take screenshot with screendump as PNG

Currently screendump only supports PPM format, which is un-compressed. Added
a "format" parameter to QMP and HMP screendump command to support PNG image
capture using libpng.

QMP example usage:
{ "execute": "screendump", "arguments": { "filename": "/tmp/image",
"format":"png" } }

HMP example usage:
screendump /tmp/image -f png

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/718

Signed-off-by: Kshitij Suri <kshitij.suri@nutanix.com>

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20220408071336.99839-3-kshitij.suri@nutanix.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: d708f99d8508ca6de2ff07cf9723334e6c8ecacd
      
https://github.com/qemu/qemu/commit/d708f99d8508ca6de2ff07cf9723334e6c8ecacd
  Author: Vladimir Sementsov-Ogievskiy <vladimir.sementsov-ogievskiy@openvz.org>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M ui/vnc.c

  Log Message:
  -----------
  ui/vnc: refactor arrays of addresses to SocketAddressList

Let's use SocketAddressList instead of dynamic arrays.
Benefits:
 - Automatic cleanup: don't need specific freeing function and drop
   some gotos.
 - Less indirection: no triple asterix anymore!
 - Prepare for the following commit, which will reuse new interface of
   vnc_display_listen().

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@openvz.org>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220401143936.356460-2-vsementsov@openvz.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: abea19468e94821d098e546f0cafc9da759bc929
      
https://github.com/qemu/qemu/commit/abea19468e94821d098e546f0cafc9da759bc929
  Author: Vladimir Sementsov-Ogievskiy <vladimir.sementsov-ogievskiy@openvz.org>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M docs/about/removed-features.rst
    M include/ui/console.h
    M monitor/qmp-cmds.c
    M qapi/ui.json
    M ui/vnc.c

  Log Message:
  -----------
  qapi/ui: add 'display-update' command for changing listen address

Add possibility to change addresses where VNC server listens for new
connections. Prior to 6.0 this functionality was available through
'change' qmp command which was deleted.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@openvz.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220401143936.356460-3-vsementsov@openvz.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 0d90da82030c208c525a6757b0babdc481257fd7
      
https://github.com/qemu/qemu/commit/0d90da82030c208c525a6757b0babdc481257fd7
  Author: Vladimir Sementsov-Ogievskiy <vladimir.sementsov-ogievskiy@openvz.org>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M tests/avocado/vnc.py

  Log Message:
  -----------
  avocado/vnc: add test_change_listen

Add simple test-case for new display-update qmp command.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@openvz.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220401143936.356460-4-vsementsov@openvz.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>


  Commit: 2aa6a39bc8ec1b94d926fb5a23483a23ff895a2a
      
https://github.com/qemu/qemu/commit/2aa6a39bc8ec1b94d926fb5a23483a23ff895a2a
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M hw/i386/x86.c

  Log Message:
  -----------
  i386: move bios load error message

Switch to usual goto-end-of-function error handling style.
No functional change.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20220425135051.551037-2-kraxel@redhat.com>


  Commit: 966f1ca56ffe6e2c4d1333df59bcec233587aabc
      
https://github.com/qemu/qemu/commit/966f1ca56ffe6e2c4d1333df59bcec233587aabc
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M hw/i386/pc_sysfw.c
    M include/hw/i386/x86.h

  Log Message:
  -----------
  i386: factor out x86_firmware_configure()

move sev firmware setup to separate function so it can be used from
other code paths.  No functional change.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20220425135051.551037-3-kraxel@redhat.com>


  Commit: a8152c4e4613c70c2f0573a82babbc8acc00cf90
      
https://github.com/qemu/qemu/commit/a8152c4e4613c70c2f0573a82babbc8acc00cf90
  Author: Gerd Hoffmann <kraxel@redhat.com>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M hw/i386/x86.c

  Log Message:
  -----------
  i386: firmware parsing and sev setup for -bios loaded firmware

Don't register firmware as rom, not needed (see comment).
Add x86_firmware_configure() call for proper sev initialization.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Tested-by: Xiaoyao Li <xiaoyao.li@intel.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Tested-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20220425135051.551037-4-kraxel@redhat.com>


  Commit: cf6f26d6f9b2015ee12b4604b79359e76784163a
      
https://github.com/qemu/qemu/commit/cf6f26d6f9b2015ee12b4604b79359e76784163a
  Author: Richard Henderson <richard.henderson@linaro.org>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M docs/about/removed-features.rst
    M hmp-commands.hx
    M hw/display/trace-events
    M hw/display/vmware_vga.c
    M hw/i386/pc_sysfw.c
    M hw/i386/x86.c
    M include/hw/i386/x86.h
    M include/ui/console.h
    M meson.build
    M meson_options.txt
    M monitor/hmp-cmds.c
    M monitor/qmp-cmds.c
    M qapi/ui.json
    M scripts/ci/org.centos/stream/8/x86_64/configure
    M scripts/coverity-scan/run-coverity-scan
    M scripts/meson-buildoptions.sh
    M tests/avocado/vnc.py
    M ui/console.c
    M ui/vnc-enc-tight.c
    M ui/vnc.c
    M ui/vnc.h

  Log Message:
  -----------
  Merge tag 'kraxel-20220427-pull-request' of git://git.kraxel.org/qemu into 
staging

vnc: add display-update monitor command.
screendump: add png support.
vmsvga: screen update fix.
i386: sev setup for -bios loaded firmware

# -----BEGIN PGP SIGNATURE-----
#
# iQIzBAABCgAdFiEEoDKM/7k6F6eZAf59TLbY7tPocTgFAmJpfYUACgkQTLbY7tPo
# cTg6ChAAn5EWtNwmVbfbVzRTu0kqdx7QXyK6FFgTgXrsrmBCWzJhHDraYa9cMOZU
# wBlU/Rutuv9ETvtRTRic3t0qcdRmvZjpHuA/3agBMJY7xpEQbQ8NwVdSRZTOZo0i
# hXzWEAnxviEv8F/W1TXwB5d2Q9sWlJ2yO8SvcxTfAEK7hOSFrWypp3XRKr5WBHjO
# DFTtwqTk9MRNsgsfnpEHNGDb30JPTqKZKRbDal15NDR9fQz+iCq3FIv/FpBaUfys
# v9GA2zNT324MvhR64xNblaujCn2XFOsFvDY4nGDrfbKGJch8ltAg5t4G1CCZqOn7
# NIiwodC0508sAv9xUm+qvh+oHyf11EFdcAMWYimrExY2I51XOEDnJip/SAdogo5u
# h7LyLkZTEG5tyc+a4PGIcC216ecDDNytMnJM9nh9YK3p5UiBOgcHV2wWDdzJbsdS
# GRoP0fzF/MBQd985HBCF2vtQVk4AbQA7atZ8FKp1ZsHr3sFfs+vd0xyItsDMinBP
# k/eKOOKbHRgXcdIocw4PK16yURrMo5IUGCGGiG9waqYz+VDyHhtikBAzQvYYdnqN
# NaZttCcEieIk4XNd+wCfI0GQLtOY/AP1k8TV0rCaDTnO6nOxJ/uP64IaCzxzCT10
# b8VRdCfYDGjd2C14XYKmTzBRPM4hVrf9bo7FtXVtmSksTG+eIao=
# =yaxh
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed 27 Apr 2022 10:29:41 AM PDT
# gpg:                using RSA key A0328CFFB93A17A79901FE7D4CB6D8EED3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <kraxel@redhat.com>" 
[undefined]
# gpg:                 aka "Gerd Hoffmann <gerd@kraxel.org>" [undefined]
# gpg:                 aka "Gerd Hoffmann (private) <kraxel@gmail.com>" 
[undefined]
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: A032 8CFF B93A 17A7 9901  FE7D 4CB6 D8EE D3E8 7138

* tag 'kraxel-20220427-pull-request' of git://git.kraxel.org/qemu:
  i386: firmware parsing and sev setup for -bios loaded firmware
  i386: factor out x86_firmware_configure()
  i386: move bios load error message
  avocado/vnc: add test_change_listen
  qapi/ui: add 'display-update' command for changing listen address
  ui/vnc: refactor arrays of addresses to SocketAddressList
  Added parameter to take screenshot with screendump as PNG
  Replacing CONFIG_VNC_PNG with CONFIG_PNG
  hw/display/vmware_vga: do not discard screen updates

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>


Compare: https://github.com/qemu/qemu/compare/34723f59371f...cf6f26d6f9b2



reply via email to

[Prev in Thread] Current Thread [Next in Thread]