]> xenbits.xensource.com Git - libvirt.git/commit
Cleanup switch statements on the hostdev subsystem type
authorEric Farman <farman@linux.vnet.ibm.com>
Tue, 8 Nov 2016 18:26:23 +0000 (13:26 -0500)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 11 Nov 2016 21:58:56 +0000 (16:58 -0500)
commit85b0721095d4149285d7f1ab248c168aeb7239a9
treec91a255ccb1b80e050da0bc24f5a6d5b2c4719d7
parent7b8e1dff1af5146db50c78b5b6912aba6f8ea52b
Cleanup switch statements on the hostdev subsystem type

As was suggested in an earlier review comment[1], we can
catch some additional code points by cleaning up how we use the
hostdev subsystem type in some switch statements.

[1] End of https://www.redhat.com/archives/libvir-list/2016-September/msg00399.html

Signed-off-by: Eric Farman <farman@linux.vnet.ibm.com>
Signed-off-by: John Ferlan <jferlan@redhat.com>
src/conf/domain_conf.c
src/qemu/qemu_cgroup.c
src/security/security_apparmor.c
src/security/security_selinux.c