Re: [Qemu-devel] [PATCH 3/3] scripts: A script to create linux container using qemu-linux-user.

2013-01-24 Thread Alexander Graf
Am 24.01.2013 um 21:16 schrieb Laurent Vivier : > Le jeudi 24 janvier 2013 à 19:05 +0100, Alexander Graf a écrit : >> On 20.01.2013, at 00:21, Laurent Vivier wrote: > [...] >>> +create_root() { >>> +# sanity check >>> + >>> +if [ $(readlink -f ${CONTAINER_PATH}/) = "/" ] >>> +then >>

Re: [Qemu-devel] [PATCH 3/3] scripts: A script to create linux container using qemu-linux-user.

2013-01-24 Thread Laurent Vivier
Le jeudi 24 janvier 2013 à 19:05 +0100, Alexander Graf a écrit : > On 20.01.2013, at 00:21, Laurent Vivier wrote: [...] > > +create_root() { > > + # sanity check > > + > > + if [ $(readlink -f ${CONTAINER_PATH}/) = "/" ] > > + then > > + echo "ERROR: invalid path ${CONTAINER_PATH}"

Re: [Qemu-devel] [PATCH 3/3] scripts: A script to create linux container using qemu-linux-user.

2013-01-24 Thread Alexander Graf
On 20.01.2013, at 00:21, Laurent Vivier wrote: > sudo qemu-create-lxc.sh > > This script mixes linux container, binfmt and qemu to create hybrid linux > container : container on an host kernel. > > It will create "light" emulated virtual machine with several steps : > - create a linux-user qe

[Qemu-devel] [PATCH 3/3] scripts: A script to create linux container using qemu-linux-user.

2013-01-19 Thread Laurent Vivier
sudo qemu-create-lxc.sh This script mixes linux container, binfmt and qemu to create hybrid linux container : container on an host kernel. It will create "light" emulated virtual machine with several steps : - create a linux-user qemu- - define it as the binfmt interpreter (using qemu-update-bi