mirror_qemu/migration
Dr. David Alan Gilbert a202a4c001 migration: size_t'ify some of qemu-file
This is a start on using size_t more in qemu-file and friends;
it fixes up QEMUFilePutBufferFunc and QEMUFileGetBufferFunc
to take size_t lengths and return ssize_t return values (like read(2))
and fixes up all the different implementations of them.

Note that I've not yet followed this deeply into bdrv_ implementations.

Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <1439463094-5394-5-git-send-email-dgilbert@redhat.com>
Reviewed-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
2015-09-29 11:33:02 +05:30
..
Makefile.objs Split the QEMU buffered file code out 2014-12-16 17:47:36 +05:30
block.c block: Use bdrv_drain to replace uncessary bdrv_drain_all 2015-07-07 14:27:14 +01:00
exec.c Change qemu_set_fd_handler2(..., NULL, ...) to qemu_set_fd_handler 2015-06-12 13:26:21 +01:00
fd.c Change qemu_set_fd_handler2(..., NULL, ...) to qemu_set_fd_handler 2015-06-12 13:26:21 +01:00
migration.c Split out end of migration code from migration_thread 2015-09-29 11:33:02 +05:30
qemu-file-buf.c migration: size_t'ify some of qemu-file 2015-09-29 11:33:02 +05:30
qemu-file-internal.h Split struct QEMUFile out 2014-12-16 17:47:36 +05:30
qemu-file-stdio.c migration: size_t'ify some of qemu-file 2015-09-29 11:33:02 +05:30
qemu-file-unix.c migration: size_t'ify some of qemu-file 2015-09-29 11:33:02 +05:30
qemu-file.c Rework ram_control_load_hook to hook during block load 2015-07-07 14:54:48 +02:00
ram.c migration/ram.c: Use RAMBlock rather than MemoryRegion 2015-09-29 11:33:02 +05:30
rdma.c migration: size_t'ify some of qemu-file 2015-09-29 11:33:02 +05:30
savevm.c migration: size_t'ify some of qemu-file 2015-09-29 11:33:02 +05:30
tcp.c Change qemu_set_fd_handler2(..., NULL, ...) to qemu_set_fd_handler 2015-06-12 13:26:21 +01:00
unix.c Change qemu_set_fd_handler2(..., NULL, ...) to qemu_set_fd_handler 2015-06-12 13:26:21 +01:00
vmstate.c vmstate: Create optional sections 2015-07-07 14:54:52 +02:00
xbzrle.c Start migrating migration code into a migration directory 2014-12-16 17:47:36 +05:30