kvm: qemu: virtio register pow2 memory regions
commit549b7d8af73c05c80755bdf80bb2f20d6de8014a
authorMarcelo Tosatti <mtosatti@redhat.com>
Mon, 17 Mar 2008 20:20:15 +0000 (17 17:20 -0300)
committerAvi Kivity <avi@qumranet.com>
Tue, 18 Mar 2008 06:37:37 +0000 (18 08:37 +0200)
tree179f91ff2194451c5fd32b073bedff4f40310170
parent3f8ad09173b225e2820877c83e71d347ba5f125f
kvm: qemu: virtio register pow2 memory regions

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

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Anthony Liguori <anthony@codemonkey.ws>
Signed-off-by: Avi Kivity <avi@qumranet.com>
qemu/hw/virtio.c