aboutsummaryrefslogtreecommitdiff
path: root/migration/page_cache.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2017-07-27 11:46:14 +0200
committerDr. David Alan Gilbert <dgilbert@redhat.com>2017-09-06 14:36:54 +0100
commitd0834eb5393501fe8efe350db4dc638f23a218ff (patch)
tree433cc9c9efa639ba2e1cad74b53f4e1f792ecb06 /migration/page_cache.h
parentc232bf58cb1169f1bd80c519e2cc4218e525a556 (diff)
downloadqemu-d0834eb5393501fe8efe350db4dc638f23a218ff.zip
qemu-d0834eb5393501fe8efe350db4dc638f23a218ff.tar.gz
qemu-d0834eb5393501fe8efe350db4dc638f23a218ff.tar.bz2
xbzrle: Drop unused cache_resize()
Unused since commit fd8cec XBZRLE: Fix qemu crash when resize the xbzrle cache. Cc: Juan Quintela <quintela@redhat.com> Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.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: Markus Armbruster <armbru@redhat.com> Message-Id: <1501148776-16890-2-git-send-email-armbru@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/page_cache.h')
-rw-r--r--migration/page_cache.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/migration/page_cache.h b/migration/page_cache.h
index 10ed532..4fadd0c 100644
--- a/migration/page_cache.h
+++ b/migration/page_cache.h
@@ -72,15 +72,4 @@ uint8_t *get_cached_data(const PageCache *cache, uint64_t addr);
int cache_insert(PageCache *cache, uint64_t addr, const uint8_t *pdata,
uint64_t current_age);
-/**
- * cache_resize: resize the page cache. In case of size reduction the extra
- * pages will be freed
- *
- * Returns -1 on error new cache size on success
- *
- * @cache pointer to the PageCache struct
- * @num_pages: new page cache size (in pages)
- */
-int64_t cache_resize(PageCache *cache, int64_t num_pages);
-
#endif