PPC: Round VGA BIOS size to page boundary
authorAlexander Graf <agraf@suse.de>
Sun, 26 Jul 2009 06:31:15 +0000 (06:31 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 26 Jul 2009 06:31:15 +0000 (06:31 +0000)
commita7b022e083a1ef03a72b8c5bd253a3c66cc4214a
tree56395ee6ab53077acb0a93edf591fcae0b2986ea
parentaea867478ccfec4b7070d6b9ec11bd25de56625e
PPC: Round VGA BIOS size to page boundary

When giving KVM a slot of a size not on page boundary, it chokes. So let's
just round up the VGA BIOS size so nobody complains anymore and we don't need
to implement sub-page slots.

Required for booting a PPC guest in KVM.

Signed-off-by: Alexander Graf <agraf@suse.de>
hw/ppc_newworld.c
hw/ppc_oldworld.c