[libvirt] LXC support?

Diego Elio “Flameeyes” Pettenò flameeyes at gmail.com
Wed Dec 23 18:12:41 UTC 2009

I've been wanting to give a try to libvirt to handle containers from LXC
as well, but seems like if I follow the default configuration example, I
get this:

virsh # create /etc/libvirt/lxc/axant.xml 
errore: Impossibile creare il dominio da /etc/libvirt/lxc/axant.xml
errore: unknown OS type exe

[sorry for the Italian message, but it doesn't really matter]

The configuration is this:

<domain type='lxc'>
  <clock offset="utc" />

    <filesystem type='mount'>
      <source dir='/media/chroots/axant'/>
      <target dir='/'/>

    <interface type='bridge'>
      <mac address="8e:8b:e5:aa:28:b6" />
      <source bridge="br0" />
    <console type='pty' />

am I doing something wrong or the doc at [1] is outdated somehow?

[1] http://libvirt.org/drvlxc.html

Diego Elio Pettenò — “Flameeyes”

If you found a .asc file in this mail and know not what it is,
it's a GnuPG digital signature: http://www.gnupg.org/

More information about the libvir-list mailing list