Linux Kernel
3.7.1
|
#include <getopt.h>
#include <string.h>
#include <poll.h>
#include <sys/eventfd.h>
#include <stdlib.h>
#include <assert.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
#include <linux/vhost.h>
#include <linux/virtio.h>
#include <linux/virtio_ring.h>
#include "../../drivers/vhost/test.h"
Go to the source code of this file.
Data Structures | |
struct | vq_info |
struct | vdev_info |
Macros | |
#define | _GNU_SOURCE |
Functions | |
void | vq_notify (struct virtqueue *vq) |
void | vq_callback (struct virtqueue *vq) |
void | vhost_vq_setup (struct vdev_info *dev, struct vq_info *info) |
int | main (int argc, char **argv) |
Variables | |
const char | optstring [] = "h" |
struct option | longopts [] |
#define _GNU_SOURCE |
Definition at line 1 of file virtio_test.c.
Definition at line 244 of file virtio_test.c.
Definition at line 54 of file virtio_test.c.
Definition at line 49 of file virtio_test.c.
Definition at line 40 of file virtio_test.c.
Definition at line 202 of file virtio_test.c.
Definition at line 201 of file virtio_test.c.