piix: create host bridge to passthrough
commit595a4f07d6bd18ba11c78b95d6a78089fee26eca
authorTiejun Chen <tiejun.chen@intel.com>
Wed, 15 Jul 2015 05:37:43 +0000 (15 13:37 +0800)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 10 Sep 2015 12:04:09 +0000 (10 12:04 +0000)
treee2c76e0fd86d8dab8e5e7f1f0963419e1583ee4b
parent76d39ab49ec68608a3c0bafec7bed70f21302b0e
piix: create host bridge to passthrough

Implement a pci host bridge specific to passthrough. Actually
this just inherits the standard one. And we also just expose
a minimal real host bridge pci configuration subset.

[Replace pread with lseek and read to fix Windows build]

Signed-off-by: Tiejun Chen <tiejun.chen@intel.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci-host/piix.c
include/hw/i386/pc.h