aboutsummaryrefslogtreecommitdiff
path: root/stubs
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2016-02-10 11:49:22 +0300
committerMichael S. Tsirkin <mst@redhat.com>2016-02-23 12:55:16 +0200
commit39de99843e4c15504812e12807728339c54b9194 (patch)
tree7353d98cf8cced8ab0dc5b6f3f552348bd2dde9a /stubs
parentffe42cc14c770549abc7995a90cf53bca3659b7f (diff)
move get_current_ram_size to virtio-balloon.c
get_current_ram_size() is used only in virtio-balloon.c This patch moves it into virtio-balloon and make it static, to allow some balloon-specific tuning. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Signed-off-by: Denis V. Lunev <den@openvz.org> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'stubs')
-rw-r--r--stubs/qmp_pc_dimm_device_list.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/stubs/qmp_pc_dimm_device_list.c b/stubs/qmp_pc_dimm_device_list.c
index a4af7fe473..def211564d 100644
--- a/stubs/qmp_pc_dimm_device_list.c
+++ b/stubs/qmp_pc_dimm_device_list.c
@@ -6,8 +6,3 @@ int qmp_pc_dimm_device_list(Object *obj, void *opaque)
{
return 0;
}
-
-ram_addr_t get_current_ram_size(void)
-{
- return ram_size;
-}