Re: [PATCH 0/4] Fix broken PCIe device after migration

2022-02-27 Thread Gerd Hoffmann
Hi, > Well the control is present, isn't it? Can be used to e.g. reset the > device behind the bridge. Well, not right now b/c poweroff ejects the device. Would need a patch like this ... --- a/hw/pci/pcie.c +++ b/hw/pci/pcie.c @@ -755,7 +755,8 @@ void pcie_cap_slot_write_config(PCIDevice *de

Re: [PATCH 0/4] Fix broken PCIe device after migration

2022-02-27 Thread Michael S. Tsirkin
On Fri, Feb 25, 2022 at 04:50:54PM +0100, Igor Mammedov wrote: > On Fri, 25 Feb 2022 08:50:43 -0500 > "Michael S. Tsirkin" wrote: > > > On Fri, Feb 25, 2022 at 02:18:23PM +0100, Igor Mammedov wrote: > > > On Fri, 25 Feb 2022 04:58:46 -0500 > > > "Michael S. Tsirkin" wrote: > > > > > > > On Th

Re: [PATCH 0/4] Fix broken PCIe device after migration

2022-02-25 Thread Igor Mammedov
On Fri, 25 Feb 2022 08:50:43 -0500 "Michael S. Tsirkin" wrote: > On Fri, Feb 25, 2022 at 02:18:23PM +0100, Igor Mammedov wrote: > > On Fri, 25 Feb 2022 04:58:46 -0500 > > "Michael S. Tsirkin" wrote: > > > > > On Thu, Feb 24, 2022 at 12:44:07PM -0500, Igor Mammedov wrote: > > > > Currently A

Re: [PATCH 0/4] Fix broken PCIe device after migration

2022-02-25 Thread Igor Mammedov
On Fri, 25 Feb 2022 14:18:23 +0100 Igor Mammedov wrote: > On Fri, 25 Feb 2022 04:58:46 -0500 > "Michael S. Tsirkin" wrote: > > > On Thu, Feb 24, 2022 at 12:44:07PM -0500, Igor Mammedov wrote: > > > Currently ACPI PCI hotplug is enabled by default for Q35 machine > > > type and overrides nativ

Re: [PATCH 0/4] Fix broken PCIe device after migration

2022-02-25 Thread Michael S. Tsirkin
On Fri, Feb 25, 2022 at 02:18:23PM +0100, Igor Mammedov wrote: > On Fri, 25 Feb 2022 04:58:46 -0500 > "Michael S. Tsirkin" wrote: > > > On Thu, Feb 24, 2022 at 12:44:07PM -0500, Igor Mammedov wrote: > > > Currently ACPI PCI hotplug is enabled by default for Q35 machine > > > type and overrides na

Re: [PATCH 0/4] Fix broken PCIe device after migration

2022-02-25 Thread Igor Mammedov
On Fri, 25 Feb 2022 04:58:46 -0500 "Michael S. Tsirkin" wrote: > On Thu, Feb 24, 2022 at 12:44:07PM -0500, Igor Mammedov wrote: > > Currently ACPI PCI hotplug is enabled by default for Q35 machine > > type and overrides native PCIe hotplug. It works as expected when > > a PCIe device is hotplugge

Re: [PATCH 0/4] Fix broken PCIe device after migration

2022-02-25 Thread Michael S. Tsirkin
On Thu, Feb 24, 2022 at 12:44:07PM -0500, Igor Mammedov wrote: > Currently ACPI PCI hotplug is enabled by default for Q35 machine > type and overrides native PCIe hotplug. It works as expected when > a PCIe device is hotplugged into slot, however the device becomes > in-operational after migration.

Re: [PATCH 0/4] Fix broken PCIe device after migration

2022-02-25 Thread Igor Mammedov
On Thu, 24 Feb 2022 13:08:11 -0500 "Michael S. Tsirkin" wrote: > On Thu, Feb 24, 2022 at 12:44:07PM -0500, Igor Mammedov wrote: > > Currently ACPI PCI hotplug is enabled by default for Q35 machine > > type and overrides native PCIe hotplug. It works as expected when > > a PCIe device is hotplugge

Re: [PATCH 0/4] Fix broken PCIe device after migration

2022-02-24 Thread Michael S. Tsirkin
On Thu, Feb 24, 2022 at 12:44:07PM -0500, Igor Mammedov wrote: > Currently ACPI PCI hotplug is enabled by default for Q35 machine > type and overrides native PCIe hotplug. It works as expected when > a PCIe device is hotplugged into slot, however the device becomes > in-operational after migration.

[PATCH 0/4] Fix broken PCIe device after migration

2022-02-24 Thread Igor Mammedov
Currently ACPI PCI hotplug is enabled by default for Q35 machine type and overrides native PCIe hotplug. It works as expected when a PCIe device is hotplugged into slot, however the device becomes in-operational after migration. Which is caused by BARs being disabled on target due to powered off st