commit | ff51a738cf487811a7890d5292c38bc30eb54e45 | [log] [tgz] |
---|---|---|
author | Hongyong Zang <zanghongyong@huawei.com> | Mon Nov 21 18:56:18 2011 +0800 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Mon Nov 21 15:05:59 2011 -0600 |
tree | 589ec85838d82ba75061b983b990fec5ec06cd12 | |
parent | ae392c416c69a020226c768d9c3af08b29dd6d96 [diff] |
ivshmem: fix PCI BAR2 registration during initialization Ivshmem cannot work, and the command lspci cannot show ivshmem BAR2 in the guest. As for pci_register_bar(), parameter MemoryRegion should be s->bar instead of s->ivshmem. Reviewed-by: Avi Kivity <avi@redhat.com> Signed-off-by: Hongyong Zang <zanghongyong@huawei.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>