]> git.proxmox.com Git - qemu.git/commit - hw/pci/pci.c
pci: fix up w64 size calculation helper
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 1 Oct 2013 12:39:13 +0000 (15:39 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 14 Oct 2013 14:48:45 +0000 (17:48 +0300)
commit77d6f4ea7608fe7f47c9d7beddd19191b2e852b2
tree984539640891d20a789ce279943ad1964b72076d
parente732ea638705da35445a42dee32691fbe813d3e0
pci: fix up w64 size calculation helper

BAR base was calculated incorrectly.
Use existing pci_bar_address to get it right.

Tested-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pci.c