]> Git Repo - qemu.git/commit
s390x/kvm: indicate alignment in legacy_s390_alloc()
authorDavid Hildenbrand <[email protected]>
Thu, 28 Jun 2018 11:38:17 +0000 (13:38 +0200)
committerCornelia Huck <[email protected]>
Mon, 2 Jul 2018 08:37:38 +0000 (10:37 +0200)
commitd44444b0740680d996c979c8c3f63ab1c87f1cb1
tree1cc22b94ae53a3be5c5bfad620edfbd5f5d55362
parent8151942151fe1cbf072414d8822b80b00abfbf42
s390x/kvm: indicate alignment in legacy_s390_alloc()

Let's do this for completeness reason, although we don't support e.g.
PCDIMM/NVDIMM, which would use the alignment for placing the memory
region in guest physical memory. But maybe someday we would want to
support something like this - then we don't forget about this if
allowing multiple allocations in legacy_s390_alloc().

Use the same alignment as we would set in qemu_anon_ram_alloc(). Our
fixed address satisfies this alignment (1MB). This implicitly sets the
alignment of the underlying memory region.

Signed-off-by: David Hildenbrand <[email protected]>
Message-Id: <20180628113817[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
target/s390x/kvm.c
This page took 0.029365 seconds and 4 git commands to generate.