/qemu/qga/ |
H A D | commands-win32.c | 564 pci->domain = -1; in get_pci_address_for_device() 565 pci->slot = -1; in get_pci_address_for_device() 567 pci->bus = -1; in get_pci_address_for_device() 576 pci->domain = 0; in get_pci_address_for_device() 589 pci = g_malloc0(sizeof(*pci)); in get_empty_pci_address() 590 pci->domain = -1; in get_empty_pci_address() 591 pci->slot = -1; in get_empty_pci_address() 592 pci->function = -1; in get_empty_pci_address() 593 pci->bus = -1; in get_empty_pci_address() 594 return pci; in get_empty_pci_address() [all …]
|
/qemu/docs/ |
H A D | pcie_sriov.txt | 43 #include "hw/pci/pcie.h" 44 #include "hw/pci/pcie_sriov.h" 97 echo 4 > /sys/bus/pci/devices/0000:01:00.0/sriov_numvfs 103 echo 0 > /sys/bus/pci/devices/0000:01:00.0/sriov_numvfs
|
H A D | bypass-iommu.txt | 42 -device pxb-pcie,bus_nr=0x10,id=pci.10,bus=pcie.0,addr=0x3.0x1 \ 43 -device pxb-pcie,bus_nr=0x20,id=pci.20,bus=pcie.0,addr=0x3.0x2,bypass_iommu=true \ 55 -device pxb-pcie,bus_nr=0x10,id=pci.10,bus=pcie.0,addr=0x3 \ 56 -device pxb-pcie,bus_nr=0x20,id=pci.20,bus=pcie.0,addr=0x4,bypass_iommu=true \
|
H A D | qdev-device-use.txt | 24 bus named pci.0. To put a FOO device into its slot 4, use -device 25 FOO,bus=/i440FX-pcihost/pci.0,addr=4. The abbreviated form bus=pci.0 115 -device virtio-blk-pci,drive=DRIVE-ID,class=C,vectors=V,ioeventfd=IOEVENTFD 255 device appropriate for the bus (virtio-net-pci for PCI), and for USB 264 For virtio-net-pci, you can control whether or not ioeventfd is used for 268 except for virtio-net-pci (model=virtio). With -device, only devices 367 -device vfio-pci,host=ADDR,id=ID
|
/qemu/hw/pci-host/ |
H A D | q35.c | 49 PCIHostState *pci = PCI_HOST_BRIDGE(dev); in q35_host_realize() local 54 MCH_HOST_BRIDGE_CONFIG_ADDR, &pci->conf_mem); in q35_host_realize() 58 MCH_HOST_BRIDGE_CONFIG_DATA, &pci->data_mem); in q35_host_realize() 62 memory_region_set_flush_coalesced(&pci->data_mem); in q35_host_realize() 63 memory_region_add_coalescing(&pci->conf_mem, 0, 4); in q35_host_realize() 65 pci->bus = pci_root_bus_new(DEVICE(s), "pcie.0", in q35_host_realize() 70 qdev_realize(DEVICE(&s->mch), BUS(pci->bus), &error_fatal); in q35_host_realize()
|
H A D | pnv_phb3.c | 31 PCIHostState *pci = PCI_HOST_BRIDGE(phb->phb_base); in pnv_phb3_find_cfg_dev() local 41 return pci_find_device(pci->bus, bus, devfn); in pnv_phb3_find_cfg_dev() 595 PCIHostState *pci = PCI_HOST_BRIDGE(phb->phb_base); in pnv_phb3_reg_read() local 625 if (!pci_find_device(pci->bus, 1, 0)) { in pnv_phb3_reg_read() 997 PCIHostState *pci = PCI_HOST_BRIDGE(dev); in pnv_phb3_bus_init() local 1008 pci->bus = pci_register_root_bus(dev, in pnv_phb3_bus_init() 1014 object_property_set_int(OBJECT(pci->bus), "phb-id", phb->phb_id, in pnv_phb3_bus_init() 1016 object_property_set_int(OBJECT(pci->bus), "chip-id", phb->chip_id, in pnv_phb3_bus_init() 1019 pci_setup_iommu(pci->bus, &pnv_phb3_iommu_ops, phb); in pnv_phb3_bus_init()
|
H A D | xilinx-pcie.c | 113 PCIHostState *pci = PCI_HOST_BRIDGE(dev); in xilinx_pcie_host_realize() local 136 pci->bus = pci_register_root_bus(dev, s->name, xilinx_pcie_set_irq, in xilinx_pcie_host_realize() 140 qdev_realize(DEVICE(&s->root), BUS(pci->bus), &error_fatal); in xilinx_pcie_host_realize()
|
H A D | pnv_phb4.c | 36 PCIHostState *pci = PCI_HOST_BRIDGE(phb->phb_base); in pnv_phb4_find_cfg_dev() local 50 return pci_find_device(pci->bus, bus, devfn); in pnv_phb4_find_cfg_dev() 132 PCIHostState *pci = PCI_HOST_BRIDGE(phb->phb_base); in pnv_phb4_rc_config_write() local 140 pdev = pci_find_device(pci->bus, 0, 0); in pnv_phb4_rc_config_write() 153 PCIHostState *pci = PCI_HOST_BRIDGE(phb->phb_base); in pnv_phb4_rc_config_read() local 162 pdev = pci_find_device(pci->bus, 0, 0); in pnv_phb4_rc_config_read() 1547 PCIHostState *pci = PCI_HOST_BRIDGE(dev); in pnv_phb4_bus_init() local 1564 pci->bus = pci_register_root_bus(dev, dev->id ? dev->id : NULL, in pnv_phb4_bus_init() 1569 object_property_set_int(OBJECT(pci->bus), "phb-id", phb->phb_id, in pnv_phb4_bus_init() 1574 pci_setup_iommu(pci->bus, &pnv_phb4_iommu_ops, phb); in pnv_phb4_bus_init() [all …]
|
/qemu/hw/pci/ |
H A D | pcie_host.c | 39 PCIBus *s = e->pci.bus; in pcie_mmcfg_data_write() 57 PCIBus *s = e->pci.bus; in pcie_mmcfg_data_read()
|
H A D | trace-events | 3 # pci.c 15 # hw/pci/pcie_sriov.c
|
/qemu/scripts/coverity-scan/ |
H A D | COMPONENTS.md | 43 …~ (/qemu)?((/include)?/hw/ppc/.*|/target/ppc/.*|/hw/pci-host/(uninorth.*|dec.*|prep.*|ppc.*)|/hw/m… 105 pci 106 ~ (/qemu)?(/include)?/hw/(cxl/|pci).*
|
/qemu/docs/devel/ |
H A D | ebpf_rss.rst | 36 tap,vhost=off & virtio-net-pci,rss=on,hash=off 40 tap,vhost=on & virtio-net-pci,rss=on,hash=off 44 tap,vhost=off & virtio-net-pci,rss=on,hash=on 48 tap,vhost=on & virtio-net-pci,rss=on,hash=on
|
H A D | index-api.rst | 14 pci
|
/qemu/tests/qemu-iotests/ |
H A D | 186 | 43 _require_devices virtio-scsi-pci 60 ) | $QEMU -S -display none -device virtio-scsi-pci -monitor stdio "$@" 2>&1
|
/qemu/ |
H A D | MAINTAINERS | 1226 F: hw/pci-host/dino.c 1535 F: hw/pci-host/pnv* 1810 F: hw/pci-host/q35.c 1811 F: hw/pci-host/pam.c 2000 F: include/hw/pci/* 2002 F: hw/pci/* 2003 F: hw/pci-bridge/* 2004 F: qapi/pci.json 2005 F: docs/pci* 2006 F: docs/specs/*pci* [all …]
|
/qemu/tests/vm/ |
H A D | Makefile.include | 131 -device virtio-blk-pci,drive=vblk \ 132 -device virtio-net-pci,netdev=vnet \
|
/qemu/hw/scsi/ |
H A D | mptconfig.c | 282 PCIDevice *pci = PCI_DEVICE(s); in mptsas_config_io_unit_0() local 285 unique_value |= (uint64_t)pci->devfn << 56; in mptsas_config_io_unit_0() 300 PCIDevice *pci = PCI_DEVICE(s); in mptsas_config_io_unit_2() local 301 uint8_t devfn = pci->devfn; in mptsas_config_io_unit_2() 774 PCIDevice *pci = PCI_DEVICE(s); in mptsas_process_config() local 886 pci_dma_write(pci, pa, data, MIN(length, dmalen)); in mptsas_process_config()
|
/qemu/hw/sparc64/ |
H A D | sun4u.c | 741 PCIDevice *pci; in sun4u_fw_dev_path() local 744 pci = PCI_DEVICE(dev); in sun4u_fw_dev_path() 746 if (PCI_FUNC(pci->devfn)) { in sun4u_fw_dev_path() 747 return g_strdup_printf("pci@%x,%x", PCI_SLOT(pci->devfn), in sun4u_fw_dev_path() 748 PCI_FUNC(pci->devfn)); in sun4u_fw_dev_path() 750 return g_strdup_printf("pci@%x", PCI_SLOT(pci->devfn)); in sun4u_fw_dev_path()
|
/qemu/hw/alpha/ |
H A D | trace-events | 3 # pci.c
|
H A D | meson.build | 4 'pci.c',
|
/qemu/docs/system/ |
H A D | multi-process.rst | 59 - A "x-pci-proxy-dev" device is created for each of the PCI devices emulated 66 -device x-pci-proxy-dev,id=lsi0,socket=3
|
/qemu/hw/i386/ |
H A D | amd_iommu.c | 168 .requester_id = pci_requester_id(&s->pci.dev) in amdvi_generate_msi_interrupt() 171 if (msi_enabled(&s->pci.dev)) { in amdvi_generate_msi_interrupt() 172 msg = msi_get_message(&s->pci.dev, 0); in amdvi_generate_msi_interrupt() 240 pci_word_test_and_set_mask(s->pci.dev.config + PCI_STATUS, in amdvi_page_fault() 257 pci_word_test_and_set_mask(s->pci.dev.config + PCI_STATUS, in amdvi_log_devtab_error() 270 pci_word_test_and_set_mask(s->pci.dev.config + PCI_STATUS, in amdvi_log_command_error() 311 pci_word_test_and_set_mask(s->pci.dev.config + PCI_STATUS, in amdvi_log_pagetab_error() 1577 msi_reset(&s->pci.dev); in amdvi_sysbus_reset() 1593 if (!qdev_realize(DEVICE(&s->pci), &bus->qbus, errp)) { in amdvi_sysbus_realize() 1623 object_initialize(&s->pci, sizeof(s->pci), TYPE_AMD_IOMMU_PCI); in amdvi_sysbus_instance_init()
|
/qemu/hw/char/ |
H A D | meson.build | 17 system_ss.add(when: 'CONFIG_SERIAL_PCI', if_true: files('serial-pci.c')) 18 system_ss.add(when: 'CONFIG_SERIAL_PCI_MULTI', if_true: files('serial-pci-multi.c'))
|
/qemu/tests/qtest/libqos/ |
H A D | generic-pcihost.h | 46 QGenericPCIBus pci; member
|
/qemu/hw/ppc/ |
H A D | mac_oldworld.c | 375 PCIDevice *pci; in heathrow_fw_dev_path() local 379 pci = PCI_DEVICE(dev); in heathrow_fw_dev_path() 380 return g_strdup_printf("mac-io@%x", PCI_SLOT(pci->devfn)); in heathrow_fw_dev_path()
|