root / hw / vmware_vga.h @ 0647b949
History | View | Annotate | Download (336 Bytes)
1 |
#ifndef QEMU_VMWARE_VGA_H
|
---|---|
2 |
#define QEMU_VMWARE_VGA_H
|
3 |
|
4 |
#include "qemu-common.h" |
5 |
|
6 |
/* vmware_vga.c */
|
7 |
static inline bool pci_vmsvga_init(PCIBus *bus) |
8 |
{ |
9 |
PCIDevice *dev; |
10 |
|
11 |
dev = pci_try_create(bus, -1, "vmware-svga"); |
12 |
if (!dev || qdev_init(&dev->qdev) < 0) { |
13 |
return false; |
14 |
} else {
|
15 |
return true; |
16 |
} |
17 |
} |
18 |
|
19 |
#endif
|