From 7f79dd281c834013f32cff0f5d98135b87cf470e Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Wed, 12 Aug 2009 14:17:35 +0200 Subject: unify popen/fopen qemu wrappers While reading Chris's code for fd migration I noticed the duplication between QEMUFilePopen and QEMUFileStdio. This fixes it, and makes qemu_fopen more similar qemu_popen. Signed-off-by: Paolo Bonzini Signed-off-by: Anthony Liguori --- hw/hw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/hw.h') diff --git a/hw/hw.h b/hw/hw.h index 1e5783d..322f077 100644 --- a/hw/hw.h +++ b/hw/hw.h @@ -52,7 +52,7 @@ QEMUFile *qemu_fopen(const char *filename, const char *mode); QEMUFile *qemu_fopen_socket(int fd); QEMUFile *qemu_popen(FILE *popen_file, const char *mode); QEMUFile *qemu_popen_cmd(const char *command, const char *mode); -int qemu_popen_fd(QEMUFile *f); +int qemu_stdio_fd(QEMUFile *f); void qemu_fflush(QEMUFile *f); int qemu_fclose(QEMUFile *f); void qemu_put_buffer(QEMUFile *f, const uint8_t *buf, int size); -- cgit v1.1