make ram_size local to vl.c

Use the machine properties for the leftovers too.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini
2020-10-28 06:24:22 -04:00
parent 48c0b1e45f
commit b326b6ea79
6 changed files with 12 additions and 11 deletions

View File

@ -42,8 +42,6 @@ typedef uintptr_t ram_addr_t;
# define RAM_ADDR_FMT "%" PRIxPTR
#endif
extern ram_addr_t ram_size;
/* memory API */
void qemu_ram_remap(ram_addr_t addr, ram_addr_t length);