[libvirt] [PATCH v3 1/2] util: Functions for getting/setting device options