Skip to content

vl: Simplify vga interface configuration code

Eduardo Habkost qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesIn review
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

* Keep assert(vga_interface_type == VGA_NONE) line

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vl: Use exit(1) when requested VGA interface is unavailablevl.c+7 -71 reply
2/3vl: Table-based select_vgahw()include/sysemu/sysemu.h vl.c+64 -521 reply
3/3vl: Replace *_vga_available() functions with class_names fieldvl.c+23 -471 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchEric BlakeMarcel Apfelbaum
1/3R-b R-b
2/3R-b R-b
3/3R-b R-b

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH for-2.7 v2 0/3] vl: Simplify vga interface configuration code

Instead of duplicating class lookup and strstart() code for each VGA interface type, use a table to implement select_vgahw().

Changes v1 -> v2:
* Keep assert(vga_interface_type == VGA_NONE) line

* Fix spacing on select_vgahw() definition

* Include "vl: Use exit(1) when requested VGA interface is unavailable" in the series, also

Eduardo Habkost (3):
vl: Use exit(1) when requested VGA interface is unavailable
vl: Table-based select_vgahw()
vl: Replace *_vga_available() functions with class_names field

 include/sysemu/sysemu.h |   1 +
 vl.c                    | 157 ++++++++++++++++++++++--------------------------
 2 files changed, 73 insertions(+), 85 deletions(-)
Signature · 1 line
2.1.0