[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 70/83] hw/isa/piix: Implement multi-process QEMU support also for
|
From: |
Michael S. Tsirkin |
|
Subject: |
[PULL 70/83] hw/isa/piix: Implement multi-process QEMU support also for PIIX4 |
|
Date: |
Wed, 18 Oct 2023 11:58:42 -0400 |
From: Bernhard Beschow <shentey@gmail.com>
So far multi-process QEMU was only implemented for PIIX3. Move the support into
the base class to achieve feature parity between both device models.
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-Id: <20231007123843.127151-29-shentey@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
hw/isa/piix.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/hw/isa/piix.c b/hw/isa/piix.c
index cba2098ca2..04ebed5b52 100644
--- a/hw/isa/piix.c
+++ b/hw/isa/piix.c
@@ -374,6 +374,7 @@ static void pci_piix_realize(PCIDevice *dev, const char
*uhci_type,
}
pci_bus_irqs(pci_bus, piix_set_pci_irq, d, PIIX_NUM_PIRQS);
+ pci_bus_set_route_irq_fn(pci_bus, piix_route_intx_pin_to_irq);
}
static void build_pci_isa_aml(AcpiDevAmlIf *adev, Aml *scope)
@@ -454,15 +455,7 @@ static const TypeInfo piix_pci_type_info = {
static void piix3_realize(PCIDevice *dev, Error **errp)
{
- ERRP_GUARD();
- PCIBus *pci_bus = pci_get_bus(dev);
-
pci_piix_realize(dev, TYPE_PIIX3_USB_UHCI, errp);
- if (*errp) {
- return;
- }
-
- pci_bus_set_route_irq_fn(pci_bus, piix_route_intx_pin_to_irq);
}
static void piix3_init(Object *obj)
--
MST
- [PULL 63/83] hw/isa/piix: Allow for optional PIT creation in PIIX3, (continued)
- [PULL 63/83] hw/isa/piix: Allow for optional PIT creation in PIIX3, Michael S. Tsirkin, 2023/10/18
- [PULL 71/83] hw/i386/pc_piix: Make PIIX4 south bridge usable in PC machine, Michael S. Tsirkin, 2023/10/18
- [PULL 60/83] hw/isa/piix4: Reuse struct PIIXState from PIIX3, Michael S. Tsirkin, 2023/10/18
- [PULL 68/83] hw/isa/piix: Reuse PIIX3's PCI interrupt triggering in PIIX4, Michael S. Tsirkin, 2023/10/18
- [PULL 72/83] vhost-user-common: send get_inflight_fd once, Michael S. Tsirkin, 2023/10/18
- [PULL 74/83] vhost-user-scsi: support reconnect to backend, Michael S. Tsirkin, 2023/10/18
- [PULL 73/83] vhost: move and rename the conn retry times, Michael S. Tsirkin, 2023/10/18
- [PULL 75/83] vhost-user-scsi: start vhost when guest kicks, Michael S. Tsirkin, 2023/10/18
- [PULL 76/83] vhost-user: fix lost reconnect, Michael S. Tsirkin, 2023/10/18
- [PULL 77/83] hw/i386/cxl: ensure maxram is greater than ram size for calculating cxl range, Michael S. Tsirkin, 2023/10/18
- [PULL 70/83] hw/isa/piix: Implement multi-process QEMU support also for PIIX4,
Michael S. Tsirkin <=
- [PULL 79/83] hw/cxl: Add QTG _DSM support for ACPI0017 device, Michael S. Tsirkin, 2023/10/18
- [PULL 78/83] tests/acpi: Allow update of DSDT.cxl, Michael S. Tsirkin, 2023/10/18
- [PULL 80/83] tests/acpi: Update DSDT.cxl with QTG DSM, Michael S. Tsirkin, 2023/10/18
- [PULL 82/83] MAINTAINERS: Add include/hw/intc/i8259.h to the PC chip section, Michael S. Tsirkin, 2023/10/18
- [PULL 81/83] vhost-user: Fix protocol feature bit conflict, Michael S. Tsirkin, 2023/10/18
- [PULL 83/83] intel-iommu: Report interrupt remapping faults, fix return value, Michael S. Tsirkin, 2023/10/18