]> git.proxmox.com Git - mirror_qemu.git/commit
exec: remove warning about mempath and hugetlbfs
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 25 Nov 2015 10:52:29 +0000 (10:52 +0000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 26 Nov 2015 15:47:44 +0000 (16:47 +0100)
commitbfc2a1a1f41c2861b20e8318c0541d0823427802
tree9b1c2479c32c1cd3e658ce98d5fb940b39150f89
parent2c189a4e12a37b1c7cae2a2643c378c5af8f67fc
exec: remove warning about mempath and hugetlbfs

The gethugepagesize() method in exec.c printed a warning if
the file path for "-mem-path" or "-object memory-backend-file"
was not on a hugetlbfs filesystem. This warning is bogus, because
QEMU functions perfectly well with the path on a regular tmpfs
filesystem. Use of hugetlbfs vs tmpfs is a choice for the management
application or end user to make as best fits their needs. As such it
is inappropriate for QEMU to have an opinion on whether the user's
choice is right or wrong in this case.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1448448749-1332-3-git-send-email-berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
exec.c