qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] correct comment of MemoryHotplugState


From: Cao jin
Subject: Re: [Qemu-devel] [PATCH] correct comment of MemoryHotplugState
Date: Fri, 4 Mar 2016 16:42:45 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0



On 03/03/2016 09:59 PM, Igor Mammedov wrote:
On Thu, 3 Mar 2016 17:24:12 +0800
Cao jin <address@hidden> wrote:

correct comment and remove an unused macro. commit adcb4ee6 already
correct its type

Signed-off-by: Cao jin <address@hidden>
Reviewed-by: Igor Mammedov <address@hidden>


---
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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]