Skip to content

Commit

Permalink
tools/virtio: more stubs
Browse files Browse the repository at this point in the history
fix test module build.

Signed-off-by: Michael S. Tsirkin <[email protected]>
  • Loading branch information
mstsirkin committed Oct 11, 2019
1 parent da0c9ea commit c461e8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Empty file added tools/virtio/crypto/hash.h
Empty file.
2 changes: 2 additions & 0 deletions tools/virtio/linux/dma-mapping.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit c461e8d

Please sign in to comment.