2
0

pr-manager-stub.c 661 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Persistent reservation manager - stub for non-Linux platforms
  3. *
  4. * Copyright (c) 2018 Red Hat, Inc.
  5. *
  6. * Author: Paolo Bonzini <pbonzini@redhat.com>
  7. *
  8. * This code is licensed under the LGPL.
  9. *
  10. */
  11. #include "qemu/osdep.h"
  12. #include "qapi/error.h"
  13. #include "scsi/pr-manager.h"
  14. #include "trace.h"
  15. #include "qapi/qapi-types-block.h"
  16. #include "qapi/qapi-commands-block.h"
  17. PRManager *pr_manager_lookup(const char *id, Error **errp)
  18. {
  19. /* The classes do not exist at all! */
  20. error_setg(errp, "No persistent reservation manager with id '%s'", id);
  21. return NULL;
  22. }
  23. PRManagerInfoList *qmp_query_pr_managers(Error **errp)
  24. {
  25. return NULL;
  26. }