Re: [PATCH] pcie: Release references of virtual functions

2023-07-02 Thread Philippe Mathieu-Daudé
On 1/7/23 08:19, Akihiko Odaki wrote: On 2023/04/21 17:09, Michael S. Tsirkin wrote: On Tue, Apr 11, 2023 at 12:11:30PM +0200, Philippe Mathieu-Daudé wrote: On 11/4/23 11:04, Akihiko Odaki wrote: pci_new() automatically retains a reference to a virtual function when registering it so we need t

Re: [PATCH] pcie: Release references of virtual functions

2023-06-30 Thread Akihiko Odaki
On 2023/04/21 17:09, Michael S. Tsirkin wrote: On Tue, Apr 11, 2023 at 12:11:30PM +0200, Philippe Mathieu-Daudé wrote: On 11/4/23 11:04, Akihiko Odaki wrote: pci_new() automatically retains a reference to a virtual function when registering it so we need to release the reference when unregister

Re: [PATCH] pcie: Release references of virtual functions

2023-04-21 Thread Michael S. Tsirkin
On Tue, Apr 11, 2023 at 12:11:30PM +0200, Philippe Mathieu-Daudé wrote: > On 11/4/23 11:04, Akihiko Odaki wrote: > > pci_new() automatically retains a reference to a virtual function when > > registering it so we need to release the reference when unregistering. > > > > Fixes: 7c0fa8dff8 ("pcie: A

Re: [PATCH] pcie: Release references of virtual functions

2023-04-11 Thread Akihiko Odaki
On 2023/04/11 19:11, Philippe Mathieu-Daudé wrote: On 11/4/23 11:04, Akihiko Odaki wrote: pci_new() automatically retains a reference to a virtual function when registering it so we need to release the reference when unregistering. Fixes: 7c0fa8dff8 ("pcie: Add support for Single Root I/O Virt

Re: [PATCH] pcie: Release references of virtual functions

2023-04-11 Thread Philippe Mathieu-Daudé
On 11/4/23 11:04, Akihiko Odaki wrote: pci_new() automatically retains a reference to a virtual function when registering it so we need to release the reference when unregistering. Fixes: 7c0fa8dff8 ("pcie: Add support for Single Root I/O Virtualization (SR/IOV)") Signed-off-by: Akihiko Odaki

Re: [PATCH] pcie: Release references of virtual functions

2023-04-11 Thread Cédric Le Goater
On 4/11/23 11:04, Akihiko Odaki wrote: pci_new() automatically retains a reference to a virtual function when registering it so we need to release the reference when unregistering. Fixes: 7c0fa8dff8 ("pcie: Add support for Single Root I/O Virtualization (SR/IOV)") Signed-off-by: Akihiko Odaki

[PATCH] pcie: Release references of virtual functions

2023-04-11 Thread Akihiko Odaki
pci_new() automatically retains a reference to a virtual function when registering it so we need to release the reference when unregistering. Fixes: 7c0fa8dff8 ("pcie: Add support for Single Root I/O Virtualization (SR/IOV)") Signed-off-by: Akihiko Odaki --- hw/pci/pcie_sriov.c | 1 + 1 file ch