<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><font size="3" face="Times New Roman">Hi Arslan, <br id="FontBreak"></font><br>Welcome to the club!<BR> <BR>It was not long time back when I got introduced with Libvirt and was wondering about same stuff myself, just sharing the way I worked it out:<BR> <BR>1. Understand libvirt architecture and its basic components. I strongly believe this step once done properly builds a sound <BR>     understanding of basics and helps alot in the long run. Please refer to <a href="http://libvirt.org/docs.html">http://libvirt.org/docs.html</a> and links under this <BR>     section to get a breif introduction of Libvirt Architecture, a quick reference to API documentation etc.<BR>2. System setup:<BR>     I created a workspace to store my libvirt files, this can be done as:<BR>     1.1.  git clone git://libvirt.org/libvirt.git (this will get you the latest git repo code)<BR>     1.2.  Once downloaded I would highly recommend reading README-hacking file to get familiar with how to build libvirt <BR>              and other finer details.<BR>3. Once I had libvirt installed on my system, I wrote a small test module (I call it testvirt), which is nothing but a C binary <BR>    that accepts user options and calls internal APIs (such as connect to a hypervisor which in my case was ESXi, dump <BR>    domain XML etc.). This module helped me getting familiar with libvirt code, debug it to understand the flow of the code <BR>    as well as test the modules that I have tried so far. <BR>4. Lastly, once you have made changes to libvirt code as per your project, please refer to HACKING file under the root <BR>     directory to get familiar with steps needed to submit your patch to the community.<BR><div><div id="SkyDrivePlaceholder"> </div><div>Hope above steps will be of some help to you and would get you started with Libvirt :-).</div><div> </div><div>Thanks!</div><div>Ata</div><div> </div><hr id="stopSpelling">Date: Sun, 16 Dec 2012 04:14:17 +0500<br>From: animecrazy71@gmail.com<br>To: libvir-list@redhat.com<br>Subject: [libvirt] Some help in Starting up<br><br>Hi everyone!<div><br></div><div>I hope you bear with me, and I would be grateful for that, as I am very new to all this...<br clear="all"><div><br></div><div>I want to develop for libvirt and want to specifically work on it for the VirtualBox domain. The problem is I have no idea how to set up my development environment... I have a ubuntu 64 bit machine with me, with The latest Virtual box installed (from the official site), and git already installed. </div>
<div><br></div><div>Now what am I suposed to do? get libvirt code from the git repository? if that is so then what would be the next step?</div><div><br></div>-- <br><div>Regards,</div><div>Arslan Waqar.</div><br>
</div>
<br>--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list</div>                                           </div></body>
</html>