mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 03:13:44 +08:00
libqemustub: add more stubs for qemu-char
Additional stubs: - chr_baum_init - qemu_chr_open_spice_vmc - qemu_chr_open_spice_port Signed-off-by: Nikolay Nikolaev <n.nikolaev@virtualopensystems.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
8f4e5ac3e2
commit
1dc75c6d74
@ -1,5 +1,6 @@
|
||||
stub-obj-y += arch-query-cpu-def.o
|
||||
stub-obj-y += bdrv-commit-all.o
|
||||
stub-obj-y += chr-baum-init.o
|
||||
stub-obj-y += chr-msmouse.o
|
||||
stub-obj-y += clock-warp.o
|
||||
stub-obj-y += cpu-get-clock.o
|
||||
@ -24,6 +25,7 @@ stub-obj-y += mon-set-error.o
|
||||
stub-obj-y += monitor-init.o
|
||||
stub-obj-y += notify-event.o
|
||||
stub-obj-y += pci-drive-hot-add.o
|
||||
stub-obj-$(CONFIG_SPICE) += qemu-chr-open-spice.o
|
||||
stub-obj-y += qtest.o
|
||||
stub-obj-y += reset.o
|
||||
stub-obj-y += runstate-check.o
|
||||
|
7
stubs/chr-baum-init.c
Normal file
7
stubs/chr-baum-init.c
Normal file
@ -0,0 +1,7 @@
|
||||
#include "qemu-common.h"
|
||||
#include "sysemu/char.h"
|
||||
|
||||
CharDriverState *chr_baum_init(void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
14
stubs/qemu-chr-open-spice.c
Normal file
14
stubs/qemu-chr-open-spice.c
Normal file
@ -0,0 +1,14 @@
|
||||
#include "qemu-common.h"
|
||||
#include "ui/qemu-spice.h"
|
||||
|
||||
CharDriverState *qemu_chr_open_spice_vmc(const char *type)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#if SPICE_SERVER_VERSION >= 0x000c02
|
||||
CharDriverState *qemu_chr_open_spice_port(const char *name)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user