mirror of
https://github.com/qemu/qemu.git
synced 2024-11-26 04:13:39 +08:00
a369da5f31
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>
16 lines
263 B
C
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
|