[libvirt] [PATCH 01/23] Slightly refactor hostdev parsing / formating