On Thu, Jun 20, 2024 at 01:22:40PM +0200, Michal Privoznik wrote: > To avoid convolution of switch() inside of virDomainSecDefFormat() even > more (as new sectypes are added), move formatting into a separate > function. > > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> > --- > src/conf/domain_conf.c | 26 +++++++++++++++----------- > 1 file changed, 15 insertions(+), 11 deletions(-) Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx> With regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|