mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 23:25:48 +00:00
migration: Remove MigrationState from migration_channel_incomming()
All callers were calling migrate_get_current(), so do it inside the function. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Peter Xu <peterx@redhat.com> Reviewed-by: Laurent Vivier <lvivier@redhat.com>
This commit is contained in:
@ -18,8 +18,7 @@
|
||||
|
||||
#include "io/channel.h"
|
||||
|
||||
void migration_channel_process_incoming(MigrationState *s,
|
||||
QIOChannel *ioc);
|
||||
void migration_channel_process_incoming(QIOChannel *ioc);
|
||||
|
||||
void migration_channel_connect(MigrationState *s,
|
||||
QIOChannel *ioc,
|
||||
|
Reference in New Issue
Block a user