diff options
| author | Michael S. Tsirkin | 2015-02-17 10:15:30 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2015-02-26 12:42:20 +0100 |
| commit | 129ddaf31be583fb7c97812e07e028661005ce42 (patch) | |
| tree | c091d71b346ab2713fa525eee2271ece3fd09cb9 /include | |
| parent | pc: acpi-build: migrate RSDP table (diff) | |
| download | qemu-129ddaf31be583fb7c97812e07e028661005ce42.tar.gz qemu-129ddaf31be583fb7c97812e07e028661005ce42.tar.xz qemu-129ddaf31be583fb7c97812e07e028661005ce42.zip | |
exec: round up size on MR resize
Block size must fundamentally be a multiple of target page size.
Aligning automatically removes need to worry about the alignment
from callers.
Note: the only caller of qemu_ram_resize (acpi) already happens to have
size padded to a power of 2, but we would like to drop the padding in
ACPI core, and don't want to expose target page size knowledge to ACPI.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Paolo Bonzini <ponzini@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
