[libvirt] [PATCH 04/17] conf: switch from while to for loop for chardev parsing