Re: [Qemu-devel] [PATCH RFC 2/4] check if we have space left for hotplugged memory

2014-06-16 Thread Hu Tao
On Sun, Jun 15, 2014 at 11:53:52AM +0300, Michael S. Tsirkin wrote: On Sat, Jun 14, 2014 at 12:48:57PM +0800, Hu Tao wrote: If pc-dimm is specified on qemu command line, but only with -m size (aka not -m size,maxmem,slots) then qemu will core dump. This patch fixes the problem.

Re: [Qemu-devel] [PATCH RFC 2/4] check if we have space left for hotplugged memory

2014-06-15 Thread Michael S. Tsirkin
On Sat, Jun 14, 2014 at 12:48:57PM +0800, Hu Tao wrote: If pc-dimm is specified on qemu command line, but only with -m size (aka not -m size,maxmem,slots) then qemu will core dump. This patch fixes the problem. Signed-off-by: Hu Tao hu...@cn.fujitsu.com --- hw/mem/pc-dimm.c | 7 ++-

[Qemu-devel] [PATCH RFC 2/4] check if we have space left for hotplugged memory

2014-06-13 Thread Hu Tao
If pc-dimm is specified on qemu command line, but only with -m size (aka not -m size,maxmem,slots) then qemu will core dump. This patch fixes the problem. Signed-off-by: Hu Tao hu...@cn.fujitsu.com --- hw/mem/pc-dimm.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git