Yep, I've struck the original bug. Create a basic qemu VM, which runs fine....
qemu-img create -f qcow2 /VMs/p2.img 4G Feed it some CD ROM to install qemu -cdrom /VMs/Downloads/some.iso -m 512 -boot d /VMs/p2.img Then start it normally without a cd qemu -m 512 -boot d /VMs/p2.img Put the args above in a file and create a domain xml file from arguments.... virsh domxml-from-native qemu-argv p2.args > p2.xml (d-f-n creates valid xml, but are all the parameters correct?) Suck the xml in virsh define p2.xml Start the vm Get the original error above. virsh # version Compiled against library: libvirt 1.0.2 Using library: libvirt 1.0.2 Using API: QEMU 1.0.2 Running hypervisor: QEMU 1.4.0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/799997 Title: error happen when using virsh to start a vm " internal error cannot generate AppArmor profile" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/799997/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs