Hello,

+ Avihai

On 8/11/25 18:02, Kunkun Jiang wrote:
Hi all,

While testing VFIO migration, I encountered an corner scenario case:
VFIO migration will not be aborted when the vfio device of dst-vm fails to 
transition from RESUMING to RUNNING state in vfio_vmstate_change.

I saw the comments in the vfio_vmstate_change but I don't understand why no action is taken for this situation.

There is error handling in vfio_vmstate_change() :

        /*
         * Migration should be aborted in this case, but vm_state_notify()
         * currently does not support reporting failures.
         */
        migration_file_set_error(ret, local_err);

Allowing the live migration process to continue could cause unrecoverable 
damage to the VM. In this case, can we directly exit the dst-vm? Through the 
return-path mechanism, the src-vm can continue to run.

Looking forward to your reply.

I suggest you open an issue on :

  https://gitlab.com/qemu-project/qemu/-/issues/

with a detailed description of your environment :
Host HW, Host OS, QEMU version, QEMU command line, Guest OS, etc.

A template is provided when a new issue is created.


Thanks,

C.


Reply via email to