libqemustub: add stubs to be able to use qemu-char.c
commit07a32d6b962d51d1bbd02cdc2ebd9ac56ef52547
authorNikolay Nikolaev <n.nikolaev@virtualopensystems.com>
Tue, 27 May 2014 12:07:10 +0000 (27 15:07 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 19 Jun 2014 15:44:18 +0000 (19 18:44 +0300)
treecc6c53ad8a31b772ef8fd7b6661e80f3f79ec8f6
parent5fc0e0029162f517357e0d2d4baba7ae1fa48ab1
libqemustub: add stubs to be able to use qemu-char.c

chardev depends on lots of external symbols that are not necessarily
needed to be able to use, for example, 'socket chardev'. So add stubs
for these functions:

 - bdrv_commit_all
 - qemu_chr_open_msmouse
 - is_daemonized
 - qemu_add_machine_init_done_notifier
 - monitor_init
 - qemu_notify_event
 - vc_init

and this array:

 - serial_hds

Signed-off-by: Antonios Motakis <a.motakis@virtualopensystems.com>
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>
stubs/Makefile.objs
stubs/bdrv-commit-all.c [new file with mode: 0644]
stubs/chr-msmouse.c [new file with mode: 0644]
stubs/get-next-serial.c [new file with mode: 0644]
stubs/is-daemonized.c [new file with mode: 0644]
stubs/machine-init-done.c [new file with mode: 0644]
stubs/monitor-init.c [new file with mode: 0644]
stubs/notify-event.c [new file with mode: 0644]
stubs/vc-init.c [new file with mode: 0644]