diff options
author | Haiyang Tan <haiyang.tan.dev@gmail.com> | 2018-01-20 04:48:53 -0500 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-02-05 12:13:35 +0000 |
commit | 7b0933a97d8830e288ab3e350b07656196599847 (patch) | |
tree | b0143a79afbf9f704df6bb14194650eaf35dd1e3 /src/vnet/ip | |
parent | 56e6f095e35799cb1fe2080f5242e3d9876baa22 (diff) |
vhost_user: code cleanup
1. Replace the magic number '-1' with MAP_FAILED
2. On x86 platform, QEMU uses vhostuser required the memory back-end is file based,
the file could be tmpfs(4K page size) or hugetlbfs(2M or 1G page size)
Change-Id: If1818cb6833728d641f68e4d4a3bc645e70f2ee6
Signed-off-by: Haiyang Tan <haiyang.tan.dev@gmail.com>
Diffstat (limited to 'src/vnet/ip')
0 files changed, 0 insertions, 0 deletions