summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorMark Wu <wudxw@linux.vnet.ibm.com>2014-03-10 22:37:40 +0800
committerAndreas Färber <afaerber@suse.de>2014-03-13 20:53:19 +0100
commitd44229c54f7477035c7e914dd12c84e01bbd4123 (patch)
tree0bdd28ced4713108dd5758ee74678154e853045c /hw
parentd7f0a59ff02affb8270ad9b6ee7e60974ac92df0 (diff)
downloadqemu-d44229c54f7477035c7e914dd12c84e01bbd4123.tar.gz
Fix vga_interface_type for command line argument '-device VGA'
Some machine (like pseries) initialization code determines if it has graphics according to vga_interface_type. In the original code, vga_interface_type is evaluated to VGA_NONE even if a VGA is added via '-device VGA'. It causes the machine not aware of the graphics device configured. Add a new VGA device type to indicate that it has a VGA device, which will be initialized in QOM device initialization. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Mark Wu <wudxw@linux.vnet.ibm.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions