<br><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.333333969116211px"><br></span></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 17, 2012 at 3:06 PM, Peter Krempa <span dir="ltr"><<a href="mailto:pkrempa@redhat.com" target="_blank">pkrempa@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">On 12/17/12 09:07, Arslan Waqar wrote:<br>

</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
<br>
Hey Peter,<br>
<br>
On Mon, Dec 17, 2012 at 12:42 PM, Peter Krempa <<a href="mailto:pkrempa@redhat.com" target="_blank">pkrempa@redhat.com</a><br></div><div><div class="h5">
<mailto:<a href="mailto:pkrempa@redhat.com" target="_blank">pkrempa@redhat.com</a>>> wrote:<br>
<br>
    On 12/17/12 07:40, Arslan Waqar wrote:<br>
<br>
        Hi all,<br>
<br>
<br>
    Hi Arslan,<br>
<br>
<br>
<br>
        I am new to the group and hence there might be a chance I might be<br>
        asking a simple question...<br>
<br>
        The thing is I compiled and installed libvirt from git. Then in my<br>
        terminal window I started virsh. It started. Then since I had<br>
        Virtual<br>
        Box installed on my machine I ran "connect vbox:///session".<br>
        Once I did<br>
        this I got two errors which said:<br>
        error: Failed to connect to the hypervisor<br>
        error: internal error unable to initialize VirtualBox driver API<br>
<br>
<br>
    What version of VirtualBox are you using? The support for Vbox 4.2<br>
    wasn't committed yet to the tree as it lacks feedback from the<br>
    users. If you have VirtualBox 4.2 and are willing to test the<br>
    patches for that it would be really helpful.<br>
<br>
<br>
<br>
<br>
        I am unable to resolve this issue...Any input is welcome!<br>
<br>
        Thanks!<br>
<br>
        --<br>
        Regards,<br>
        Arslan Waqar.<br>
<br>
<br>
    Peter<br>
<br>
<br>
<br>
        --<br>
        libvir-list mailing list<br></div></div>
        <a href="mailto:libvir-list@redhat.com" target="_blank">libvir-list@redhat.com</a> <mailto:<a href="mailto:libvir-list@redhat.com" target="_blank">libvir-list@redhat.com</a><u></u>><br>
        <a href="https://www.redhat.com/__mailman/listinfo/libvir-list" target="_blank">https://www.redhat.com/__<u></u>mailman/listinfo/libvir-list</a><div class="im"><br>
        <<a href="https://www.redhat.com/mailman/listinfo/libvir-list" target="_blank">https://www.redhat.com/<u></u>mailman/listinfo/libvir-list</a>><br>
<br>
<br>
<br>
I do have Virtual Box 4.2 and I am willing to test ... So please do send<br>
me instructions on how to get going. If there are any specific use cases<br>
which need to be testet then do send them to me... (BTW, I have some<br>
important VMs on VirtualBox, should I be worried about them while testing?)<br>
</div></blockquote>
<br>
As you are using the git version it's pretty simple:<br>
<br>
You need to fetch the branch containing the patches:<br>
<br>
git fetch git://<a href="http://git.pipo.sk/libvirt.git" target="_blank">git.pipo.sk/libvirt.git</a> virtualbox-4.2<br>
<br>
and then create a new branch from FETCH_HEAD:<br>
<br>
git checkout -b virtualbox-4.2 FETCH_HEAD<br>
<br>
and then you need to compile it again. Make sure that the summary after configure ends lists the virtualbox driver.<div class="im"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Also while installing I got the errors related to xhtml1-dtds ... I read<br>
quite a lot on it on<br>
<a href="http://www.redhat.com/archives/libvir-list/2009-November/msg00430.html" target="_blank">http://www.redhat.com/<u></u>archives/libvir-list/2009-<u></u>November/msg00430.html</a><br>
and turns out this problem is not present in Fedora, it occurs in Ubuntu<br>
almost every time, because ubuntu does not have xhtml1-dtds package.<br>
</blockquote>
<br></div>
Hm, there's a possibility that the package is named differently in debian based distros.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Now, because of this will I face any problem? if so then what exactly,<br>
and how to solve it...Also is there a workaround for it...?<br>
</blockquote>
<br></div>
The inability to verify the DTDs shouldn't be fatal. Anyways, you don't really need to do make install from the git tree. You can run libvirt directly from the repo after it's built<span class=""><font color="#888888"><br>

<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
--<br>
Regards,<br>
Arslan Waqar.<br>
<br>
</blockquote>
<br>
</font></span></blockquote></div><br>I tried to to fetch the Virtual Box 4.2 drivers code branch by running this command in terminal:<div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">git fetch git://</span><a href="http://git.pipo.sk/libvirt.git" target="_blank" style="font-family:arial,sans-serif;font-size:13.333333969116211px">git.pipo.sk/libvirt.git</a><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"> virtualbox-4.2</span><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">I got the following error:</span></div><div>
<font color="#cc0000">fatal: remote error: access denied or repository not exported: /libvirt.git</font><br></div><div><br></div><div>Apparently I cant access it... do I need to do some account verification or something...?</div>
<div><br></div><div>Also I have searched almost everywhere and still haven't found a workaround for the <span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.333333969116211px"> </span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.333333969116211px">xhtml1-dtds package</span><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"><font color="#000000"> ... If some one is using Ubuntu for libvirt development then kindly advise me a Ubuntu/Debian equivalent package for </font></span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.333333969116211px">xhtml1-dtds package</span><span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13.333333969116211px"> ....</span></div>
<div><br></div>-- <br><div>Regards,</div><div>Arslan Waqar.</div><br>
</div>