travis.yml: Move gprof/gcov test across to gitlab
[qemu/ar7.git] / include / hw / virtio / vhost-vdpa.h
blob9b81a409da89f1c67252aa2e816f088a24a7c367
1 /*
2 * vhost-vdpa.h
4 * Copyright(c) 2017-2018 Intel Corporation.
5 * Copyright(c) 2020 Red Hat, Inc.
7 * This work is licensed under the terms of the GNU GPL, version 2 or later.
8 * See the COPYING file in the top-level directory.
12 #ifndef HW_VIRTIO_VHOST_VDPA_H
13 #define HW_VIRTIO_VHOST_VDPA_H
15 #include "hw/virtio/virtio.h"
17 typedef struct vhost_vdpa {
18 int device_fd;
19 uint32_t msg_type;
20 MemoryListener listener;
21 struct vhost_dev *dev;
22 } VhostVDPA;
24 extern AddressSpace address_space_memory;
25 extern int vhost_vdpa_get_device_id(struct vhost_dev *dev,
26 uint32_t *device_id);
27 #endif