[libvirt] [PATCH 09/17] conf: move chardev log parsing to separate function