vmware_vga.h 336 B

12345678910111213141516171819
  1. #ifndef QEMU_VMWARE_VGA_H
  2. #define QEMU_VMWARE_VGA_H
  3. #include "qemu-common.h"
  4. /* vmware_vga.c */
  5. static inline bool pci_vmsvga_init(PCIBus *bus)
  6. {
  7. PCIDevice *dev;
  8. dev = pci_try_create(bus, -1, "vmware-svga");
  9. if (!dev || qdev_init(&dev->qdev) < 0) {
  10. return false;
  11. } else {
  12. return true;
  13. }
  14. }
  15. #endif