Beispiel #1
0
void migrate_fd_put_notify(void *opaque)
{
    FdMigrationState *s = opaque;

    qemu_set_fd_handler2(s->fd, NULL, NULL, NULL, NULL);
    qemu_file_put_notify(s->file);
}
Beispiel #2
0
static void migrate_fd_put_notify(void *opaque)
{
    MigrationState *s = opaque;

    qemu_set_fd_handler2(s->fd, NULL, NULL, NULL, NULL);
    qemu_file_put_notify(s->file);
    if (s->file && qemu_file_get_error(s->file)) {
        migrate_fd_error(s);
    }
}
Beispiel #3
0
static void migrate_fd_put_notify(void *opaque)
{
    MigrationState *s = opaque;
    int ret;

    qemu_set_fd_handler2(s->fd, NULL, NULL, NULL, NULL);
    ret = qemu_file_put_notify(s->file);
    if (ret) {
        migrate_fd_error(s);
    }
}