unify popen/fopen qemu wrappers
commit7f79dd281c834013f32cff0f5d98135b87cf470e
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 12 Aug 2009 12:17:35 +0000 (12 14:17 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 24 Aug 2009 13:02:55 +0000 (24 08:02 -0500)
tree59f523f058469c14511af3c5d22fd6ec15022ded
parenta25a0ef51e642130017e19f3e41af1b794aa75c1
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 <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/hw.h
migration-exec.c
savevm.c