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

Andrea Bolognani abologna at redhat.com
Thu Nov 16 12:01:57 UTC 2017


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 :)

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list