diff options
| author | Vladimir Sementsov-Ogievskiy | 2016-02-10 09:49:22 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-02-23 11:55:16 +0100 |
| commit | 39de99843e4c15504812e12807728339c54b9194 (patch) | |
| tree | 7353d98cf8cced8ab0dc5b6f3f552348bd2dde9a /include/exec | |
| parent | vhost-user: don't merge regions with different fds (diff) | |
| download | qemu-39de99843e4c15504812e12807728339c54b9194.tar.gz qemu-39de99843e4c15504812e12807728339c54b9194.tar.xz qemu-39de99843e4c15504812e12807728339c54b9194.zip | |
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 'include/exec')
| -rw-r--r-- | include/exec/cpu-common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/exec/cpu-common.h b/include/exec/cpu-common.h index 85aa4033e7..a0ad2acb43 100644 --- a/include/exec/cpu-common.h +++ b/include/exec/cpu-common.h @@ -54,7 +54,6 @@ typedef uintptr_t ram_addr_t; #endif extern ram_addr_t ram_size; -ram_addr_t get_current_ram_size(void); /* memory API */ |
