Bug 510459
| Summary: | KVM does not honour the -S flag, and resumes CPU execution after incoming migration completes. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Paolo Bonzini <pbonzini> | ||||||
| Component: | kvm | Assignee: | Paolo Bonzini <pbonzini> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Lawrence Lim <llim> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | 5.5 | CC: | berrange, gcosta, tburke, tools-bugs, virt-maint, xen-maint, ykaul | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2009-08-04 12:00:20 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Paolo Bonzini
2009-07-09 11:41:21 UTC
The Xen bug, for the record, is bug 504910. This bug is a bit more severe though, IMO (doing nothing is worse than doing it wrong). Hum, this is coming a bit late in the game for Update 4, we have no patch yet, it's not a very common scenario, and probably not very crucial, the resume/suspend after restore is not ideal but probably workable in most cases. So I suggest to retarget it for update 5 at this point, thanks for raising the issue though we need to get this fixed upstream, my assumption is that we don't look at the suspended information when restoring the domain at some low level while libvirt is aware of it. Daniel This isn't a libvirt problem. This is a bug in QEMU/KVM. After the 'migrate' command finishes it should *not* be starting execution of the CPUs. Resuming execution is a policy decision for the management tool to make. libvirt explicitly starts the VM with '-S' for stopped, and QEMU should not override this and start the VM after migrate when this is the case. Created attachment 351586 [details]
qemu patch to fix the bug
I submitted this patch upstream.
Created attachment 355681 [details]
patch matching upstream
This patch includes an additional fix from Glauber Costa.
*** This bug has been marked as a duplicate of bug 503367 *** |