Re: [Qemu-block] [RFC PATCH] Introduce Python module structure

2018-11-27 Thread Caio Carrara
On Tue, Nov 27, 2018 at 03:02:03PM -0500, Cleber Rosa wrote: > > > On 11/27/18 2:00 PM, Caio Carrara wrote: > > Hi, Cleber. > > > > On Tue, Nov 27, 2018 at 05:50:34AM -0500, Cleber Rosa wrote: > >> This is a simple move of Python code that wraps common QEMU > >> functionality, and are used by a

Re: [Qemu-block] [RFC PATCH] Introduce Python module structure

2018-11-27 Thread Cleber Rosa
On 11/27/18 2:49 PM, Eduardo Habkost wrote: > On Tue, Nov 27, 2018 at 05:00:07PM -0200, Caio Carrara wrote: >> Hi, Cleber. >> >> On Tue, Nov 27, 2018 at 05:50:34AM -0500, Cleber Rosa wrote: >>> This is a simple move of Python code that wraps common QEMU >>> functionality, and are used by a numbe

Re: [Qemu-block] [RFC PATCH] Introduce Python module structure

2018-11-27 Thread Cleber Rosa
On 11/27/18 2:00 PM, Caio Carrara wrote: > Hi, Cleber. > > On Tue, Nov 27, 2018 at 05:50:34AM -0500, Cleber Rosa wrote: >> This is a simple move of Python code that wraps common QEMU >> functionality, and are used by a number of different tests >> and scripts. >> >> By treating that code as a r

Re: [Qemu-block] [RFC PATCH] Introduce Python module structure

2018-11-27 Thread Eduardo Habkost
On Tue, Nov 27, 2018 at 05:00:07PM -0200, Caio Carrara wrote: > Hi, Cleber. > > On Tue, Nov 27, 2018 at 05:50:34AM -0500, Cleber Rosa wrote: > > This is a simple move of Python code that wraps common QEMU > > functionality, and are used by a number of different tests > > and scripts. > > > > By t

Re: [Qemu-block] [RFC PATCH] Introduce Python module structure

2018-11-27 Thread Caio Carrara
Hi, Cleber. On Tue, Nov 27, 2018 at 05:50:34AM -0500, Cleber Rosa wrote: > This is a simple move of Python code that wraps common QEMU > functionality, and are used by a number of different tests > and scripts. > > By treating that code as a real Python module, we can more easily, > among other t

[Qemu-block] [RFC PATCH] Introduce Python module structure

2018-11-27 Thread Cleber Rosa
This is a simple move of Python code that wraps common QEMU functionality, and are used by a number of different tests and scripts. By treating that code as a real Python module, we can more easily, among other things: * reuse more code * apply a more consistent style * add tests to that code