aboutsummaryrefslogtreecommitdiff
path: root/hw/vmware_vga.h
blob: db11cbfac8fd473a92046b91388c71e34235dcf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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