mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
yank: Remove dependency on qiochannel
Remove dependency on qiochannel by removing yank_generic_iochannel and letting migration and chardev use their own yank function for iochannel. Signed-off-by: Lukas Straub <lukasstraub2@web.de> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20ff143fc2db23e27cd41d38043e481376c9cec1.1616521341.git.lukasstraub2@web.de>
This commit is contained in:
parent
816f93b200
commit
1a92d6d500
11 changed files with 61 additions and 35 deletions
|
@ -73,16 +73,6 @@ void yank_unregister_function(const YankInstance *instance,
|
|||
YankFn *func,
|
||||
void *opaque);
|
||||
|
||||
/**
|
||||
* yank_generic_iochannel: Generic yank function for iochannel
|
||||
*
|
||||
* This is a generic yank function which will call qio_channel_shutdown on the
|
||||
* provided QIOChannel.
|
||||
*
|
||||
* @opaque: QIOChannel to shutdown
|
||||
*/
|
||||
void yank_generic_iochannel(void *opaque);
|
||||
|
||||
#define BLOCKDEV_YANK_INSTANCE(the_node_name) (&(YankInstance) { \
|
||||
.type = YANK_INSTANCE_TYPE_BLOCK_NODE, \
|
||||
.u.block_node.node_name = (the_node_name) })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue