diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2015-06-29 19:53:15 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2015-10-24 18:03:16 +0200 |
commit | 1e21feb6280222a230fda1d87318ab58adde188f (patch) | |
tree | 12af6581ff4e6cdec6104a4c623c13b32215210a /contrib/ivshmem-server/ivshmem-server.h | |
parent | 022cffe31360750b405d368e343f3ca5febc0d0a (diff) | |
download | qemu-1e21feb6280222a230fda1d87318ab58adde188f.zip qemu-1e21feb6280222a230fda1d87318ab58adde188f.tar.gz qemu-1e21feb6280222a230fda1d87318ab58adde188f.tar.bz2 |
ivshmem-server: fix hugetlbfs support
As pointed out on the ML by Andrew Jones, glibc no longer permits
creating POSIX shm on hugetlbfs directly. When given a hugetlbfs path,
create a shareable file there.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Diffstat (limited to 'contrib/ivshmem-server/ivshmem-server.h')
-rw-r--r-- | contrib/ivshmem-server/ivshmem-server.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/ivshmem-server/ivshmem-server.h b/contrib/ivshmem-server/ivshmem-server.h index 83c751c..8261e86 100644 --- a/contrib/ivshmem-server/ivshmem-server.h +++ b/contrib/ivshmem-server/ivshmem-server.h @@ -82,8 +82,7 @@ typedef struct IvshmemServer { * @server: A pointer to an uninitialized IvshmemServer structure * @unix_sock_path: The pointer to the unix socket file name * @shm_path: Path to the shared memory. The path corresponds to a POSIX - * shm name. To use a real file, for instance in a hugetlbfs, - * it is possible to use /../../abspath/to/file. + * shm name or a hugetlbfs mount point. * @shm_size: Size of shared memory * @n_vectors: Number of interrupt vectors per client * @verbose: True to enable verbose mode |