diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2014-10-01 17:34:34 -0300 |
---|---|---|
committer | Juan Quintela <quintela@trasno.org> | 2014-10-14 10:28:12 +0200 |
commit | e68dd3659628c41447f46da6657d68da83c3cf88 (patch) | |
tree | 38f6e9f94bd44886e147d9e16b7ff6c53fe6f849 /include/migration | |
parent | 9a4ac51f7222011ea2d44a6bc3ef01e9107b0af4 (diff) |
qemu-file: Make qemu_file_is_writable() non-static
The QEMUFileStdio code will use qemu_file_is_writable() and will be
moved to a separate file.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include/migration')
-rw-r--r-- | include/migration/qemu-file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/migration/qemu-file.h b/include/migration/qemu-file.h index 70ff347f2e..401676bf4d 100644 --- a/include/migration/qemu-file.h +++ b/include/migration/qemu-file.h @@ -120,6 +120,7 @@ void qemu_put_byte(QEMUFile *f, int v); */ void qemu_put_buffer_async(QEMUFile *f, const uint8_t *buf, int size); bool qemu_file_mode_is_not_valid(const char *mode); +bool qemu_file_is_writable(QEMUFile *f); QEMUSizedBuffer *qsb_create(const uint8_t *buffer, size_t len); QEMUSizedBuffer *qsb_clone(const QEMUSizedBuffer *); |