Add migrate_set_cache_size command
authorOrit Wasserman <owasserm@redhat.com>
Mon, 6 Aug 2012 18:42:54 +0000 (21:42 +0300)
committerJuan Quintela <quintela@redhat.com>
Wed, 8 Aug 2012 11:51:12 +0000 (13:51 +0200)
commit9e1ba4cc4e2536d9650e84e2614c5691ed45938f
tree33337a2809496c43cf6d2c68d66fcba8d61ad8db
parent17ad9b358bceba78ae80f2963c6036eab726010c
Add migrate_set_cache_size command

Change XBZRLE cache size in bytes (the size should be a power of 2, it will be
rounded down to the nearest power of 2).
If XBZRLE cache size is too small there will be many cache miss.

New query-migrate-cache-size QMP command and 'info migrate_cache_size' HMP
command to query cache value.

Signed-off-by: Benoit Hudzia <benoit.hudzia@sap.com>
Signed-off-by: Petter Svard <petters@cs.umu.se>
Signed-off-by: Aidan Shribman <aidan.shribman@sap.com>
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
arch_init.c
hmp-commands.hx
hmp.c
hmp.h
migration.c
migration.h
monitor.c
qapi-schema.json
qmp-commands.hx