Re: VirtualBox + Virsh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi Peter,
If it wasn't compiled with VBox support, it would not say this:
Compiled with support for:
 Hypervisors: QEMU/KVM LXC UML Xen LibXL OpenVZ VMWare VirtualBox Test

Furthermore, checking in the comments of the link, I find it is a duplicate of this one: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1103721 Which clearly states that it is fixed and as in raring. I'm on trusty right now...

Regards,
Julian Zhou

On 09/28/2015 08:13 PM, Peter Teoh wrote:


On Tue, Sep 29, 2015 at 2:54 AM, Julian Zhou <jzhou2oo6@xxxxxxxxx> wrote:
 Hi I am trying to add a virtualbox domain to my virsh installation, I get:

 error: Failed to define domain from Ondria.xml >>https://gist.github.com/jztech101/5aeebb82412c1910dc1f << error: internal error: unexpected domain type vbox, expecting one of these: qemu, kqemu, kvm, xen.

 virsh is compiled with VirtualBox support so I'm confused:

Virsh -V >> Virsh command line tool of libvirt 1.2.2
See web site at http://libvirt.org/

Compiled with support for:
 Hypervisors: QEMU/KVM LXC UML Xen LibXL OpenVZ VMWare VirtualBox Test
 Networking: Remote Network Bridging Interface netcf Nwfilter VirtualPort
 Storage: Dir Disk Filesystem SCSI Multipath iSCSI LVM RBD Sheepdog
 Miscellaneous: Daemon Nodedev AppArmor Secrets Debug Readline Modular.

After some insight, I decided to run it like this instead: " virsh -c vbox:///session create Ondria.xml"
Now I get:

error: failed to connect to the hypervisor
error: internal error: unable to initialize VirtualBox driver API

So, after further insight, I ran "export VBOX_APP_HOME=/usr/lib/virtualbox" and tried again. Same error as above. (/usr/lib/virtualbox is where VBoxCPCOMC.so lies and I'm told the reason for the above error is it cannot find that file in any "normal" location. Help? It should be noted I installed VirtualBox-5.0 directly from the VBox Repo for Ubuntu 14.04LTS


not sure if it help:   Ubuntu libvirt's driver for Virtualbox is disabled by default:

https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/667076

 
Regards,
Julian Zhou

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



--
Regards,
Peter Teoh

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux