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