mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
migration: delete QEMUFile buffer implementation
The qemu_bufopen() method is no longer used, so the memory buffer based QEMUFile backend can be deleted entirely. Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com> Message-Id: <1461751518-12128-20-git-send-email-berrange@redhat.com> Signed-off-by: Amit Shah <amit.shah@redhat.com>
This commit is contained in:
parent
8925839f00
commit
8b7c5c0f52
2 changed files with 0 additions and 102 deletions
|
@ -140,7 +140,6 @@ QEMUFile *qemu_fopen_socket(int fd, const char *mode);
|
|||
QEMUFile *qemu_fopen_channel_input(QIOChannel *ioc);
|
||||
QEMUFile *qemu_fopen_channel_output(QIOChannel *ioc);
|
||||
QEMUFile *qemu_popen_cmd(const char *command, const char *mode);
|
||||
QEMUFile *qemu_bufopen(const char *mode, QEMUSizedBuffer *input);
|
||||
void qemu_file_set_hooks(QEMUFile *f, const QEMUFileHooks *hooks);
|
||||
int qemu_get_fd(QEMUFile *f);
|
||||
int qemu_fclose(QEMUFile *f);
|
||||
|
@ -166,11 +165,6 @@ ssize_t qsb_write_at(QEMUSizedBuffer *qsb, const uint8_t *buf,
|
|||
off_t pos, size_t count);
|
||||
|
||||
|
||||
/*
|
||||
* For use on files opened with qemu_bufopen
|
||||
*/
|
||||
const QEMUSizedBuffer *qemu_buf_get(QEMUFile *f);
|
||||
|
||||
static inline void qemu_put_ubyte(QEMUFile *f, unsigned int v)
|
||||
{
|
||||
qemu_put_byte(f, (int)v);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue