We want the file assignment to happen before the thread is created to avoid locking, so we just do it before creating the thread. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Orit Wasserman <owasserm@redhat.com>
23 lines
435 B
C
23 lines
435 B
C
/*
|
|
* QEMU buffered QEMUFile
|
|
*
|
|
* Copyright IBM, Corp. 2008
|
|
*
|
|
* Authors:
|
|
* Anthony Liguori <aliguori@us.ibm.com>
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2. See
|
|
* the COPYING file in the top-level directory.
|
|
*
|
|
*/
|
|
|
|
#ifndef QEMU_BUFFERED_FILE_H
|
|
#define QEMU_BUFFERED_FILE_H
|
|
|
|
#include "hw/hw.h"
|
|
#include "migration/migration.h"
|
|
|
|
void qemu_fopen_ops_buffered(MigrationState *migration_state);
|
|
|
|
#endif
|