cachepc-qemu

Fork of AMDESE/qemu with changes for cachepc side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-qemu
Log | Files | Refs | Submodules | LICENSE | sfeed.txt

rdma.h (836B)


      1/*
      2 * RDMA device interface
      3 *
      4 * Copyright (C) 2019 Oracle
      5 * Copyright (C) 2019 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#ifndef RDMA_H
     16#define RDMA_H
     17
     18#include "qom/object.h"
     19
     20#define INTERFACE_RDMA_PROVIDER "rdma"
     21
     22typedef struct RdmaProviderClass RdmaProviderClass;
     23DECLARE_CLASS_CHECKERS(RdmaProviderClass, RDMA_PROVIDER,
     24                       INTERFACE_RDMA_PROVIDER)
     25#define RDMA_PROVIDER(obj) \
     26    INTERFACE_CHECK(RdmaProvider, (obj), \
     27                    INTERFACE_RDMA_PROVIDER)
     28
     29typedef struct RdmaProvider RdmaProvider;
     30
     31struct RdmaProviderClass {
     32    InterfaceClass parent;
     33
     34    void (*print_statistics)(Monitor *mon, RdmaProvider *obj);
     35};
     36
     37#endif