[libvirt] [PATCH 02/14] conf, qemu: Use type-aware switches where possible
Pavel Hrdina
phrdina at redhat.com
Thu Nov 16 10:27:40 UTC 2017
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.
>
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
> src/conf/domain_conf.c | 47 ++++++++++++++++++++++++++++++-----------------
> src/qemu/qemu_command.c | 7 ++++++-
> 2 files changed, 36 insertions(+), 18 deletions(-)
Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- 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/1054547a/attachment-0001.sig>
More information about the libvir-list
mailing list