summaryrefslogtreecommitdiffstats
path: root/hw/core/machine.c
diff options
context:
space:
mode:
authorDavid Hildenbrand2018-06-28 13:38:17 +0200
committerCornelia Huck2018-07-02 10:37:38 +0200
commitd44444b0740680d996c979c8c3f63ab1c87f1cb1 (patch)
tree1cc22b94ae53a3be5c5bfad620edfbd5f5d55362 /hw/core/machine.c
parents390x/kvm: legacy_s390_alloc() only supports one allocation (diff)
downloadqemu-d44444b0740680d996c979c8c3f63ab1c87f1cb1.tar.gz
qemu-d44444b0740680d996c979c8c3f63ab1c87f1cb1.tar.xz
qemu-d44444b0740680d996c979c8c3f63ab1c87f1cb1.zip
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 <david@redhat.com> Message-Id: <20180628113817.30814-3-david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/core/machine.c')
0 files changed, 0 insertions, 0 deletions