qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2 2/2] hw: vmmouse: drop DEFINE_PROP_PTR()


From: Darren Kenny
Subject: Re: [Qemu-devel] [PATCH v2 2/2] hw: vmmouse: drop DEFINE_PROP_PTR()
Date: Tue, 27 Nov 2018 16:57:35 +0000
User-agent: NeoMutt/20180716

On Tue, Nov 27, 2018 at 01:38:35PM +0100, Markus Armbruster wrote:
Darren Kenny <address@hidden> writes:

Hi Li Qiang,

This is only a suggestion, I'm sure someone else might also correct
me, but I'm not sure the subject above really describes what is
happening in the commit as a whole.

It seems to miss the point that the main change here is to use a
link type property, so maybe it might be better written as something
along the lines of:

 Subject: [PATCH v2 2/2] hw: vmmouse: use link property instead of pointer
 Drop DEFINE_PROP_PTR() and replace with a link pointer via an
 instance init function (vmmouse_instance_initfn).

Yes, that's better.  Or take inspiration from recent similar work, such
as commit a8299ec1b24, and say something like

   vmmouse: Use link instead of pointer property

   According to qdev-properties.h, properties of pointer type should
   be avoided.  Turn "ps2_mouse" into a link.

Preferably with the commit message improved along these lines:
Reviewed-by: Markus Armbruster <address@hidden>

[...]


With something like that,

Reviewed-by: Darren Kenny <address@hidden>

Thanks,

Darren.



reply via email to

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