Re: [libvirt] [PATCH 03/16] conf: Ensure that new devices are added to conf copy function

2013-02-20 Thread Eric Blake
On 02/20/2013 10:06 AM, Peter Krempa wrote: Use the correct type and get rid of default label in switch to make the compiler complain if a new device type is added. --- src/conf/domain_conf.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) ACK. -- Eric Blake eblake redhat

[libvirt] [PATCH 03/16] conf: Ensure that new devices are added to conf copy function

2013-02-20 Thread Peter Krempa
Use the correct type and get rid of default label in switch to make the compiler complain if a new device type is added. --- src/conf/domain_conf.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index bd1ea25..218a28b