This adds support for the provider queries and events. Signed-off-by: Dave Airlie <airlied@redhat.com>