diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2014-10-28 10:09:11 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2014-11-03 18:32:48 +0200 |
| commit | 6f00494abed261cdbfdd003fe45f671eb3a56d78 (patch) | |
| tree | dda44144dd537ef9f5e3a67b0ad88ce686f1e2be /include/hw/boards.h | |
| parent | d3f16ec887bb58b19eac94fcae139a39a7933e15 (diff) | |
| download | focaccia-qemu-6f00494abed261cdbfdd003fe45f671eb3a56d78.tar.gz focaccia-qemu-6f00494abed261cdbfdd003fe45f671eb3a56d78.zip | |
vga: add default display to machine class
This allows machine classes to specify which display device they want as default. If unspecified the current behavior (try cirrus, failing that try stdvga, failing that use no display) will be used. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/boards.h')
| -rw-r--r-- | include/hw/boards.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/boards.h b/include/hw/boards.h index 4429a1e3a2..99a172d652 100644 --- a/include/hw/boards.h +++ b/include/hw/boards.h @@ -40,6 +40,7 @@ struct QEMUMachine { int is_default; const char *default_machine_opts; const char *default_boot_order; + const char *default_display; GlobalProperty *compat_props; const char *hw_version; }; @@ -100,6 +101,7 @@ struct MachineClass { int is_default; const char *default_machine_opts; const char *default_boot_order; + const char *default_display; GlobalProperty *compat_props; const char *hw_version; |