aboutsummaryrefslogtreecommitdiff
path: root/target-i386/translate.c
diff options
context:
space:
mode:
authorMarcel Apfelbaum <marcel@redhat.com>2015-01-11 12:38:43 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2015-01-14 10:38:53 +0100
commit3b9985e9a104dd90427570dd4e06e4d1f152c48b (patch)
tree052fd64df3b6a2dc848e2de11d8f7f4bfe16f56a /target-i386/translate.c
parentec2cbbdd80463efd4bc81a9d1362a2acb3097a21 (diff)
downloadqemu-3b9985e9a104dd90427570dd4e06e4d1f152c48b.zip
qemu-3b9985e9a104dd90427570dd4e06e4d1f152c48b.tar.gz
qemu-3b9985e9a104dd90427570dd4e06e4d1f152c48b.tar.bz2
vl.c: fix regression when reading memory size from config file
This is happening because an actual logic is performed on the memory arguments inside the main's switch, disregarding the config file content. Solved by extracting the logic on a separate function and calling it after the switch. Signed-off-by: Marcel Apfelbaum <marcel@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-i386/translate.c')
0 files changed, 0 insertions, 0 deletions