diff options
| author | Daniel P. Berrange | 2016-04-27 12:04:51 +0200 |
|---|---|---|
| committer | Amit Shah | 2016-05-26 08:01:05 +0200 |
| commit | 1fd791f007821e2510899e60be0ddad3077120e3 (patch) | |
| tree | 5b19850af9c32328f57e154cafba278b867844c1 /include/exec/memory.h | |
| parent | Merge remote-tracking branch 'remotes/ehabkost/tags/x86-pull-request' into st... (diff) | |
| download | qemu-1fd791f007821e2510899e60be0ddad3077120e3.tar.gz qemu-1fd791f007821e2510899e60be0ddad3077120e3.tar.xz qemu-1fd791f007821e2510899e60be0ddad3077120e3.zip | |
s390: use FILE instead of QEMUFile for creating text file
The s390 skeys monitor command needs to write out a plain text
file. Currently it is using the QEMUFile class for this, but
work is ongoing to refactor QEMUFile and eliminate much code
related to it. The only feature qemu_fopen() gives over fopen()
is support for QEMU FD passing, but this can be achieved with
qemu_open() + fdopen() too. Switching to regular stdio FILE
APIs avoids the need to sprintf via an intermedia buffer which
slightly simplifies the code.
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <1461751518-12128-2-git-send-email-berrange@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'include/exec/memory.h')
0 files changed, 0 insertions, 0 deletions
