Re: [Qemu-devel] [PATCH] i386: Don't print warning if phys-bits was set automatically

2019-06-12 Thread Dr. David Alan Gilbert
* Eduardo Habkost (ehabk...@redhat.com) wrote: > 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 c

[Qemu-devel] [PATCH] i386: Don't print warning if phys-bits was set automatically

2019-06-11 Thread Eduardo Habkost
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