Alexander Graf <ag...@suse.de> wrote on 2014/07/14 18:34:34: > > > On 14.07.14 18:32, Joakim Tjernlund wrote: > > Alexander Graf <ag...@suse.de> wrote on 2014/07/14 18:00:35: > > You think everyone feel OK with new defaults like OP ? > >> Yes. > > hmm, with current qemu it works to boot a LXC with just O flag. > > Why would we then want to complicate things by adding OP which > > then requires some version of my patch? > > How does current QEMU boot anything with the 0 flag? It doesn't know how
> to handle it and will misinterpret the argument, no? my ppc gentoo LXC container boots just fine, why I don't know. I see a difference though: with just O: root 1 0.1 0.0 4138016 5736 ? Ss 18:37 0:00 /usr/bin/qemu-ppc-binfmt-wrapper /sbin/init root 79 0.0 0.0 4138016 5792 ? Ss 18:37 0:00 /usr/bin/qemu-ppc-binfmt-wrapper /usr/sbin/sshd root 293 0.0 0.0 4137952 4072 ? Ss 18:37 0:00 /usr/bin/qemu-ppc-binfmt-wrapper /bin/busybox u root 334 0.3 0.0 4138016 5964 tty1 Ss+ 18:37 0:00 /usr/bin/qemu-ppc-binfmt-wrapper /sbin/agetty 3 root 335 3.0 0.0 4138048 7068 console Ss 18:37 0:00 /usr/bin/qemu-ppc-binfmt-wrapper /bin/login -- root 336 3.6 0.0 4138016 8916 console S 18:37 0:00 /usr/bin/qemu-ppc-binfmt-wrapper /bin/bash root 340 0.0 0.0 4138016 6340 ? R+ Jul10 0:00 /bin/ps uax vs. with OP: root 1 0.2 0.0 4138016 5748 ? Ss 18:40 0:00 /usr/bin/qemu-ppc-binfmt-wrapper /sbin/init /sb root 79 0.0 0.0 4137984 5792 ? Ss 18:41 0:00 /usr/bin/qemu-ppc-binfmt-wrapper /usr/sbin/sshd root 293 0.0 0.0 4137984 4064 ? Ss 18:41 0:00 /usr/bin/qemu-ppc-binfmt-wrapper /bin/busybox / root 334 0.2 0.0 4138016 7664 tty1 Ss+ 18:41 0:00 /usr/bin/qemu-ppc-binfmt-wrapper /sbin/agetty / root 335 2.1 0.0 4138048 8512 console Ss 18:41 0:00 /usr/bin/qemu-ppc-binfmt-wrapper /bin/login /bi root 336 3.6 0.0 4138016 7932 console S 18:41 0:00 /usr/bin/qemu-ppc-binfmt-wrapper /bin/bash -bas root 340 0.0 0.0 4138016 8384 ? R+ Jul10 0:00 /bin/ps ps uax So the argv is different but the small gentoo image survies that, just by chance I suppose :) Jocke