[virt-tools-list] OpenVz and libvirt (Debian Lenny)

Cole Robinson crobinso at redhat.com
Mon Apr 12 12:03:46 UTC 2010


On 04/12/2010 05:59 AM, Arthur Clement wrote:
> Hi, I'm trying to make a fully working node with kvm and openvz, both
> managed by libvirt on Debian Lenny.
> Kvm/libvirt is running fine but I have some trouble to make openvz and
> libvirt working together.
> 
> First, I had to use a backported libvirt (0.7.6-1~bpo50+1), 0.4.6-10 was
> to old and virsh was not able to connect to openvz.
> 
> Currently, I can create a vm with openvz tools and control with virsh
> (start/list/destroy...) but the configuration is still in /etc/vz and I
> can not create a VZ vm with virt-install (for example : how to choose a
> template ? ).
> 
> Virt-manager does not list openvz hypervisor when I create a vm, only
> qemu and kvm.
>

virt-install and virt-manager haven't been patched to allow openvz VM
creation. However, virt-manager should be able to at least list and start/stop
VMs, though you will need to manually pass the openvz URI to virt-manager
using the --connect option:

virt-manager --connect openvz:///system

If VM listing and start/stop doesn't work, run with the --debug option here
and hopefully it should be easy to fix.

- Cole




More information about the virt-tools-list mailing list