2 * PCI Host for remote device
4 * Copyright © 2018, 2021 Oracle and/or its affiliates.
6 * This work is licensed under the terms of the GNU GPL, version 2 or later.
7 * See the COPYING file in the top-level directory.
11 #ifndef PCI_HOST_REMOTE_H
12 #define PCI_HOST_REMOTE_H
14 #include "exec/memory.h"
15 #include "hw/pci/pcie_host.h"
17 #define TYPE_REMOTE_PCIHOST "remote-pcihost"
18 OBJECT_DECLARE_SIMPLE_TYPE(RemotePCIHost
, REMOTE_PCIHOST
)
20 struct RemotePCIHost
{
22 PCIExpressHost parent_obj
;
25 MemoryRegion
*mr_pci_mem
;
26 MemoryRegion
*mr_sys_io
;
27 MemoryRegion
*mr_sys_mem
;