Re: [Qemu-devel] [PATCH v6 04/12] tests: Add vm test lib

2017-09-11 Thread Fam Zheng
On Mon, 09/11 11:44, Alex Bennée wrote: > > Fam Zheng writes: > > > On Fri, 09/08 16:22, Alex Bennée wrote: > >> > >> Fam Zheng writes: > >> > >> > This is the common code to implement a "VM test" to > >> > > >> > 1) Download and initialize a pre-defined VM that has necessary > >> > depende

Re: [Qemu-devel] [PATCH v6 04/12] tests: Add vm test lib

2017-09-11 Thread Alex Bennée
Fam Zheng writes: > On Fri, 09/08 16:22, Alex Bennée wrote: >> >> Fam Zheng writes: >> >> > This is the common code to implement a "VM test" to >> > >> > 1) Download and initialize a pre-defined VM that has necessary >> > dependencies to build QEMU and SSH access. >> > >> > 2) Archive $SR

Re: [Qemu-devel] [PATCH v6 04/12] tests: Add vm test lib

2017-09-08 Thread Fam Zheng
On Fri, 09/08 22:25, Philippe Mathieu-Daudé wrote: > Hi Fam, Alex, > > > > > > > If this fails it's fairly cryptic: > > > > > > /home/alex/lsrc/qemu/qemu.git/tests/vm/openbsd --debug --image > > > "tests/vm/openbsd.img" --build-qemu /home/alex/lsrc/qemu/qemu.git > > > DEBUG:root:Creating arc

Re: [Qemu-devel] [PATCH v6 04/12] tests: Add vm test lib

2017-09-08 Thread Philippe Mathieu-Daudé
Hi Fam, Alex, If this fails it's fairly cryptic: /home/alex/lsrc/qemu/qemu.git/tests/vm/openbsd --debug --image "tests/vm/openbsd.img" --build-qemu /home/alex/lsrc/qemu/qemu.git DEBUG:root:Creating archive ./vm-test-fxejnB.tmp/data-2de24.tar for src_dir dir: /home/alex/lsrc/qemu/qemu.git

Re: [Qemu-devel] [PATCH v6 04/12] tests: Add vm test lib

2017-09-08 Thread Fam Zheng
On Fri, 09/08 16:22, Alex Bennée wrote: > > Fam Zheng writes: > > > This is the common code to implement a "VM test" to > > > > 1) Download and initialize a pre-defined VM that has necessary > > dependencies to build QEMU and SSH access. > > > > 2) Archive $SRC_PATH to a .tar file. > > > >

Re: [Qemu-devel] [PATCH v6 04/12] tests: Add vm test lib

2017-09-08 Thread Alex Bennée
Fam Zheng writes: > This is the common code to implement a "VM test" to > > 1) Download and initialize a pre-defined VM that has necessary > dependencies to build QEMU and SSH access. > > 2) Archive $SRC_PATH to a .tar file. > > 3) Boot the VM, and pass the source tar file to the guest.

[Qemu-devel] [PATCH v6 04/12] tests: Add vm test lib

2017-09-04 Thread Fam Zheng
This is the common code to implement a "VM test" to 1) Download and initialize a pre-defined VM that has necessary dependencies to build QEMU and SSH access. 2) Archive $SRC_PATH to a .tar file. 3) Boot the VM, and pass the source tar file to the guest. 4) SSH into the VM, untar the s