Re: [PATCH v2] i386/cpu: Drop the check of phys_bits in host_cpu_realizefn()

2024-10-28 Thread Paolo Bonzini
Queued, thanks. Paolo

Re: [PATCH v2] i386/cpu: Drop the check of phys_bits in host_cpu_realizefn()

2024-10-24 Thread Xiaoyao Li
Ping. Paolo, this is a simple clean up. On 9/29/2024 4:57 PM, Xiaoyao Li wrote: The check of cpu->phys_bits to be in range between [32, TARGET_PHYS_ADDR_SPACE_BITS] in host_cpu_realizefn() is duplicated with check in x86_cpu_realizefn(). Since the ckeck in x86_cpu_realizefn() is called later a

[PATCH v2] i386/cpu: Drop the check of phys_bits in host_cpu_realizefn()

2024-09-29 Thread Xiaoyao Li
The check of cpu->phys_bits to be in range between [32, TARGET_PHYS_ADDR_SPACE_BITS] in host_cpu_realizefn() is duplicated with check in x86_cpu_realizefn(). Since the ckeck in x86_cpu_realizefn() is called later and can cover all the x86 cases. Remove the one in host_cpu_realizefn(). Opportunist