repo.or.cz
/
qemu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix a bug in mtsr/mtsrin emulation on ppc64
[qemu.git]
/
hw
/
vmware_vga.h
blob
5132573a56f3ad239642201cf568c19e24629110
1
#ifndef QEMU_VMWARE_VGA_H
2
#define QEMU_VMWARE_VGA_H
3
4
#include
"qemu-common.h"
5
6
/* vmware_vga.c */
7
static
inline
bool
pci_vmsvga_init
(
PCIBus
*
bus
)
8
{
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
}
17
}
18
19
#endif