diff options
| author | Paolo Bonzini | 2012-08-08 10:21:26 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2012-11-02 18:35:06 +0100 |
| commit | d263a20bcfc94a59c87176df6c2d29d65a7e4e6a (patch) | |
| tree | 69823f56d367feb4653a4f11f750b415868464f2 /savevm.c | |
| parent | migration: add qemu_get_fd (diff) | |
| download | qemu-d263a20bcfc94a59c87176df6c2d29d65a7e4e6a.tar.gz qemu-d263a20bcfc94a59c87176df6c2d29d65a7e4e6a.tar.xz qemu-d263a20bcfc94a59c87176df6c2d29d65a7e4e6a.zip | |
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.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -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, |
