Re: [Qemu-devel] [PATCH] virtio-balloon: Fix ballooning not working correctly when hotplug memory

2014-09-22 Thread Igor Mammedov
On Mon, 22 Sep 2014 11:36:35 +0800 zhanghailiang wrote: > Hi Igor, > > Thanks for your reviewing... > > > On Mon, 15 Sep 2014 20:29:38 +0800 > > zhanghailiang wrote: > > > >> When do memory balloon, it references the ram_size as the real ram size of > >> VM, > >> But here ram_size is not incl

Re: [Qemu-devel] [PATCH] virtio-balloon: Fix ballooning not working correctly when hotplug memory

2014-09-21 Thread zhanghailiang
Hi Igor, Thanks for your reviewing... On Mon, 15 Sep 2014 20:29:38 +0800 zhanghailiang wrote: When do memory balloon, it references the ram_size as the real ram size of VM, But here ram_size is not include the hotplugged memory, and the result will be confused. Steps to reproduce: (1)Start

Re: [Qemu-devel] [PATCH] virtio-balloon: Fix ballooning not working correctly when hotplug memory

2014-09-19 Thread Igor Mammedov
On Mon, 15 Sep 2014 20:29:38 +0800 zhanghailiang wrote: > When do memory balloon, it references the ram_size as the real ram size of VM, > But here ram_size is not include the hotplugged memory, and the result will > be confused. > > Steps to reproduce: > (1)Start VM: qemu -m size=1024,slots=4,m

Re: [Qemu-devel] [PATCH] virtio-balloon: Fix ballooning not working correctly when hotplug memory

2014-09-17 Thread zhanghailiang
Hi, Ping... Is anyone concerned about this patch? Is this a bug? Thanks, zhanghailiang On 2014/9/15 20:29, zhanghailiang wrote: When do memory balloon, it references the ram_size as the real ram size of VM, But here ram_size is not include the hotplugged memory, and the result will be confuse

[Qemu-devel] [PATCH] virtio-balloon: Fix ballooning not working correctly when hotplug memory

2014-09-15 Thread zhanghailiang
When do memory balloon, it references the ram_size as the real ram size of VM, But here ram_size is not include the hotplugged memory, and the result will be confused. Steps to reproduce: (1)Start VM: qemu -m size=1024,slots=4,maxmem=8G (2)In VM: #free -m : 1024M (3)qmp balloon 512M (4)In VM: #fre