pr-manager: add query-pr-managers QMP command

This command lets you query the connection status of each pr-manager-helper
object.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2018-02-28 18:47:57 +01:00
parent 58b3017f7f
commit 5f64089416
5 changed files with 94 additions and 0 deletions

View file

@ -22,3 +22,9 @@ PRManager *pr_manager_lookup(const char *id, Error **errp)
error_setg(errp, "No persistent reservation manager with id '%s'", id);
return NULL;
}
PRManagerInfoList *qmp_query_pr_managers(Error **errp)
{
return NULL;
}