qemu-patch-raspberry4/migration
Ashijeet Acharya 091ecc8b69 migrate: Fix bounds check for migration parameters in migration.c
This patch fixes the out-of-bounds check of migration parameters in
qmp_migrate_set_parameters() for cpu-throttle-initial and
cpu-throttle-increment by adding a return statement for both as they
were broken since their introduction in 2.5 via commit 1626fee.
Due to the missing return statements, parameters were getting set to
out-of-bounds values despite the error.

Signed-off-by: Ashijeet Acharya <ashijeetacharya@gmail.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
2016-10-13 17:23:53 +02:00
..
block.c migration/block: Convert saving to BlockBackend 2016-06-08 10:21:08 +02:00
exec.c migration: rename functions to starting migrations 2016-06-16 09:51:37 +05:30
fd.c migration: rename functions to starting migrations 2016-06-16 09:51:37 +05:30
Makefile.objs migration: add support for encrypting data with TLS 2016-05-26 11:32:13 +05:30
migration.c migrate: Fix bounds check for migration parameters in migration.c 2016-10-13 17:23:53 +02:00
postcopy-ram.c migration: mmap error check fix 2016-08-11 16:59:38 +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: fix live migration failure with compression 2016-08-11 16:59:53 +05:30
qjson.c qjson: free str 2016-08-08 00:00:24 +04:00
ram.c migration: sync all address spaces 2016-09-27 11:57:29 +02:00
rdma.c migration/rdma: Don't flag an error when we've been told about one 2016-10-13 17:22:38 +02:00
savevm.c migration: Make failed migration load set file error 2016-10-13 17:22:38 +02:00
socket.c migration/socket: fix typo in file header 2016-08-11 17:03:51 +05:30
tls.c migration: rename functions to starting migrations 2016-06-16 09:51:37 +05:30
trace-events trace-events: fix first line comment in trace-events 2016-08-12 10:36:01 +01:00
vmstate.c migration: Report values for comparisons 2016-10-13 17:22:38 +02:00
xbzrle.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00