]> xenbits.xensource.com Git - libvirt.git/commit
conf: Rework virDomainDeviceDefParse
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 11 Jul 2013 10:18:36 +0000 (12:18 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 11 Jul 2013 14:19:00 +0000 (16:19 +0200)
commit38f151fe9b2e3f235fa8537b06f21ee7d42aed72
treed5fa5177a89141810d3d49a2c197a570f194c3da
parentb63ea467617e3cbee4282ab2e5e780b4119cef3d
conf: Rework virDomainDeviceDefParse

When adding a new domain device, it is fairly easy to forget to add
corresponding piece into virDomainDeviceDefParse. However, if the
internal structure is changed to one bit switch() the compiler will warn
about not handled enum item.
src/conf/domain_conf.c