aboutsummaryrefslogtreecommitdiff
path: root/savevm.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-08-08 10:21:26 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-11-02 18:35:06 +0100
commitd263a20bcfc94a59c87176df6c2d29d65a7e4e6a (patch)
tree69823f56d367feb4653a4f11f750b415868464f2 /savevm.c
parent70eb6330343ebc61e5fb22be3d137df40f4bb058 (diff)
migration: replace qemu_stdio_fd with qemu_get_fd
Reviewed-by: Orit Wasserman <owasserm@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'savevm.c')
-rw-r--r--savevm.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/savevm.c b/savevm.c
index a58fe9ac49..0ab1ad4afd 100644
--- a/savevm.c
+++ b/savevm.c
@@ -311,17 +311,6 @@ QEMUFile *qemu_popen_cmd(const char *command, const char *mode)
return qemu_popen(popen_file, mode);
}
-int qemu_stdio_fd(QEMUFile *f)
-{
- QEMUFileStdio *p;
- int fd;
-
- p = (QEMUFileStdio *)f->opaque;
- fd = fileno(p->stdio_file);
-
- return fd;
-}
-
static const QEMUFileOps stdio_file_read_ops = {
.get_fd = stdio_get_fd,
.get_buffer = stdio_get_buffer,