Conversation
|
I'll wait with my review until the libvirt pipeline is green. |
|
Should be fixed now! Explanation is in the new commit's message. |
cc13988 to
c946fb2
Compare
arctic-alpaca
left a comment
There was a problem hiding this comment.
The commits refer to your fork instead of this repo or upstream. Some commits have a Assisted-by: Codex:GPT-6 trailer.
Ah, let me double check. I took the commits now from GitHub. I think I've looked at the wrong base when I did this in my IDE. Great catch!
What, I have no idea why. I did the cherry-pick by hand. A local review assisted by Codex must have added them 🫨 Thanks, great catch! |
c946fb2 to
559d42f
Compare
|
Drafted to double check if I cherry picked the right commits. Looks like I have cherry picked commits from some intermediate state |
Just to clarify, the |
This reverts commit caf70eb. On-behalf-of: SAP philipp.schuster@sap.com Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This reverts commit c48d640 On-behalf-of: SAP philipp.schuster@sap.com Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This reverts commit e298b86 On-behalf-of: SAP philipp.schuster@sap.com Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This reverts commit f145ee6. On-behalf-of: SAP philipp.schuster@sap.com Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This reverts commit 5d08e56. On-behalf-of: SAP philipp.schuster@sap.com Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This reverts commit 93e9901. On-behalf-of: SAP philipp.schuster@sap.com Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
Introduce the minimal functionality required to support canceling a live migration. This establishes the basic mechanism and adds a synchronization point to check whether the VM should be cancelled before the migration is completed. While the next commit will introduce the cancellation in the precopy workers, this commit only uses a single check. Adding more checks is disproportionate as everything except the memory migration takes fairly little time. (cherry picked from commit 85fa59c) On-behalf-of: SAP philipp.schuster@sap.com Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This commit reduces the delay in stopping memory transmission during the precopy phase when a migration is cancelled. The cancellation handling is implemented in SendAdditionalConnections, which coordinates all memory transmission threads. (cherry picked from commit 66e96bd) On-behalf-of: SAP philipp.schuster@sap.com Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
(cherry picked from commit 7e8d947) On-behalf-of: SAP philipp.schuster@sap.com Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
This cherry-pick is needed as the new approach doesn't send the Request::abandon() anymore. If the sender closes the connection while the receiver is reading memory, e.g. after a canceled migration, read_volatile_from() returns Ok(0). The receive loop treated this as a zero-progress read and spun forever, leaving receive-migration (and thus the destination VMM's API) hanging indefinitely. Found by the migration cancellation integration tests. On-behalf-of: SAP philipp.schuster@sap.com Signed-off-by: Philipp Schuster <philipp.schuster@cyberus-technology.de>
559d42f to
ec4f30d
Compare
|
I think it is fixed now. |
|
Interesting, depending on the view, GitHub links to a different repo for the commit in the |
There was a problem hiding this comment.
I think this looks good, only the last commit is missing the hash of the commit the cherry pick is coming from.
Also when the runners are up again, could you start another libvirt run?
CI failure should be handled by #210
Revert #85 and replace with cloud-hypervisor#8455. Process was mostly smooth.
Ticket https://github.com/cobaltcore-dev/cobaltcore/issues/706.
libvirt pipeline: https://gitlab.cyberus-technology.de/cyberus/cloud/libvirt/-/merge_requests/296