>-----Original Message----- >From: Steve Sistare <steven.sist...@oracle.com> >Subject: [PATCH V5 26/38] vfio/iommufd: invariant device name > >cpr-transfer will use the device name as a key to find the value >of the device descriptor in new QEMU. However, if the descriptor >number is specified by a command-line fd parameter, then >vfio_device_get_name creates a name that includes the fd number. >This causes a chicken-and-egg problem: new QEMU must know the fd >number to construct a name to find the fd number. > >To fix, create an invariant name based on the id command-line parameter, >if id is defined. The user will need to provide such an id to use CPR. > >Signed-off-by: Steve Sistare <steven.sist...@oracle.com> >Reviewed-by: Cédric Le Goater <c...@redhat.com>
Reviewed-by: Zhenzhong Duan <zhenzhong.d...@intel.com> Thanks Zhenzhong