qemu/hw/s390x
Daniel P. Berrange 1fd791f007 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>
2016-05-26 11:31:05 +05:30
..
css.c s390x: reorganize CSS bits between cpu.h and other headers 2016-05-19 16:42:28 +02:00
event-facility.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
ipl.c s390: remove misleading comment 2016-05-18 15:04:26 +03:00
ipl.h s390x/ipl: Add ssid field to IplParameterBlock 2016-05-17 15:50:29 +02:00
Makefile.objs s390x: remove s390-virtio devices 2016-01-13 10:53:42 +01:00
s390-pci-bus.c s390x/pci: add length checking for pci sclp handlers 2016-05-17 15:50:29 +02:00
s390-pci-bus.h s390x/pci: remove whitespace 2016-05-17 15:50:29 +02:00
s390-pci-inst.c s390x/pci: enhance mpcifc_service_call 2016-05-17 15:50:29 +02:00
s390-pci-inst.h s390x/pci: enhance mpcifc_service_call 2016-05-17 15:50:29 +02:00
s390-skeys-kvm.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
s390-skeys.c s390: use FILE instead of QEMUFile for creating text file 2016-05-26 11:31:05 +05:30
s390-virtio-ccw.c machine: add properties to compat_props incrementaly 2016-05-20 14:28:54 -03:00
s390-virtio-hcall.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
s390-virtio.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
s390-virtio.h s390x/cpu: Cleanup init in preparation for hotplug 2016-03-10 10:37:15 +01:00
sclp.c s390x/pci: separate s390_sclp_configure function 2016-05-17 15:50:29 +02:00
sclpcpu.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
sclpquiesce.c s390: Clean up includes 2016-01-29 15:07:22 +00:00
virtio-ccw.c s390x: reorganize CSS bits between cpu.h and other headers 2016-05-19 16:42:28 +02:00
virtio-ccw.h s390x: reorganize CSS bits between cpu.h and other headers 2016-05-19 16:42:28 +02:00