qemu: warn if PCI region is not power of two (Marcelo Tosatti)
commita4c20c6a542da310eaa6930c2965845614808809
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 11 Feb 2009 15:21:16 +0000 (11 15:21 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 11 Feb 2009 15:21:16 +0000 (11 15:21 +0000)
tree782662e81703b98ea3644ed9cb43e68b34392655
parent5851e08cb8df5c9d0c69fb5259ee6174ee651fae
qemu: warn if PCI region is not power of two (Marcelo Tosatti)

Otherwise the PCI size for such regions can be calculated erroneously.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6604 c046a42c-6fe2-441c-8c8c-71466251a162
hw/pci.c