search for: max_data_size

Displaying 2 results from an estimated 2 matches for "max_data_size".

2019 Apr 29
1
[RFC-PATCH] Introducing virtio-example.
...p */ +#include <linux/dma-mapping.h> /* DMA */ +#include <linux/kernel.h> /* kstrtoint() func */ +#include <linux/virtio_config.h> /* find_single_vq() func */ + + +#define VIRTIO_ID_EXAMPLE 21 +/* big enough to contain a string representing an integer */ +#define MAX_DATA_SIZE 20 + +struct virtexample_info { + struct virtqueue *vq; + /* + * in - the data we get from the device + * out - the data we send to the device + */ + int in, out; +}; + + + +//----------------------------------------------------------------------------- +// sysfs...
2019 Apr 04
1
Proof of concept for GPU forwarding for Linux guest on Linux host.
Hi, This is a proof of concept of GPU forwarding for Linux guest on Linux host. I'd like to get comments and suggestions from community before I put more time on it. To summarize what it is: 1. It's a solution to bring GPU acceleration for Linux vm guest on Linux host. It could works with different GPU although the current proof of concept only works with Intel GPU. 2. The basic idea