Skip to content

Consider adding VFIO_USER_GET_PRECOPY_INFO #822

@eltrufas

Description

@eltrufas

I'm taking a shot at implementing VFIO migration v2 support for the QEMU vfio-user client.

One thing I ran into is that QEMU relies on the VFIO_MIG_GET_PRECOPY_INFO ioctl to determine when to transition the device from PRE_COPY to STOP_COPY. vfio-user doesn't seem to expose partial progress of a migration currently, so it'd be useful to have an equivalent of the VFIO ioctl.

If this seems like a bad idea and there's a better way to manage the state transition in QEMU, I'd love to hear it (this is my first foray into hacking on QEMU so please bear with me if I'm missing something obvious).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions