
thanks for your information. i am new to these source things. i am seeing large number of files and every things new to me. Any guide is available for how to debug the libvirt source. For example: i want to know how vm's are created by libvirt daemon. From where i have to start. Any guide or suggestions. regards, cooldharma06 On Tue, Oct 22, 2013 at 3:27 PM, Eric Blake <eblake@redhat.com> wrote:
[dropping libvirt-users, as this is a development question. No need to cross-post]
On 10/22/2013 10:19 AM, cooldharma06 wrote:
hi,
i am started to exploring libvirt. i am using the version libvirt-1.1.3 and i want to know (or) find the path how the libvirt is creating VM with xen (libxl) in the source. Any guide or reference is available for this. How i can find the path of calling sequence for other operations(api). Guide me to get some idea on debugging the libvirt.
libxl interaction lives in the src/libxl subdirectory. That code is only run by libvirtd, but if you build with './autogen.sh --system', you can then stop the system libvirtd and use './run gdb daemon/libvirtd' to do normal debugger operations wherever you'd like in that part of the code.
-- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org