RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1294866 - Support live guest migration from rhel 7 to rhel 6
Summary: Support live guest migration from rhel 7 to rhel 6
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.2
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Dr. David Alan Gilbert
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-30 19:00 UTC by Yuri Arabadji
Modified: 2016-06-30 12:22 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-30 12:22:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yuri Arabadji 2015-12-30 19:00:08 UTC
Redhat KB lists migration path as unsupported, but with this patch https://lists.gnu.org/archive/html/qemu-devel/2015-12/msg00990.html it should be doable. 

See his blog post for more info http://www.anchor.com.au/blog/2015/11/bugfixing-kvm-live-migration/ 

Thanks.

Comment 3 Yuri Arabadji 2016-01-11 13:42:22 UTC
Just a note that the patch didn't work for me. Guest is resumed, but it's not continuing the execution. CPU is 0%, display is blank and unresponsive. "kvm_stat -l" counters are all 0.

Comment 4 Dr. David Alan Gilbert 2016-01-11 14:47:08 UTC
I need to investigate this patch a little; but the challenge is that while it fixes one piece of state to produce backwardly compatible data, many other parts of the state need checking to make sure they dont introduce backwards compatible behaviour as well.  That check is quite tricky (since there tend to be non-obvious effects that are found when you try them).

Comment 5 Dr. David Alan Gilbert 2016-06-30 12:22:01 UTC
Hi Yuri,
  I'm marking this as a wont-fix, but I wanted to explain why.

The problem we have is that the old 0.12 qemu in RHEL6 has many places that are different from the more modern versions in rhel7.  The changes are quite varied, and there are a bunch of different problems that stop us going in the reverse direction:

   a) There are things where the format of the migration data has changed; the newer qemu's have code to read the old migration formats for devices but they don't have code to write the format needed by the older version; I found one example of this a few days ago when debugging a different problem.

   b) More subtle things like the patch you found, where a combination of patches in qemu or the kernel, that individually look harmless, cause a migration problem.

   c) Newer qemu making use of features that the old one can't support.


If we wanted to do this we'd have to write tools and things to find all the cases of (a) - we could find those and somehow write work arounds for many of them.

Finding (c) is actually quite hard; when you use a new feature you don't necessarily think about making it backwards compatibil that far.

Then finding (b) is *really* hard - when you look at each of the individual changes you don't necessarily realise they're going to cause a migration problem, so the only way to find out is a LOT of testing.


Note You need to log in before you can comment on or make changes to this bug.