tools/virtio: more stubs
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 26 Sep 2019 17:43:10 +0000 (13:43 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 11 Oct 2019 13:27:27 +0000 (09:27 -0400)
fix test module build.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tools/virtio/crypto/hash.h [new file with mode: 0644]
tools/virtio/linux/dma-mapping.h

diff --git a/tools/virtio/crypto/hash.h b/tools/virtio/crypto/hash.h
new file mode 100644 (file)
index 0000000..e69de29
index f91aeb5..8f41cd6 100644 (file)
@@ -29,4 +29,6 @@ enum dma_data_direction {
 #define dma_unmap_single(...) do { } while (0)
 #define dma_unmap_page(...) do { } while (0)
 
+#define dma_max_mapping_size(...) SIZE_MAX
+
 #endif