[Stable-8.2.3 18/87] hw/nvme: separate 'serial' property for VFs

2024-04-10 Thread Michael Tokarev
From: Minwoo Im Currently, when a VF is created, it uses the 'params' object of the PF as it is. In other words, the 'params.serial' string memory area is also shared. In this situation, if the VF is removed from the system, the PF's 'params.serial' object is released with object_finalize() follo

[Stable-7.2.11 16/41] hw/nvme: separate 'serial' property for VFs

2024-04-09 Thread Michael Tokarev
From: Minwoo Im Currently, when a VF is created, it uses the 'params' object of the PF as it is. In other words, the 'params.serial' string memory area is also shared. In this situation, if the VF is removed from the system, the PF's 'params.serial' object is released with object_finalize() follo

[PULL v2 1/6] hw/nvme: separate 'serial' property for VFs

2024-03-12 Thread Klaus Jensen
From: Minwoo Im Currently, when a VF is created, it uses the 'params' object of the PF as it is. In other words, the 'params.serial' string memory area is also shared. In this situation, if the VF is removed from the system, the PF's 'params.serial' object is released with object_finalize() follo

[PULL 1/6] hw/nvme: separate 'serial' property for VFs

2024-03-11 Thread Klaus Jensen
From: Minwoo Im Currently, when a VF is created, it uses the 'params' object of the PF as it is. In other words, the 'params.serial' string memory area is also shared. In this situation, if the VF is removed from the system, the PF's 'params.serial' object is released with object_finalize() follo

Re: hw: nvme: Separate 'serial' property for VFs

2024-01-09 Thread Klaus Jensen
On Jan 9 11:29, Minwoo Im wrote: > Currently, when a VF is created, it uses the 'params' object of the PF > as it is. In other words, the 'params.serial' string memory area is > also shared. In this situation, if the VF is removed from the system, > the PF's 'params.serial' object is released with

hw: nvme: Separate 'serial' property for VFs

2024-01-08 Thread Minwoo Im
Currently, when a VF is created, it uses the 'params' object of the PF as it is. In other words, the 'params.serial' string memory area is also shared. In this situation, if the VF is removed from the system, the PF's 'params.serial' object is released with object_finalize() followed by object_prop