mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
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>
This commit is contained in:
parent
5fc0e00291
commit
07a32d6b96
9 changed files with 57 additions and 0 deletions
7
stubs/chr-msmouse.c
Normal file
7
stubs/chr-msmouse.c
Normal file
|
@ -0,0 +1,7 @@
|
|||
#include "qemu-common.h"
|
||||
#include "sysemu/char.h"
|
||||
|
||||
CharDriverState *qemu_chr_open_msmouse(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue