[libvirt] [PATCH 02/14] conf, qemu: Use type-aware switches where possible

Pavel Hrdina phrdina at redhat.com
Thu Nov 16 13:19:30 UTC 2017


On Thu, Nov 16, 2017 at 01:01:57PM +0100, Andrea Bolognani wrote:
> On Thu, 2017-11-16 at 11:27 +0100, Pavel Hrdina wrote:
> > On Wed, Nov 15, 2017 at 12:50:05PM +0100, Andrea Bolognani wrote:
> > > The compiler can warn us if we add a value to the
> > > virDomainChrSerialTargetType enumeration but forget to handle
> > > it properly in the code. Let's take advantage of that.
> > > 
> > > This commit is best viewed with 'git diff -w'.
> > 
> > This sentence should be placed under "---" as a note and not part of
> > the commit message.
> 
> I thought that hint could be useful to people looking at the commit
> a few years down the line just as it's useful to the reviewer right
> now, but I can leave it out if you prefer :)

I'm used to putting it as note, but on the other hand it might be
useful to keep it in commit message.  Feel free to leave it there :).

Pavel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20171116/73199a76/attachment-0001.sig>


More information about the libvir-list mailing list