diff options
| author | Eduardo Habkost | 2019-06-11 22:54:20 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2019-07-05 22:08:03 +0200 |
| commit | fea306520ea4b2f189dd23c70a6afd2fc4ffafdc (patch) | |
| tree | c4309af52e77e27d22f57fb481a8297e0ff2ee9e /linux-user/linux_loop.h | |
| parent | deprecate -mem-path fallback to anonymous RAM (diff) | |
| download | qemu-fea306520ea4b2f189dd23c70a6afd2fc4ffafdc.tar.gz qemu-fea306520ea4b2f189dd23c70a6afd2fc4ffafdc.tar.xz qemu-fea306520ea4b2f189dd23c70a6afd2fc4ffafdc.zip | |
i386: Don't print warning if phys-bits was set automatically
If cpu->host_phys_bits_limit is set, QEMU will make
cpu->phys_bits be lower than host_phys_bits on some cases. This
triggers a warning that was supposed to be printed only if
phys-bits was explicitly set in the command-line.
Reorder the code so the value of cpu->phys_bits is validated
before the cpu->host_phys_bits handling. This will avoid
unexpected warnings when cpu->host_phys_bits_limit is set.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20190611205420.20286-1-ehabkost@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions
