Re: [Qemu-devel] qemu memory manage question

2017-04-18 Thread jack.chen
;> Sent: Monday, April 17, 2017 6:56 PM >>> To: Peter Xu >>> Cc: qemu >>> Subject: Re: [Qemu-devel] qemu memory manage question >>> >>> Thanks,from the path you have list to me,it can be well explained,but >>> according to the source code,in t

Re: [Qemu-devel] qemu memory manage question

2017-04-17 Thread jack.chen
;> Cc: qemu >> Subject: Re: [Qemu-devel] qemu memory manage question >> >> Thanks,from the path you have list to me,it can be well explained,but >> according to the source code,in the end of kvm_init,kvm_memory_listener and >> kvm_io_listener were registered b

Re: [Qemu-devel] qemu memory manage question

2017-04-17 Thread 李强
> -Original Message- > From: Qemu-devel > [mailto:qemu-devel-bounces+liqiang6-s=360...@nongnu.org] On Behalf Of > jack.chen > Sent: Monday, April 17, 2017 6:56 PM > To: Peter Xu > Cc: qemu > Subject: Re: [Qemu-devel] qemu memory manage question > > Thanks,

Re: [Qemu-devel] qemu memory manage question

2017-04-17 Thread Peter Xu
On Mon, Apr 17, 2017 at 06:55:40PM +0800, jack.chen wrote: > Thanks,from the path you have list to me,it can be well explained,but > according to the source code,in the end of > kvm_init,kvm_memory_listener and kvm_io_listener were registered by > memory_listener_register(),and in the end of > m

Re: [Qemu-devel] qemu memory manage question

2017-04-17 Thread jack.chen
Thanks,from the path you have list to me,it can be well explained,but according to the source code,in the end of kvm_init,kvm_memory_listener and kvm_io_listener were registered by memory_listener_register(),and in the end of memory_listener_register(),listener_add_address_space() was called for

Re: [Qemu-devel] qemu memory manage question

2017-04-17 Thread Peter Xu
On Mon, Apr 17, 2017 at 06:09:11PM +0800, jack.chen wrote: > hello,I have some questions about memory allocation in qemu for > virtual machine.I found when configure_accelerator function was called > ,memory slots were registered to KVM,but at that time address_space > have not been initialized an

[Qemu-devel] qemu memory manage question

2017-04-17 Thread jack.chen
hello,I have some questions about memory allocation in qemu for virtual machine.I found when configure_accelerator function was called ,memory slots were registered to KVM,but at that time address_space have not been initialized and ram have not been allocated,it is really confused me,Thanks a lot