2
0

rdma.c 641 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * RDMA device interface
  3. *
  4. * Copyright (C) 2018 Oracle
  5. * Copyright (C) 2018 Red Hat Inc
  6. *
  7. * Authors:
  8. * Yuval Shaia <yuval.shaia@oracle.com>
  9. *
  10. * This work is licensed under the terms of the GNU GPL, version 2 or later.
  11. * See the COPYING file in the top-level directory.
  12. *
  13. */
  14. #include "qemu/osdep.h"
  15. #include "hw/rdma/rdma.h"
  16. #include "qemu/module.h"
  17. static const TypeInfo rdma_hmp_info = {
  18. .name = INTERFACE_RDMA_PROVIDER,
  19. .parent = TYPE_INTERFACE,
  20. .class_size = sizeof(RdmaProviderClass),
  21. };
  22. static void rdma_register_types(void)
  23. {
  24. type_register_static(&rdma_hmp_info);
  25. }
  26. type_init(rdma_register_types)