-
Notifications
You must be signed in to change notification settings - Fork 92
qemu: replace private migration patch with the upstream one #641
Conversation
Then we can use x-ignore-shared to do migration and drop the extra patch once we move to qemu 4.1.0 or later. Fixes: kata-containers#640 Depends-on: github.com/kata-containers/runtime#1799 Signed-off-by: Peng Tao <[email protected]>
qemu upstream has x-ignore-shared that works similar to our private bypass-shared-memory. We can use it to implement the vm template feature. Fixes: kata-containers#1798 Depends-on: github.com/kata-containers/packaging#641 Signed-off-by: Peng Tao <[email protected]>
/test |
qemu upstream has x-ignore-shared that works similar to our private bypass-shared-memory. We can use it to implement the vm template feature. Fixes: kata-containers#1798 Depends-on: github.com/kata-containers/packaging#641 Signed-off-by: Peng Tao <[email protected]>
@chavafg How can I kick off ci here? Looks like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @bergwolf.
lgtm
- bool ignored = qemu_get_byte(f); | ||
- if (ignored != ramblock_is_ignored(block)) { | ||
- error_report("RAM block %s should %s be migrated", | ||
- id, ignored ? "" : "not"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: this will cause an odd double space in the output when ignored
is true so should really be:
error_report("RAM block %s should %sbe migrated",
id, ignored ? "" : "not ");
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jodh-intel The patch is removing these lines not adding them ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aiieeee - I need more coffee 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hah, diffs of patches - eye bending 👀
Looks like the CIs are running (at least pending builds) now..
qemu upstream has x-ignore-shared that works similar to our private bypass-shared-memory. We can use it to implement the vm template feature. Fixes: kata-containers#1798 Depends-on: github.com/kata-containers/packaging#641 Signed-off-by: Peng Tao <[email protected]>
/AzurePipelines run |
Azure Pipelines successfully started running 1 pipeline(s). |
qemu upstream has x-ignore-shared that works similar to our private bypass-shared-memory. We can use it to implement the vm template feature. Fixes: kata-containers#1798 Depends-on: github.com/kata-containers/packaging#641 Signed-off-by: Peng Tao <[email protected]>
qemu upstream has x-ignore-shared that works similar to our private bypass-shared-memory. We can use it to implement the vm template feature. Fixes: kata-containers#1798 Depends-on: github.com/kata-containers/packaging#641 Signed-off-by: Peng Tao <[email protected]>
Then we can use x-ignore-shared to do migration and drop the
extra patch once we move to qemu 4.1.0 or later.
Fixes: #640
Depends-on: github.com/kata-containers/runtime#1799
Signed-off-by: Peng Tao [email protected]