qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/7] tests: qgraph API for the qtest driver fram


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH 1/7] tests: qgraph API for the qtest driver framework
Date: Wed, 18 Jul 2018 15:23:57 +0100
User-agent: Mutt/1.10.0 (2018-05-17)

On Wed, Jul 11, 2018 at 04:58:41PM +0200, Paolo Bonzini wrote:
> On 11/07/2018 16:28, Stefan Hajnoczi wrote:
> >> + *
> >> + * QOSGraphObject also provides a destructor, used to deallocate the
> >> + * after the test has been executed.
> >> + */
> >> +struct QOSGraphObject {
> >> +    /* for produces, returns void * */
> >> +    QOSGetDriver get_driver;
> > 
> > Unused?
> > 
> >> +    /* for contains, returns a QOSGraphObject * */
> >> +    QOSGetDevice get_device;
> > 
> > Unused?
> 
> What is unused?

Neither of these fields are used in this patch.  Please introduce them
in the first patch that actually uses them.  This way code review can
proceed linearly and it also prevents deadcode when just part of a patch
series is merged or backported.

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]