#include "qemu/sockets.h"
#include "migration/migration.h"
#include "monitor/monitor.h"
-#include "buffered_file.h"
+#include "migration/qemu-file.h"
#include "block/block.h"
-#include "qemu/sockets.h"
//#define DEBUG_MIGRATION_FD
return;
}
- fcntl(s->fd, F_SETFL, O_NONBLOCK);
s->get_error = fd_errno;
s->write = fd_write;
s->close = fd_close;