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

remove thread and disable stop migrate #273

Closed
wants to merge 6 commits into from

Conversation

chaetodontidae
Copy link

去掉了原来的迁移线程,直接将迁移逻辑放在主线程,在migrate_fd_connect_without_thread中的do_migration_work。
在迁移逻辑中删除了停止调用VM的逻辑,在migration_stop_vm_without_stopvm处。

然后在构建qemu的时候需要在build文件夹中的qapi/qapi-commands-migration.h文件添加forkd_migrate声明,否则编译的时候报错:
image

Copy link

Thank you for your interest in the QEMU project.

This repository is a read-only mirror of the project's repostories hosted
on https://gitlab.com/qemu-project/qemu.git.
The project does not process merge requests filed on GitHub.

QEMU welcomes contributions of code (either fixing bugs or adding new
functionality). However, we get a lot of patches, and so we have some
guidelines about contributing on the project website:
https://www.qemu.org/contribute/

@github-actions github-actions bot closed this Nov 13, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Nov 13, 2024
@chaetodontidae chaetodontidae deleted the nie-dev branch November 13, 2024 07:56
@chaetodontidae chaetodontidae restored the nie-dev branch November 13, 2024 07:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant