[libvirt] Re: how to connect LXC via libvirt

Daniel P. Berrange berrange at redhat.com
Thu Dec 18 12:39:53 UTC 2008

On Thu, Dec 18, 2008 at 11:15:54AM +0800, Ian jonhson wrote:
> Hi Daniel,
> I followed the instructions in:
> https://lists.linux-foundation.org/pipermail/containers/2008-September/013237.html
> to try to connect with LXC which is built in my VM (ubuntu7.10 +
> kernel 2.6.27-rc8).
> Unfortunately, I fail.
> The container can work when I use its user-space interfaces, however I can not
> execute the "virsh --connect lxc:/// define mycontainer.xml" after I have
> installed the libvirt (downloaded from CVS). 

Please provide the error message you got when connecting with this:

  # LIBVIRT_DEBUG=1 virsh  --connect lxc:///

|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

More information about the libvir-list mailing list