mirror of
				https://git.proxmox.com/git/qemu
				synced 2025-10-31 05:43:47 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			349 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			349 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_try_create(bus, -1, "vmware-svga");
 | |
|     if (!dev || qdev_init(&dev->qdev) < 0) {
 | |
|         return NULL;
 | |
|     } else {
 | |
|         return &dev->qdev;
 | |
|     }
 | |
| }
 | |
| 
 | |
| #endif
 | 
