02afba63e9
Convert the file: URI to accept a FileMigrationArgs to be compatible with the new migration QAPI. Signed-off-by: Fabiano Rosas <farosas@suse.de> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20231023182053.8711-9-farosas@suse.de>
19 lines
592 B
C
19 lines
592 B
C
/*
|
|
* Copyright (c) 2021-2023 Oracle and/or its affiliates.
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
#ifndef QEMU_MIGRATION_FILE_H
|
|
#define QEMU_MIGRATION_FILE_H
|
|
|
|
#include "qapi/qapi-types-migration.h"
|
|
|
|
void file_start_incoming_migration(FileMigrationArgs *file_args, Error **errp);
|
|
|
|
void file_start_outgoing_migration(MigrationState *s,
|
|
FileMigrationArgs *file_args, Error **errp);
|
|
int file_parse_offset(char *filespec, uint64_t *offsetp, Error **errp);
|
|
#endif
|