Skip to content

use trace events and fix garbled output

Carwyn Ellis qemu-devel qemu-trivial 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 4 repliesIn review
  2. v12 patches 1 replySuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/display/vmware_vga: replace fprintf calls with trace eventshw/display/trace-events hw/display/vmware_vga.c+21 -121 reply
2/2hw/display/vmware_vga: do not discard screen updateshw/display/trace-events hw/display/vmware_vga.c+24 -183 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/2] use trace events and fix garbled output

This patchset supersedes earlier submissions and incorporates feedback from Laurent Vivier, Gerd Hoffmann and Philippe Mathieu-Daudé.

There are two patches addressing the following in the vmware vga display code

- use of fprintf to log debug output to STDERR

This has been replaced with trace events.

- garbled display due to lost display updates

This prevents an issue that can cause garbled display output when a high number of screen updates are being requested.

The queue is now flushed when it reaches capacity.

The code traversing the queue when updates are being applied to the display has also been simplified, since we always start the traversal at the beginning of the queue to ensure that all updates are applied.

Carwyn Ellis (2):
hw/display/vmware_vga: replace fprintf calls with trace events hw/display/vmware_vga: do not discard screen updates

 hw/display/trace-events |  4 +++
 hw/display/vmware_vga.c | 71 ++++++++++++++++++++++++-----------------
 2 files changed, 45 insertions(+), 30 deletions(-)
Signature · 1 line
2.35.1