mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
Fix build with new yank feature by adding stubs
Fixes: 50186051f4
("Introduce yank feature")
Signed-off-by: Lukas Straub <lukasstraub2@web.de>
[AJB: tweak MAINTAINERS]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210114141918.5201cc9c@gecko.fritz.box>
Message-Id: <20210114165730.31607-11-alex.bennee@linaro.org>
This commit is contained in:
parent
a8a3abe0b3
commit
228e3ec4e2
3 changed files with 31 additions and 0 deletions
|
@ -47,6 +47,7 @@ stub_ss.add(files('vm-stop.c'))
|
|||
stub_ss.add(files('win32-kbd-hook.c'))
|
||||
stub_ss.add(files('cpu-synchronize-state.c'))
|
||||
if have_block
|
||||
stub_ss.add(files('yank.c'))
|
||||
stub_ss.add(files('replay-tools.c'))
|
||||
endif
|
||||
if have_system
|
||||
|
|
29
stubs/yank.c
Normal file
29
stubs/yank.c
Normal file
|
@ -0,0 +1,29 @@
|
|||
#include "qemu/osdep.h"
|
||||
#include "qemu/yank.h"
|
||||
|
||||
bool yank_register_instance(const YankInstance *instance, Error **errp)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
void yank_unregister_instance(const YankInstance *instance)
|
||||
{
|
||||
}
|
||||
|
||||
void yank_register_function(const YankInstance *instance,
|
||||
YankFn *func,
|
||||
void *opaque)
|
||||
{
|
||||
}
|
||||
|
||||
void yank_unregister_function(const YankInstance *instance,
|
||||
YankFn *func,
|
||||
void *opaque)
|
||||
{
|
||||
}
|
||||
|
||||
void yank_generic_iochannel(void *opaque)
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue