tools/virtio: add dma stubs

Fixes build after recent IOMMU-related changes,
mustly by adding more stubs.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
Michael S. Tsirkin
2016-08-15 04:50:55 +03:00
parent 446374d7c7
commit 6be3ffaa0e
5 changed files with 52 additions and 1 deletions

View File

@@ -3,8 +3,12 @@
#include <linux/scatterlist.h>
#include <linux/kernel.h>
struct device {
void *parent;
};
struct virtio_device {
void *dev;
struct device dev;
u64 features;
};