[libvirt-users] no connection driver available for openvz:///system

张立洪 zlh_086 at 126.com
Tue Oct 11 12:13:09 UTC 2011


First ,thanks for you help
but I am very sorry,I do not konw how to recompile libvirt to support openvz.


My os is centos6,its own libvirt version is 0.8.1

please tell me how to recomplie libvirt.because I do not find libvirt makefile.





在 2011-10-11 16:50:19,"Matthias Bolte" <matthias.bolte at googlemail.com> 写道:
>2011/10/10 Eric Blake <eblake at redhat.com>:
>> On 10/10/2011 06:57 AM, 张立洪 wrote:
>>>
>>>  dears.
>>> I can not solved the problem:
>>>  vzctl works. But how do I connect to Virtuozzo? Using the openvz
>>>>>>
>>>>>> driver
>>>>>> it doesn't work out of the box:
>>>>>> virsh # connect openvz:///system
>>>>>> error: Failed to connect to the hypervisor
>>>>>> error: no connection driver available for openvz:///system
>>>
>>>
>>> Why can not I connect to the openvz???
>>
>> This may be a simple case of your libvirt binary not being pre-compiled with
>> openvz support.  What distro are you using?  What does:
>>
>> virsh --version=long
>>
>> display?  It may be that you have to recompile libvirt from a tarball and
>> explicitly request that the openvz code be compiled, if the pre-built binary
>> from your distro omits that driver.
>
>Maybe the problem is that OpenVZ and Virtuozzo are not identical. See
>this thread on the user list about the difference between ctid and
>vpsid:
>
>https://www.redhat.com/archives/libvirt-users/2011-May/msg00070.html
>https://www.redhat.com/archives/libvirt-users/2011-July/msg00031.html
>
>I looked this up in the OpenVZ source history at that time and vpsid
>was changed to ctid at some time. So the OpenVZ driver needs to deal
>with this difference as it seems that Virtuozzo is based on newer
>OpenVZ that uses ctid.
>
>-- 
>Matthias Bolte
>http://photron.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20111011/034ee425/attachment.htm>


More information about the libvirt-users mailing list