diff options
author | aliguori | 2008-10-24 23:55:17 +0200 |
---|---|---|
committer | aliguori | 2008-10-24 23:55:17 +0200 |
commit | c1d366653207033b811c85da8c839729786451a5 (patch) | |
tree | 246e541f100a13b6f77d2869c669c806f10e146f /hw | |
parent | Fix windows build after migration changes (diff) | |
download | qemu-c1d366653207033b811c85da8c839729786451a5.tar.gz qemu-c1d366653207033b811c85da8c839729786451a5.tar.xz qemu-c1d366653207033b811c85da8c839729786451a5.zip |
Live migration for Win32 (Hervé Poussineau)
This patch fixes migration so that it works on Win32. This requires using
socket specific calls since sockets cannot be treated like file descriptors
on win32.
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5525 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw')
-rw-r--r-- | hw/hw.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ QEMUFile *qemu_fopen_ops(void *opaque, QEMUFilePutBufferFunc *put_buffer, QEMUFileCloseFunc *close, QEMUFileRateLimit *rate_limit); QEMUFile *qemu_fopen(const char *filename, const char *mode); -QEMUFile *qemu_fopen_fd(int fd); +QEMUFile *qemu_fopen_socket(int fd); void qemu_fflush(QEMUFile *f); int qemu_fclose(QEMUFile *f); void qemu_put_buffer(QEMUFile *f, const uint8_t *buf, int size); |