Re: [PATCH v2] hw/i386/pc: improve physical address space bound check for 32-bit systems

2023-09-19 Thread Ani Sinha
On Tue, Sep 19, 2023 at 6:10 PM David Hildenbrand wrote: > > On 19.09.23 13:52, Ani Sinha wrote: > > On Tue, Sep 19, 2023 at 4:08 PM Ani Sinha wrote: > >> > >> 32-bit systems do not have a reserved memory for hole64 and memory hotplug > >> is > >> not supported on those systems. Therefore, the

Re: [PATCH v2] hw/i386/pc: improve physical address space bound check for 32-bit systems

2023-09-19 Thread David Hildenbrand
On 19.09.23 13:52, Ani Sinha wrote: On Tue, Sep 19, 2023 at 4:08 PM Ani Sinha wrote: 32-bit systems do not have a reserved memory for hole64 and memory hotplug is not supported on those systems. Therefore, the maximum limit of the guest physical address coincides with the end of "above 4G

Re: [PATCH v2] hw/i386/pc: improve physical address space bound check for 32-bit systems

2023-09-19 Thread Ani Sinha
On Tue, Sep 19, 2023 at 4:08 PM Ani Sinha wrote: > > 32-bit systems do not have a reserved memory for hole64 and memory hotplug is > not supported on those systems. Therefore, the maximum limit of the guest > physical address coincides with the end of "above 4G memory space" region. > Make sure

[PATCH v2] hw/i386/pc: improve physical address space bound check for 32-bit systems

2023-09-19 Thread Ani Sinha
32-bit systems do not have a reserved memory for hole64 and memory hotplug is not supported on those systems. Therefore, the maximum limit of the guest physical address coincides with the end of "above 4G memory space" region. Make sure that the end of "above 4G memory" is still addressible by the