igd-passthrough: fix use of host_pci_config_read
commit349a3b1cc9023f67f8fa336cb3c4a8f21a4aaaf3
authorCao jin <caoj.fnst@cn.fujitsu.com>
Sat, 2 Jan 2016 08:02:20 +0000 (2 16:02 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 8 Jan 2016 14:01:37 +0000 (8 16:01 +0200)
treee84d49b85d5cc2071367b5bd4f29ccfd867fe080
parentc8e6c93857885a19e959ec622d92a256d1cd98eb
igd-passthrough: fix use of host_pci_config_read

Fix the bug introduced by 595a4f07: function host_pci_config_read() should be
pass-by-reference, not value.
This probably means this function never worked for anyone.

Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci-host/piix.c