Re: qemu/kvm memory allocation

2014-07-11 Thread Alexei Fedotov
Hi Paolo, all, could anyone advise which source file implements memory allocation in KVM? I want to check the source of the corresponding malloc. A simple search says that KVM source tree contains three malloc implementations. -- With best regards / с наилучшими пожеланиями, Alexei Fedotov /

Re: qemu/kvm memory allocation

2014-07-11 Thread Paolo Bonzini
Il 11/07/2014 16:35, Alexei Fedotov ha scritto: Hi Paolo, all, could anyone advise which source file implements memory allocation in KVM? I want to check the source of the corresponding malloc. A simple search says that KVM source tree contains three malloc implementations. I'm not even sure

Re: qemu/kvm memory allocation

2014-07-11 Thread Anshul Makkar
kvm and QEMU are different.. On Fri, Jul 11, 2014 at 4:58 PM, Paolo Bonzini pbonz...@redhat.com wrote: Il 11/07/2014 16:35, Alexei Fedotov ha scritto: Hi Paolo, all, could anyone advise which source file implements memory allocation in KVM? I want to check the source of the corresponding

Re: qemu/kvm memory allocation

2014-07-11 Thread Alexei Fedotov
Guys, thanks for guiding me. I'm looking into qemu sources right now. -- With best regards / с наилучшими пожеланиями, Alexei Fedotov / Алексей Федотов, http://dataved.ru/ +7 916 562 8095 [1] Start using Apache Openmeetings today, http://openmeetings.apache.org/ [2] Join Alexei Fedotov

Re: qemu/kvm memory allocation

2014-07-07 Thread Alexei Fedotov
Paolo, thank you. -- With best regards / с наилучшими пожеланиями, Alexei Fedotov / Алексей Федотов, http://dataved.ru/ +7 916 562 8095 [1] Start using Apache Openmeetings today, http://openmeetings.apache.org/ [2] Join Alexei Fedotov @linkedin, http://ru.linkedin.com/in/dataved/ [3] Join Alexei

qemu/kvm memory allocation

2014-07-04 Thread Alexei Fedotov
Hi engineers, Could anyone direct me where memory allocation [1] for a new virtual machine takes place in the code? I want to understand why the memory is initialized with zeroes when I call malloc in a virtual machine. [1] http://www.linux-kvm.org/page/Memory -- With best regards / с

Re: qemu/kvm memory allocation

2014-07-04 Thread Paolo Bonzini
Il 04/07/2014 16:49, Alexei Fedotov ha scritto: Hi engineers, Could anyone direct me where memory allocation [1] for a new virtual machine takes place in the code? I want to understand why the memory is initialized with zeroes when I call malloc in a virtual machine. Nowhere in KVM. Memory