[libvirt] [PATCH v2 1/4] conf: Move boot parsing into a separate function