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 arm...@redhat.com wrote: zhanghailiang zhang.zhanghaili...@huawei.com writes: From: Xiangyou Xie xiexiang...@huawei.com If VM is configured with large size of hugepage, when startup, it will consume lots of time to zero the hugepage memory in the

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 zhang.zhanghaili...@huawei.com writes: From: Xiangyou Xie xiexiang...@huawei.com 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 arm...@redhat.com wrote: Peter Maydell peter.mayd...@linaro.org writes: On 5 March 2015 at 02:02, Markus Armbruster arm...@redhat.com wrote: This patch initializes monitors earlier, thus makes more errors look ugly. Do we care? Yeah, this doesn't

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

2015-03-06 Thread Markus Armbruster
Peter Maydell peter.mayd...@linaro.org writes: On 5 March 2015 at 02:02, Markus Armbruster arm...@redhat.com wrote: zhanghailiang zhang.zhanghaili...@huawei.com writes: From: Xiangyou Xie xiexiang...@huawei.com If VM is configured with large size of hugepage, when startup, it will consume

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 arm...@redhat.com wrote: zhanghailiang zhang.zhanghaili...@huawei.com writes: From: Xiangyou Xie xiexiang...@huawei.com If VM is configured with large size of hugepage, when startup, it will consume lots of

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

2015-03-04 Thread Markus Armbruster
zhanghailiang zhang.zhanghaili...@huawei.com writes: From: Xiangyou Xie xiexiang...@huawei.com 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

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

2015-03-04 Thread zhanghailiang
From: Xiangyou Xie xiexiang...@huawei.com 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 triggers, libvirtd

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 xiexiang...@huawei.com 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