Re: [PATCH v5 13/18] pci: introduce pci_find_the_only_child()

2023-03-02 Thread Michael S. Tsirkin
On Thu, Mar 02, 2023 at 12:35:54PM +0300, Vladimir Sementsov-Ogievskiy wrote: > On 02.03.23 11:53, Michael S. Tsirkin wrote: > > On Thu, Mar 02, 2023 at 11:45:00AM +0300, Vladimir Sementsov-Ogievskiy > > wrote: > > > On 02.03.23 11:37, Michael S. Tsirkin wrote: > > > > On Thu, Mar 02, 2023 at 11:2

Re: [PATCH v5 13/18] pci: introduce pci_find_the_only_child()

2023-03-02 Thread Vladimir Sementsov-Ogievskiy
On 02.03.23 11:53, Michael S. Tsirkin wrote: On Thu, Mar 02, 2023 at 11:45:00AM +0300, Vladimir Sementsov-Ogievskiy wrote: On 02.03.23 11:37, Michael S. Tsirkin wrote: On Thu, Mar 02, 2023 at 11:28:44AM +0300, Vladimir Sementsov-Ogievskiy wrote: On 02.03.23 00:09, Michael S. Tsirkin wrote: On

Re: [PATCH v5 13/18] pci: introduce pci_find_the_only_child()

2023-03-02 Thread Michael S. Tsirkin
On Thu, Mar 02, 2023 at 11:45:00AM +0300, Vladimir Sementsov-Ogievskiy wrote: > On 02.03.23 11:37, Michael S. Tsirkin wrote: > > On Thu, Mar 02, 2023 at 11:28:44AM +0300, Vladimir Sementsov-Ogievskiy > > wrote: > > > On 02.03.23 00:09, Michael S. Tsirkin wrote: > > > > On Thu, Feb 16, 2023 at 09:0

Re: [PATCH v5 13/18] pci: introduce pci_find_the_only_child()

2023-03-02 Thread Vladimir Sementsov-Ogievskiy
On 02.03.23 11:37, Michael S. Tsirkin wrote: On Thu, Mar 02, 2023 at 11:28:44AM +0300, Vladimir Sementsov-Ogievskiy wrote: On 02.03.23 00:09, Michael S. Tsirkin wrote: On Thu, Feb 16, 2023 at 09:03:51PM +0300, Vladimir Sementsov-Ogievskiy wrote: To be used in further patch to identify the devi

Re: [PATCH v5 13/18] pci: introduce pci_find_the_only_child()

2023-03-02 Thread Michael S. Tsirkin
On Thu, Mar 02, 2023 at 11:28:44AM +0300, Vladimir Sementsov-Ogievskiy wrote: > On 02.03.23 00:09, Michael S. Tsirkin wrote: > > On Thu, Feb 16, 2023 at 09:03:51PM +0300, Vladimir Sementsov-Ogievskiy > > wrote: > > > To be used in further patch to identify the device hot-plugged into > > > pcie-ro

Re: [PATCH v5 13/18] pci: introduce pci_find_the_only_child()

2023-03-02 Thread Vladimir Sementsov-Ogievskiy
On 02.03.23 00:09, Michael S. Tsirkin wrote: On Thu, Feb 16, 2023 at 09:03:51PM +0300, Vladimir Sementsov-Ogievskiy wrote: To be used in further patch to identify the device hot-plugged into pcie-root-port. Signed-off-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Anton Kuchin Wait a second doe

Re: [PATCH v5 13/18] pci: introduce pci_find_the_only_child()

2023-03-01 Thread Michael S. Tsirkin
On Thu, Feb 16, 2023 at 09:03:51PM +0300, Vladimir Sementsov-Ogievskiy wrote: > To be used in further patch to identify the device hot-plugged into > pcie-root-port. > > Signed-off-by: Vladimir Sementsov-Ogievskiy > Reviewed-by: Anton Kuchin Wait a second does this work for multifunction device

[PATCH v5 13/18] pci: introduce pci_find_the_only_child()

2023-02-16 Thread Vladimir Sementsov-Ogievskiy
To be used in further patch to identify the device hot-plugged into pcie-root-port. Signed-off-by: Vladimir Sementsov-Ogievskiy Reviewed-by: Anton Kuchin --- include/hw/pci/pci.h | 1 + hw/pci/pci.c | 33 + 2 files changed, 34 insertions(+) diff --git a