rdma.c (641B)
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 15#include "qemu/osdep.h" 16#include "hw/rdma/rdma.h" 17#include "qemu/module.h" 18 19static const TypeInfo rdma_hmp_info = { 20 .name = INTERFACE_RDMA_PROVIDER, 21 .parent = TYPE_INTERFACE, 22 .class_size = sizeof(RdmaProviderClass), 23}; 24 25static void rdma_register_types(void) 26{ 27 type_register_static(&rdma_hmp_info); 28} 29 30type_init(rdma_register_types)