mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
Merge remote-tracking branch 'qemu-kvm/uq/master' into staging
# By Alex Williamson (1) and others # Via Paolo Bonzini * qemu-kvm/uq/master: target-i386: fix cpuid leaf 0x0d qemu: mempath: prefault pages manually (v4) kvm: Query KVM for available memory slots Message-id: 1386345276-9803-1-git-send-email-pbonzini@redhat.com Signed-off-by: Anthony Liguori <aliguori@amazon.com>
This commit is contained in:
commit
0c0cb6a237
5 changed files with 71 additions and 30 deletions
4
vl.c
4
vl.c
|
@ -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;
|
||||
|
@ -3211,11 +3209,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue