libvirt and lxc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Is anyone using libvirt for lxc ? I am trying to do so and running
into an issue. The system container starts fine with lxc tools and am
able to connect to it.

Here is the snippet of my xml file (rest is same as in
http://libvirt.org/drvlxc.html)

 <devices>
    <emulator>/usr/libexec/libvirt_lxc</emulator>
    <filesystem type='mount'>
      <source dir='/lxc/f12'/>
      <target dir='/'/>
    </filesystem>
    <interface type='bridge'>
      <mac address='52:54:00:82:87:64'/>
      <source bridge='br0'/>
      <target dev='tap0'/>
    </interface>
    <console type='pty'>
      <target port='0'/>
    </console>
  </devices>

Am able to start the container but when I do console :

virsh # console f12lxc
Connected to domain f12lxc
Escape character is ^]
<<hangs here and I press enter, it destroys the domain>>
virsh #

Am running Fedora 12 with 2.6.32.10-90.fc12.i686. I changed target
dev='tap0' to 'veth' and no change in the behavior.

Please help.

Thanks,
Nirmal


[Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

Powered by Linux

Google
  Web www.spinics.net