[libvirt] [test-API PATCH 4/4] change the type of optional_params from list to dictionary