diff options
author | Marcel Apfelbaum <marcel@redhat.com> | 2015-01-11 12:38:43 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2015-01-14 10:38:53 +0100 |
commit | 3b9985e9a104dd90427570dd4e06e4d1f152c48b (patch) | |
tree | 052fd64df3b6a2dc848e2de11d8f7f4bfe16f56a /target-i386/translate.c | |
parent | ec2cbbdd80463efd4bc81a9d1362a2acb3097a21 (diff) | |
download | qemu-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