On 12/17/12 09:07, Arslan Waqar wrote:
libvir-list@redhat.com <mailto:libvir-list@redhat.com><mailto:pkrempa@redhat.com>> wrote:
On 12/17/12 07:40, Arslan Waqar wrote:
Hi all,
Hi Arslan,
I am new to the group and hence there might be a chance I might be
asking a simple question...
The thing is I compiled and installed libvirt from git. Then in my
terminal window I started virsh. It started. Then since I had
Virtual
Box installed on my machine I ran "connect vbox:///session".
Once I did
this I got two errors which said:
error: Failed to connect to the hypervisor
error: internal error unable to initialize VirtualBox driver API
What version of VirtualBox are you using? The support for Vbox 4.2
wasn't committed yet to the tree as it lacks feedback from the
users. If you have VirtualBox 4.2 and are willing to test the
patches for that it would be really helpful.
I am unable to resolve this issue...Any input is welcome!
Thanks!
--
Regards,
Arslan Waqar.
Peter
--
libvir-list mailing list
https://www.redhat.com/__mailman/listinfo/libvir-list
<https://www.redhat.com/mailman/listinfo/libvir-list>
I do have Virtual Box 4.2 and I am willing to test ... So please do send
me instructions on how to get going. If there are any specific use cases
which need to be testet then do send them to me... (BTW, I have some
important VMs on VirtualBox, should I be worried about them while testing?)
As you are using the git version it's pretty simple:
You need to fetch the branch containing the patches:
git fetch git://git.pipo.sk/libvirt.git virtualbox-4.2
and then create a new branch from FETCH_HEAD:
git checkout -b virtualbox-4.2 FETCH_HEAD
and then you need to compile it again. Make sure that the summary after configure ends lists the virtualbox driver.Hm, there's a possibility that the package is named differently in debian based distros.
Also while installing I got the errors related to xhtml1-dtds ... I read
quite a lot on it on
http://www.redhat.com/archives/libvir-list/2009-November/msg00430.html
and turns out this problem is not present in Fedora, it occurs in Ubuntu
almost every time, because ubuntu does not have xhtml1-dtds package.
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
Now, because of this will I face any problem? if so then what exactly,
and how to solve it...Also is there a workaround for it...?
--
Regards,
Arslan Waqar.