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

2017-09-01 Thread Kamil Rytarowski
On 01.09.2017 11:21, Daniel P. Berrange wrote: > On Fri, Sep 01, 2017 at 04:39:38PM +0800, Fam Zheng wrote: >> On Thu, 08/31 12:59, Philippe Mathieu-Daudé wrote: >>> Hi Fam, >>> >>> On 08/31/2017 03:42 AM, Fam Zheng wrote: This is the common code to implement a "VM test" to 1) Dow

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

2017-09-01 Thread Daniel P. Berrange
On Fri, Sep 01, 2017 at 04:39:38PM +0800, Fam Zheng wrote: > On Thu, 08/31 12:59, Philippe Mathieu-Daudé wrote: > > Hi Fam, > > > > On 08/31/2017 03:42 AM, Fam Zheng wrote: > > > This is the common code to implement a "VM test" to > > > > > >1) Download and initialize a pre-defined VM that ha

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

2017-09-01 Thread Fam Zheng
On Thu, 08/31 12:59, Philippe Mathieu-Daudé wrote: > Hi Fam, > > On 08/31/2017 03:42 AM, Fam Zheng wrote: > > 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. > > Lookin

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

2017-08-31 Thread Philippe Mathieu-Daudé
Hi Fam, On 08/31/2017 03:42 AM, Fam Zheng wrote: 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. Looking at this project: https://www.packer.io/docs/builders/qemu.html Maybe w

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

2017-08-30 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