qemu-patch-raspberry4/hw/vmware_vga.h
Blue Swirl a369da5f31 vga: improve VGA logic
Improve VGA selection logic, push check for device availabilty to vl.c.
Create the devices at board level unconditionally.

Remove now unused pci_try_create*() functions.

Make PCI VGA devices optional.

Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2012-01-22 07:27:06 +00:00

16 lines
263 B
C

#ifndef QEMU_VMWARE_VGA_H
#define QEMU_VMWARE_VGA_H
#include "qemu-common.h"
/* vmware_vga.c */
static inline DeviceState *pci_vmsvga_init(PCIBus *bus)
{
PCIDevice *dev;
dev = pci_create_simple(bus, -1, "vmware-svga");
return &dev->qdev;
}
#endif