ppc/prep: use the new pci_vga_init() function
As a bonus it allows new vga card types (including none).
Acked-by: Andreas Färber <andreas.faerber@web.de>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
vl.c: check for qxl availability
Check for qxl availability in vl.c. This will allow to remove #ifdefCONFIG_SPICE .. #endif later in this series
Cc: Anthony Liguori <aliguori@us.ibm.com>Cc: Gerd Hoffmann <kraxel@redhat.com>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
vl.c: default to std if cirrus is not available
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
pci: add a pci_vga_init() function
This function create a PCI VGA device according to the value ofvga_interface_type. It returns a PCIDevice (and not a DeviceState).
Cc: Anthony Liguori <aliguori@us.ibm.com>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
isa: add a isa_vga_init() function
This function create a ISA VGA device according to the value ofvga_interface_type. It returns a ISADevice (and not a DeviceState).
mips/malta: use the new pci_vga_init() function
alpha: use the new pci_vga_init() function
This remove the fallback to std-vga in case, as availability of therequested vga device is now tested in vl.c, and returns an error messageto the user.
Acked-by: Richard Henderson <rth@twiddle.net>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
ppc/newworld: use the new pci_vga_init() function
Cc: Alexander Graf <agraf@suse.de>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
ppc/oldworld: use the new pci_vga_init() function
vl.c: convert *vga_enabled functions to QOM
And get rid of qdev_exists().
View all revisions | View revisions
Also available in: Atom