aboutsummaryrefslogtreecommitdiff
path: root/include/standard-headers/linux/if_ether.h
diff options
context:
space:
mode:
authorPeter Krempa <pkrempa@redhat.com>2015-01-29 14:48:41 +0100
committerMichael S. Tsirkin <mst@redhat.com>2015-02-26 12:42:19 +0100
commitf2c385220598523c8b9fefbfff1a6754cfd8232a (patch)
tree8f169ad4e8ee06d2e5e1437231fea6d88b10f3f3 /include/standard-headers/linux/if_ether.h
parent214224adb4ebc9f3d211b867f588413e13f05bb3 (diff)
downloadqemu-f2c385220598523c8b9fefbfff1a6754cfd8232a.zip
qemu-f2c385220598523c8b9fefbfff1a6754cfd8232a.tar.gz
qemu-f2c385220598523c8b9fefbfff1a6754cfd8232a.tar.bz2
pc: memory: Validate alignment of maxram_size to page size
If the maxram_size is not aligned and dimm devices were added on the command line qemu would terminate with a rather unhelpful message: ERROR:hw/mem/pc-dimm.c:150:pc_dimm_get_free_addr: assertion failed: (QEMU_ALIGN_UP(address_space_size, align) == address_space_size) In case no dimm device was originally added on the commandline qemu exits on the assertion failure. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/standard-headers/linux/if_ether.h')
0 files changed, 0 insertions, 0 deletions