mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
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>
This commit is contained in:
parent
ffe42cc14c
commit
39de99843e
4 changed files with 26 additions and 32 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue