diff options
| author | Tiejun Chen | 2015-07-15 07:37:43 +0200 |
|---|---|---|
| committer | Stefano Stabellini | 2015-09-10 14:04:09 +0200 |
| commit | 595a4f07d6bd18ba11c78b95d6a78089fee26eca (patch) | |
| tree | e2c76e0fd86d8dab8e5e7f1f0963419e1583ee4b /include | |
| parent | pc_init1: pass parameters just with types (diff) | |
| download | qemu-595a4f07d6bd18ba11c78b95d6a78089fee26eca.tar.gz qemu-595a4f07d6bd18ba11c78b95d6a78089fee26eca.tar.xz qemu-595a4f07d6bd18ba11c78b95d6a78089fee26eca.zip | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/i386/pc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/i386/pc.h b/include/hw/i386/pc.h index 6edacbd8fc..5cda2a3ff6 100644 --- a/include/hw/i386/pc.h +++ b/include/hw/i386/pc.h @@ -222,6 +222,8 @@ typedef struct PCII440FXState PCII440FXState; #define TYPE_I440FX_PCI_HOST_BRIDGE "i440FX-pcihost" #define TYPE_I440FX_PCI_DEVICE "i440FX" +#define TYPE_IGD_PASSTHROUGH_I440FX_PCI_DEVICE "igd-passthrough-i440FX" + PCIBus *i440fx_init(const char *host_type, const char *pci_type, PCII440FXState **pi440fx_state, int *piix_devfn, ISABus **isa_bus, qemu_irq *pic, |
