On Tue, 08/22 11:23, Philippe Mathieu-Daudé wrote:
> On 08/22/2017 11:00 AM, Fam Zheng wrote:
> > On Tue, 08/22 08:19, Philippe Mathieu-Daudé wrote:
> > > > +def add_source_dir(self, data_dir):
> > > > +name = "data-" + hashlib.sha1(data_dir).hexdigest()[:5]
> > > > +tarfile = o
On 08/22/2017 11:00 AM, Fam Zheng wrote:
On Tue, 08/22 08:19, Philippe Mathieu-Daudé wrote:
+def add_source_dir(self, data_dir):
+name = "data-" + hashlib.sha1(data_dir).hexdigest()[:5]
+tarfile = os.path.join(self._tmpdir, name + ".tar")
+logging.debug("Creating arch
On Tue, 08/22 08:19, Philippe Mathieu-Daudé wrote:
> > +def add_source_dir(self, data_dir):
> > +name = "data-" + hashlib.sha1(data_dir).hexdigest()[:5]
> > +tarfile = os.path.join(self._tmpdir, name + ".tar")
> > +logging.debug("Creating archive %s for data dir: %s", ta
On 22.08.2017 13:19, Philippe Mathieu-Daudé wrote:
> Hi Fam,
>
> On 08/22/2017 01:41 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.
>>
>>2) Arch
Hi Fam,
On 08/22/2017 01:41 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.
2) Archive $SRC_PATH to a .tar file.
3) Boot the VM, and pass the source t
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