tools/virtio: more stubs

fix test module build.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
Michael S. Tsirkin 2019-09-26 13:43:10 -04:00
parent da0c9ea146
commit c461e8df0c
2 changed files with 2 additions and 0 deletions

View File

View File

@ -29,4 +29,6 @@ enum dma_data_direction {
#define dma_unmap_single(...) do { } while (0) #define dma_unmap_single(...) do { } while (0)
#define dma_unmap_page(...) do { } while (0) #define dma_unmap_page(...) do { } while (0)
#define dma_max_mapping_size(...) SIZE_MAX
#endif #endif