xemu/migration
Daniel P. Berrange 2594f56d4c migration: don't use an array for storing migrate parameters
The MigrateState struct uses an array for storing migration
parameters. This presumes that all future parameters will
be integers too, which is not going to be the case. There
is no functional reason why an array is used, if anything
it makes the code less clear. The QAPI schema already
defines a struct - MigrationParameters - capable of storing
all the individual parameters, so just use that instead of
an array.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1461751518-12128-25-git-send-email-berrange@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
2016-05-26 11:32:07 +05:30
..
block.c block: Avoid bs->blk in bdrv_next() 2016-05-19 16:45:31 +02:00
exec.c migration: convert exec socket protocol to use QIOChannel 2016-05-26 11:31:47 +05:30
fd.c migration: convert fd socket protocol to use QIOChannel 2016-05-26 11:31:45 +05:30
Makefile.objs migration: delete QEMUFile stdio implementation 2016-05-26 11:32:03 +05:30
migration.c migration: don't use an array for storing migrate parameters 2016-05-26 11:32:07 +05:30
postcopy-ram.c migration/postcopy-ram: Guard use of sys/eventfd.h with CONFIG_EVENTFD 2016-02-26 15:05:25 +05:30
qemu-file-channel.c migration: introduce a new QEMUFile impl based on QIOChannel 2016-05-26 11:31:24 +05:30
qemu-file.c migration: move definition of struct QEMUFile back into qemu-file.c 2016-05-26 11:32:05 +05:30
qjson.c migration/qjson: Drop gratuitous use of QOM 2016-05-23 14:16:12 +05:30
ram.c migration: don't use an array for storing migrate parameters 2016-05-26 11:32:07 +05:30
rdma.c migration: convert RDMA to use QIOChannel interface 2016-05-26 11:31:50 +05:30
savevm.c migration: convert savevm to use QIOChannel for writing to files 2016-05-26 11:31:53 +05:30
socket.c migration: convert tcp socket protocol to use QIOChannel 2016-05-26 11:31:42 +05:30
vmstate.c migration: Move qjson.[ch] to migration/ 2016-05-23 14:16:09 +05:30
xbzrle.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00