aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2016-04-27 11:04:51 +0100
committerAmit Shah <amit.shah@redhat.com>2016-05-26 11:31:05 +0530
commit1fd791f007821e2510899e60be0ddad3077120e3 (patch)
tree5b19850af9c32328f57e154cafba278b867844c1 /io
parent287db79df8af8e31f18e262feb5e05103a09e4d4 (diff)
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 'io')
0 files changed, 0 insertions, 0 deletions