s390x: remove direct reference to mem_path global from s390x code
commitf6b51efa198d69a9b624a4ccaf8574e892aab78f
authorIgor Mammedov <imammedo@redhat.com>
Wed, 30 Jan 2019 07:55:06 +0000 (30 08:55 +0100)
committerCornelia Huck <cohuck@redhat.com>
Mon, 4 Feb 2019 12:47:50 +0000 (4 13:47 +0100)
tree1ad1eb21cafb7ea198e721bc2a5603bc8fa16896
parent843caef2ef1fd524de66a035b88a9153350ad392
s390x: remove direct reference to mem_path global from s390x code

I plan to deprecate -mem-path option and replace it with memory-backend,
for that it's necessary to get rid of mem_path global variable.
Do it for s390x case, replacing it with alternative way to enable
1Mb hugepages capability.

Todo that replace qemu_mempath_getpagesize() with qemu_getrampagesize()
which also checks for -mem-path provided RAM.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <1548834906-133241-1-git-send-email-imammedo@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
target/s390x/kvm.c