aboutsummaryrefslogtreecommitdiff
path: root/scsi/pr-manager-stub.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2018-02-28 18:47:57 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2018-06-28 19:05:35 +0200
commit5f64089416f0d77c87683401838f064c51a292ed (patch)
tree86fa253ee60b461df86c18121399139646ad9be0 /scsi/pr-manager-stub.c
parent58b3017f7fba15e8c440115dfd5d380f490d0b61 (diff)
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>
Diffstat (limited to 'scsi/pr-manager-stub.c')
-rw-r--r--scsi/pr-manager-stub.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/scsi/pr-manager-stub.c b/scsi/pr-manager-stub.c
index 632f17c7f9..738b6d7425 100644
--- a/scsi/pr-manager-stub.c
+++ b/scsi/pr-manager-stub.c
@@ -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;
+}