libvirt and VirtualBox / Getting Started

Posted by Marc Lucas on Stack Overflow See other posts from Stack Overflow or by Marc Lucas
Published on 2010-05-06T05:23:31Z Indexed on 2010/05/06 5:28 UTC
Read the original article Hit count: 550

Filed under:
|
|
|

I'm trying to get started on libvirt with VirtualBox as a virtualization solution. I installed everything and VirtualBox itself is running when using their VBoxHeadless command. However, libvirt fails to connect to VirtualBox:

# virsh -c vbox:///session
libvir: error : could not connect to vbox:///session
error: failed to connect to the hypervisor

I could not find any hints in the libvirt documentation that point to whether I have to make any domain specific configuration before using virsh.

Does anyone have a hint? Or even better, maybe a tutorial that works through the way of using libvirt, virsh or it's APIs (my later goal) from the ground up.

© Stack Overflow or respective owner

Related posts about libvirt

Related posts about virtualbox