kvm: libkvm: round memory to next page
commit5f5f05c643abf29928ba4432279d40fd56e4847a
authorAnthony Liguori <aliguori@us.ibm.com>
Wed, 5 Sep 2007 15:35:00 +0000 (5 10:35 -0500)
committerAvi Kivity <avi@qumranet.com>
Sun, 9 Sep 2007 11:31:25 +0000 (9 14:31 +0300)
tree943c7df4e726819990ea37bce1389490021ce099
parente2b89aa308120ca80578c8d96f97f671bea8b5c7
kvm: libkvm: round memory to next page

In general, the BIOS, VGA BIOS, and option ROMs are not required to be multiple
of page sizes.  This means that phys_ram_size may not be a multiple of page.
Address this at the kvm_create() level to make things simplier for future
callers.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
kvm/user/kvmctl.c