On 03/03/2016 09:59 PM, Igor Mammedov wrote:
On Thu, 3 Mar 2016 17:24:12 +0800
Cao jin <caoj.f...@cn.fujitsu.com> wrote:
correct comment and remove an unused macro. commit adcb4ee6 already
correct its type
Signed-off-by: Cao jin <caoj.f...@cn.fujitsu.com>
Reviewed-by: Igor Mammedov <imamm...@redhat.com>
---
Btw, in pc_memory_init(), I don`t see in which condition, the following code
will be executed:
if ((pcms->hotplug_memory.base + hotplug_mem_size) <
hotplug_mem_size) {
error_report("unsupported amount of maximum memory: " RAM_ADDR_FMT,
machine->maxram_size);
exit(EXIT_FAILURE);
}
I appreciate if anyone could give a hint
Integer overflow?
Ah yes, make sense. Thanks very much for the hint
--
Yours Sincerely,
Cao jin