]>
Commit | Line | Data |
---|---|---|
18e08a55 MT |
1 | #ifndef QEMU_VMWARE_VGA_H |
2 | #define QEMU_VMWARE_VGA_H | |
3 | ||
4 | #include "qemu-common.h" | |
5 | ||
6 | /* vmware_vga.c */ | |
7ba7e49e | 7 | static inline bool pci_vmsvga_init(PCIBus *bus) |
5c81e4ca | 8 | { |
7ba7e49e BS |
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 | } | |
5c81e4ca | 17 | } |
18e08a55 MT |
18 | |
19 | #endif |