Thanks! I compiled libvirt on my own and added --with-openvz. Driver is now available.<div><br></div><div>But as feared libvirt is using a api call that virtuozzo dont accept. Is there a way to update those calls?</div><div>
<br></div><div><meta charset="utf-8"><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; ">[root@localhost local]# LIBVIRT_DEBUG=1 virsh -c openvz:///system<br></span><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; ">[...]<br>
</span><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; ">00:25:12.878: 2313: debug : do_open:1053 : trying driver 1 (OPENVZ) ...<br>
</span><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; ">00:25:12.879: 2313: debug : virCommandRunAsync:1874 : <b>About to run /usr/sbin/vzlist -a -ovpsid,status -H<br>
</b></span><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; ">00:25:12.901: 2313: debug : virCommandRunAsync:1890 : Command result 0, with PID 2314<br>
</span><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; ">00:25:12.902: 2313: debug : virCommandRun:1711 : Result status 0, stdout: '' stderr: '00:25:12.889: 2314: debug : virCommandHook:1808 : Hook is done 0<br>
</span><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; "><b>Unknown field: vpsid<br></b></span><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; ">'<br>
</span><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; ">00:25:12.902: 2313: debug : do_open:1059 : driver 1 OPENVZ returned ERROR<br>
</span><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; ">00:25:12.903: 2313: debug : virUnrefConnect:145 : unref connection 0xc9aada0 1<br>
</span><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; ">00:25:12.903: 2313: debug : virReleaseConnect:94 : release connection 0xc9aada0<br>
</span><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; ">error: internal error Child process (/usr/sbin/vzlist -a -ovpsid,status -H) status unexpected: exit status 1</span><br>
error: failed to connect to the hypervisor</blockquote><div><div><br></div><br><div class="gmail_quote">2011/7/12 Matthias Bolte <span dir="ltr"><<a href="mailto:matthias.bolte@googlemail.com">matthias.bolte@googlemail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">2011/7/12 Andreas Mauf <<a href="mailto:a.mauf@syseleven.de">a.mauf@syseleven.de</a>>:<br>
<div class="im">> Yes, vzctl works. But how do I connect to Virtuozzo? Using the openvz driver<br>
> it doesn't work out of the box:<br>
> virsh # connect openvz:///system<br>
> error: Failed to connect to the hypervisor<br>
> error: no connection driver available for openvz:///system<br>
<br>
</div>You're libvirt might be compiled without OpenVZ support. Try<br>
<br>
  LIBVIRT_DEBUG=1 virsh -c openvz:///system<br>
<br>
and check if it's probing the OpenVZ driver.</blockquote></div>
</div></div>