[PATCH v3 9/9] powerpc/pseries: HVPIPE changes to support migration
Tyrel Datwyler
tyreld at linux.ibm.com
Sat Aug 30 05:59:22 AEST 2025
On 8/28/25 4:08 PM, Haren Myneni wrote:
> The hypervisor assigns one pipe per partition for all sources and
> assigns new pipe after migration. Also the partition ID that is
> used by source as its target ID may be changed after the migration.
> So disable hvpipe during SUSPEND event with ‘hvpipe enable’ system
> parameter value = 0 and enable it after migration during RESUME
> event with hvpipe enable’ system parameter value = 1.
>
> The user space calls such as ioctl()/ read() / write() / poll()
> returns -ENXIO between SUSPEND and RESUME events. The user space
> process can close FD and reestablish connection with new FD after
> migration if needed (Example: source IDs are changed).
>
> Signed-off-by: Haren Myneni <haren at linux.ibm.com>
> Reviewed-by: Mahesh Salgaonkar <mahesh at linux.ibm.com>
> Tested-by: Shashank MS <shashank.gowda at in.ibm.com>
> ---
Reviewed-by: Tyrel Datwyler <tyreld at linux.ibm.com>
More information about the Linuxppc-dev
mailing list