Re: internal error: unexcepted domain type lxc, excepted one of these: qemu, kqemu, kvm, xen

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

 



Am 11.12.2013 20:56, schrieb Eric Blake:
> On 12/11/2013 11:56 AM, Florian Klink wrote:
>> Hi,
>>
>> I'm not able to create lxc domains anymore with libvirt 1.2.0-1.
>>
> 
>>
>>
>> # virsh create vm.xml
> 
> What does 'virsh uri' output?  My guess is that your older version of
> libvirt was built with JUST lxc support, and that your new version has
> BOTH lxc and qemu support.  By not specifying an explicit connection,
> you are probably defaulting to qemu, which explains the failure.  If I'm
> right, then
> 
> # virsh -c lxc:/// create vm.xml
> 
> will resolve your situation (you can also set environment variables so
> that you don't have to always remember the -c option).

You were right. Setting the connection to lxc:/// fixed the problem.
Thanks :-)

Florian

_______________________________________________
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