Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live Migration Is Not Working #209

Open
oryair1 opened this issue Apr 10, 2022 · 0 comments
Open

Live Migration Is Not Working #209

oryair1 opened this issue Apr 10, 2022 · 0 comments

Comments

@oryair1
Copy link

oryair1 commented Apr 10, 2022

Hi,
I was looking into how to do a live migration with the latests versions of gvt-linux from the gvt-staging branch. I noticed it probably should be supported because I saw the intel_migrate_init function in drivers/gpu/drm/i915/gt/intel_migrate.c.
I am using qemu-6.0.0. I'm attaching the device to the VM with -device vfio-pci,.....

The thing is that I need to do a live migration, but qemu says that this device does not support live migration because the vfio_migration_probe function fails. When I tried to see why it says that, I saw it is looking for a region of type VFIO_REGION_TYPE_MIGRATION but such a region is not created by the latest versions of gvt-linux. It is created only by the gvt-linux versions under the gvt-stable-4.x branches.

I also encountered this commit on a google search which defines the init_migration_region function - https://lists.ofono.org/hyperkitty/list/kbuild-all@lists.01.org/thread/SAM6MF2KOTKPKQI6UYSMGXSHCDZULEHW/
But I can't find where it's implemented

Then how can I create a migration using qemu-6.0.0 and the latest versions of gvt-linux?

@oryair1 oryair1 changed the title Add Migration Tutorial Live Migration Is Not Working May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant