diff options
author | Marcelo Tosatti <mtosatti@redhat.com> | 2013-10-28 18:51:46 -0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-11-25 11:28:56 +0100 |
commit | ef36fa1492e9105f3fa607b56edc63df513d7da1 (patch) | |
tree | 3224e7e3b980f4ed42e89ac825fd21bfed93fcc9 /vl.c | |
parent | fb541ca59c8b55911821c9f794c3dbe5de9ba9d8 (diff) |
qemu: mempath: prefault pages manually (v4)
v4: s/fail/failed/ (Peter Maydell)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -188,9 +188,7 @@ static int display_remote; const char* keyboard_layout = NULL; ram_addr_t ram_size; const char *mem_path = NULL; -#ifdef MAP_POPULATE int mem_prealloc = 0; /* force preallocation of physical target memory */ -#endif int nb_nics; NICInfo nd_table[MAX_NICS]; int autostart; @@ -3206,11 +3204,9 @@ int main(int argc, char **argv, char **envp) case QEMU_OPTION_mempath: mem_path = optarg; break; -#ifdef MAP_POPULATE case QEMU_OPTION_mem_prealloc: mem_prealloc = 1; break; -#endif case QEMU_OPTION_d: log_mask = optarg; break; |