diff options
| author | Dr. David Alan Gilbert | 2014-10-10 13:39:04 +0200 |
|---|---|---|
| committer | Juan Quintela | 2014-10-14 09:17:06 +0200 |
| commit | deb22f9a4466e66ca25e90e5530cfe8544fe5bc7 (patch) | |
| tree | ccd3e60de663576fb60ed8f8de0c104294134aa9 /include/qemu | |
| parent | Merge remote-tracking branch 'remotes/cohuck/tags/s390x-20141010' into staging (diff) | |
| download | qemu-deb22f9a4466e66ca25e90e5530cfe8544fe5bc7.tar.gz qemu-deb22f9a4466e66ca25e90e5530cfe8544fe5bc7.tar.xz qemu-deb22f9a4466e66ca25e90e5530cfe8544fe5bc7.zip | |
QEMUSizedBuffer based QEMUFile
This is based on Stefan and Joel's patch that creates a QEMUFile that goes
to a memory buffer; from:
http://lists.gnu.org/archive/html/qemu-devel/2013-03/msg05036.html
Using the QEMUFile interface, this patch adds support functions for
operating on in-memory sized buffers that can be written to or read from.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Joel Schopp <jschopp@linux.vnet.ibm.com>
For fixes/tweeks I've done:
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/qemu')
| -rw-r--r-- | include/qemu/typedefs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/qemu/typedefs.h b/include/qemu/typedefs.h index 04df51b6fc..168a4086d8 100644 --- a/include/qemu/typedefs.h +++ b/include/qemu/typedefs.h @@ -71,6 +71,7 @@ typedef struct SSIBus SSIBus; typedef struct EventNotifier EventNotifier; typedef struct VirtIODevice VirtIODevice; typedef struct QEMUSGList QEMUSGList; +typedef struct QEMUSizedBuffer QEMUSizedBuffer; typedef struct SHPCDevice SHPCDevice; typedef struct FWCfgState FWCfgState; typedef struct PcGuestInfo PcGuestInfo; |
