linux-user: Use do_munmap for target_mmap failure
[qemu/kevin.git] / migration / file.h
blob37d6a08bfca4c7c1afc9d5bc185547345b5ae996
1 /*
2 * Copyright (c) 2021-2023 Oracle and/or its affiliates.
4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
5 * See the COPYING file in the top-level directory.
6 */
8 #ifndef QEMU_MIGRATION_FILE_H
9 #define QEMU_MIGRATION_FILE_H
11 #include "qapi/qapi-types-migration.h"
13 void file_start_incoming_migration(FileMigrationArgs *file_args, Error **errp);
15 void file_start_outgoing_migration(MigrationState *s,
16 FileMigrationArgs *file_args, Error **errp);
17 int file_parse_offset(char *filespec, uint64_t *offsetp, Error **errp);
18 #endif