migration: Don't play games with the requested cache size
commit2a313e5cf6ed90b932b0abe2b4f2055785397f93
authorJuan Quintela <quintela@redhat.com>
Fri, 6 Oct 2017 21:00:12 +0000 (6 23:00 +0200)
committerJuan Quintela <quintela@redhat.com>
Sun, 29 Oct 2017 13:06:15 +0000 (29 14:06 +0100)
treedbcb5f3fdfa23e9c411045a984950079b5a9781a
parentbab01ed4e87a75ce2e779cf0a79b74ca97fd29ea
migration: Don't play games with the requested cache size

Now that we check that the value passed is a power of 2, we don't need
to play games when comparing what is the size that is going to take
the cache.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/ram.c