summaryrefslogtreecommitdiff
path: root/migration/ram.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-10-06 23:03:55 +0200
committerJuan Quintela <quintela@redhat.com>2017-10-29 14:06:15 +0100
commitc9dede2d482676440cb6e826ebe87450965fe679 (patch)
tree86b079eea920e73c6b068e506ebbcd98f3515380 /migration/ram.h
parent2a313e5cf6ed90b932b0abe2b4f2055785397f93 (diff)
downloadqemu-c9dede2d482676440cb6e826ebe87450965fe679.tar.gz
migration: No need to return the size of the cache
After the previous commits, we make sure that the value passed is right, or we just drop an error. So now we return if there is one error or we have setup correctly the value passed. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> -- Improve error messasge Return 0 always for success
Diffstat (limited to 'migration/ram.h')
-rw-r--r--migration/ram.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/ram.h b/migration/ram.h
index f9f7eef894..64d81e9f1d 100644
--- a/migration/ram.h
+++ b/migration/ram.h
@@ -35,7 +35,7 @@
extern MigrationStats ram_counters;
extern XBZRLECacheStats xbzrle_counters;
-int64_t xbzrle_cache_resize(int64_t new_size, Error **errp);
+int xbzrle_cache_resize(int64_t new_size, Error **errp);
uint64_t ram_bytes_remaining(void);
uint64_t ram_bytes_total(void);