Re: [Qemu-devel] [PATCH] vl: Adjust the place of processing '-mon'

2015-03-06 Thread Markus Armbruster
Peter Maydell writes: > On 5 March 2015 at 02:02, Markus Armbruster wrote: >> zhanghailiang writes: >> >>> From: Xiangyou Xie >>> >>> If VM is configured with large size of hugepage, when startup, >>> it will consume lots of time to zero the hugepage memory in the function >>> 'os_mem_prealloc

Re: [Qemu-devel] [PATCH] vl: Adjust the place of processing '-mon'

2015-03-06 Thread Peter Maydell
On 6 March 2015 at 21:05, Markus Armbruster wrote: > Peter Maydell writes: > >> On 5 March 2015 at 02:02, Markus Armbruster wrote: >>> This patch initializes monitors earlier, thus makes more errors look >>> ugly. Do we care? >> >> Yeah, this doesn't seem great. Surely the actual problem here >

Re: [Qemu-devel] [PATCH] vl: Adjust the place of processing '-mon'

2015-03-06 Thread zhanghailiang
On 2015/3/6 17:51, Peter Maydell wrote: On 5 March 2015 at 02:02, Markus Armbruster wrote: zhanghailiang writes: From: Xiangyou Xie If VM is configured with large size of hugepage, when startup, it will consume lots of time to zero the hugepage memory in the function 'os_mem_prealloc'. Lib

Re: [Qemu-devel] [PATCH] vl: Adjust the place of processing '-mon'

2015-03-06 Thread Peter Maydell
On 5 March 2015 at 02:02, Markus Armbruster wrote: > zhanghailiang writes: > >> From: Xiangyou Xie >> >> If VM is configured with large size of hugepage, when startup, >> it will consume lots of time to zero the hugepage memory in the function >> 'os_mem_prealloc'. >> Libvirtd will wait 30 secon

Re: [Qemu-devel] [PATCH] vl: Adjust the place of processing '-mon'

2015-03-06 Thread zhanghailiang
On 2015/3/5 1:02, Markus Armbruster wrote: zhanghailiang writes: From: Xiangyou Xie If VM is configured with large size of hugepage, when startup, it will consume lots of time to zero the hugepage memory in the function 'os_mem_prealloc'. Libvirtd will wait 30 seconds for qemu to establish t

Re: [Qemu-devel] [PATCH] vl: Adjust the place of processing '-mon'

2015-03-04 Thread Markus Armbruster
zhanghailiang writes: > From: Xiangyou Xie > > If VM is configured with large size of hugepage, when startup, > it will consume lots of time to zero the hugepage memory in the function > 'os_mem_prealloc'. > Libvirtd will wait 30 seconds for qemu to establish the monitor, > If the timeout trigge

Re: [Qemu-devel] [PATCH] vl: Adjust the place of processing '-mon'

2015-03-04 Thread Paolo Bonzini
On 04/03/2015 11:59, zhanghailiang wrote: > From: Xiangyou Xie > > If VM is configured with large size of hugepage, when startup, > it will consume lots of time to zero the hugepage memory in the function > 'os_mem_prealloc'. > Libvirtd will wait 30 seconds for qemu to establish the monitor, >