qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH for-2.7 v2 0/3] vl: Simplify vga interface configuration code
@ 2016-04-14  0:51 Eduardo Habkost
  2016-04-14  0:51 ` [Qemu-devel] [PATCH for-2.7 v2 1/3] vl: Use exit(1) when requested VGA interface is unavailable Eduardo Habkost
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Eduardo Habkost @ 2016-04-14  0:51 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, Michael S. Tsirkin, Marcel Apfelbaum

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
  Suggested-by: Eric Blake <eblake@redhat.com>
* Fix spacing on select_vgahw() definition
  Suggested-by: Eric Blake <eblake@redhat.com>
* 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(-)

-- 
2.1.0

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-04-14  7:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-14  0:51 [Qemu-devel] [PATCH for-2.7 v2 0/3] vl: Simplify vga interface configuration code Eduardo Habkost
2016-04-14  0:51 ` [Qemu-devel] [PATCH for-2.7 v2 1/3] vl: Use exit(1) when requested VGA interface is unavailable Eduardo Habkost
2016-04-14  7:23   ` Marcel Apfelbaum
2016-04-14  0:51 ` [Qemu-devel] [PATCH for-2.7 v2 2/3] vl: Table-based select_vgahw() Eduardo Habkost
2016-04-14  7:28   ` Marcel Apfelbaum
2016-04-14  0:51 ` [Qemu-devel] [PATCH for-2.7 v2 3/3] vl: Replace *_vga_available() functions with class_names field Eduardo Habkost
2016-04-14  7:40   ` Marcel Apfelbaum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).