It should be CTID instead of VPSID. I think this was changed in openvz version, too: <a href="http://wiki.openvz.org/Man/vzlist.8">http://wiki.openvz.org/Man/vzlist.8</a><div><br></div><div>Can we fix this in /root/libvirt-0.9.3/srcopenvz/openvz_conf.c and reinstall?</div>
<div><div><br></div><div><br></div><div><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;">
Well, as Virtuozzo is a variant of OpenVZ it'll probably be possible<br>
to teach the OpenVZ driver to detect and deal with this similar to the<br>
QEMU driver dealing with different variants of QEMU.<br>
<div class="im"><br>
2011/7/12 Andreas Mauf <<a href="mailto:a.mauf@syseleven.de">a.mauf@syseleven.de</a>>:<br>
</div><div class="im">> Thanks! I compiled libvirt on my own and added --with-openvz. Driver is now<br>
> available.<br>
> But as feared libvirt is using a api call that virtuozzo dont accept. Is<br>
> there a way to update those calls?<br>
>><br>
>> [root@localhost local]# LIBVIRT_DEBUG=1 virsh -c openvz:///system<br>
>> [...]<br>
>> 00:25:12.878: 2313: debug : do_open:1053 : trying driver 1 (OPENVZ) ...<br>
>> 00:25:12.879: 2313: debug : virCommandRunAsync:1874 : About to run<br>
>> /usr/sbin/vzlist -a -ovpsid,status -H<br>
>> 00:25:12.901: 2313: debug : virCommandRunAsync:1890 : Command result 0,<br>
>> with PID 2314<br>
>> 00:25:12.902: 2313: debug : virCommandRun:1711 : Result status 0, stdout:<br>
>> '' stderr: '00:25:12.889: 2314: debug : virCommandHook:1808 : Hook is done 0<br>
>> Unknown field: vpsid<br>
>> '<br>
<br>
</div>Is this filed just named differently, or did Virtuozzo completely<br>
remove this ID?<br>
<br>
If it's just named different then this should be simple to fix, but it<br>
needs someone to figure this out.</blockquote></div>
</div></div>