Hi:<div>I downloaded a cirros-0.3.0-x86_64-rootfs.img and mount it to /tmp/bak</div><div>then I edit a xml file ,here is the content:</div><div><br></div><div><domain type='lxc'></div><div>  <name>vm1</name></div><div>  <memory>500000</memory></div><div>  <os></div><div>    <type>exe</type></div><div>    <init>/bin/sh</init></div><div>  </os></div><div>  <vcpu>1</vcpu></div><div>  <clock offset='utc'/></div><div>  <on_poweroff>destroy</on_poweroff></div><div>  <on_reboot>restart</on_reboot></div><div>  <on_crash>destroy</on_crash></div><div>  <devices></div><div>    <emulator>/usr/libexec/libvirt_lxc</emulator></div><div>    <filesystem type='mount'></div><div>      <source dir='/tmp/bak'/></div><div>      <target dir='/'/></div><div>    </filesystem></div><div>    <interface type='network'></div><div>      <source network='default'/></div><div>    </interface></div><div>    <console type='pty' /></div><div>  </devices></div><div></domain></div><div><br></div><div>I defined it and no error , but when I start it , it comes with </div><div><div>error: Failed to start domain vm1</div><div>error: internal error guest failed to start: 2012-10-24 13:08:14.684+0000: 16935: info : libvirt version: 0.9.10, package: 21.el6_3.4 (CentOS BuildSystem <http://bugs.centos.org>, 2012-08-23-18:28:26, c6b9.bsys.dev.centos.org)</div><div>2012-10-24 13:08:14.684+0000: 16935: error : lxcControllerRun:1484 : Failed to query file context on /tmp/bak: No data available</div></div><div><br></div><div>here is the ls -al /tmp/bak</div><div><div>total 92</div><div>drwxr-xr-x  21 root root 4096 Oct 24 20:43 .</div><div>drwxrwxrwt.  5 root root 4096 Oct 24 21:08 ..</div><div>drwxr-xr-x   2 root root 4096 Oct 24 20:43 bin</div><div>drwxr-xr-x   3 root root 4096 Oct 24 20:43 boot</div><div>drwxr-xr-x   3 root root 4096 Oct 24 20:43 dev</div><div>drwxr-xr-x   7 root root 4096 Oct 24 20:43 etc</div><div>drwxr-xr-x   4 root root 4096 Oct 24 20:43 home</div><div>-rwxr-xr-x   1 root root 2785 Oct 24 20:43 init</div><div>lrwxrwxrwx   1 root root   32 Oct 24 20:43 initrd.img -> boot/initrd.img-3.0.0-12-virtual</div><div>drwxr-xr-x   4 root root 4096 Oct 24 20:43 lib</div><div>lrwxrwxrwx   1 root root   11 Oct 24 20:43 linuxrc -> bin/busybox</div><div>drwx------   2 root root 4096 Oct 24 20:43 lost+found</div><div>drwxr-xr-x   2 root root 4096 Oct 24 20:43 mnt</div><div>drwxr-xr-x   2 root root 4096 Oct 24 20:43 .oldroot</div><div>drwxr-xr-x   2 root root 4096 Oct 24 20:43 old-root</div><div>drwxr-xr-x   2 root root 4096 Oct 24 20:43 opt</div><div>drwxr-xr-x   2 root root 4096 Oct 24 20:43 proc</div><div>drwx------   2 root root 4096 Oct 24 20:43 root</div><div>drwxr-xr-x   2 root root 4096 Oct 24 20:43 run</div><div>drwxr-xr-x   2 root root 4096 Oct 24 20:43 sbin</div><div>drwxr-xr-x   2 root root 4096 Oct 24 20:43 sys</div><div>drwxr-xr-t   3 root root 4096 Oct 24 20:43 tmp</div><div>drwxr-xr-x   6 root root 4096 Oct 24 20:43 usr</div><div>drwxr-xr-x   8 root root 4096 Oct 24 20:43 var</div><div>lrwxrwxrwx   1 root root   29 Oct 24 20:43 vmlinuz -> boot/vmlinuz-3.0.0-12-virtual</div></div><div><br></div><div>How can I  solve this problem? </div><div><br></div><div>Thanks :-)</div>