Re: [PATCH] hw/pci/pcie: Move hot plug capability check to pre_plug callback

2020-06-04 Thread Michael S. Tsirkin
On Thu, Jun 04, 2020 at 12:57:55PM +0200, Igor Mammedov wrote: > On Mon, 1 Jun 2020 18:29:34 +0200 > Julia Suvorova wrote: > > > Check for hot plug capability earlier to avoid removing devices attached > > during the initialization process. > > > > Run qemu with an unattached drive: > >

Re: [PATCH] hw/pci/pcie: Move hot plug capability check to pre_plug callback

2020-06-04 Thread Igor Mammedov
On Mon, 1 Jun 2020 18:29:34 +0200 Julia Suvorova wrote: > Check for hot plug capability earlier to avoid removing devices attached > during the initialization process. > > Run qemu with an unattached drive: > -drive file=$FILE,if=none,id=drive0 \ > -device

Re: [PATCH] hw/pci/pcie: Move hot plug capability check to pre_plug callback

2020-06-02 Thread Julia Suvorova
On Tue, Jun 2, 2020 at 5:54 AM Michael S. Tsirkin wrote: > > On Mon, Jun 01, 2020 at 06:29:34PM +0200, Julia Suvorova wrote: > > Check for hot plug capability earlier to avoid removing devices attached > > during the initialization process. > > > > Run qemu with an unattached drive: > > -drive

Re: [PATCH] hw/pci/pcie: Move hot plug capability check to pre_plug callback

2020-06-01 Thread Michael S. Tsirkin
On Mon, Jun 01, 2020 at 06:29:34PM +0200, Julia Suvorova wrote: > Check for hot plug capability earlier to avoid removing devices attached > during the initialization process. > > Run qemu with an unattached drive: > -drive file=$FILE,if=none,id=drive0 \ > -device

[PATCH] hw/pci/pcie: Move hot plug capability check to pre_plug callback

2020-06-01 Thread Julia Suvorova
Check for hot plug capability earlier to avoid removing devices attached during the initialization process. Run qemu with an unattached drive: -drive file=$FILE,if=none,id=drive0 \ -device pcie-root-port,id=rp0,slot=3,bus=pcie.0,hotplug=off Hotplug a block device: device_add