| Summary: | RHEL-7 can't load piix4_pm migration section from RHEL-6.5 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Eduardo Habkost <ehabkost> |
| Component: | qemu-kvm | Assignee: | Eduardo Habkost <ehabkost> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | acathrow, alex.williamson, huding, juzhang, michen, mrezanin, mtosatti, qzhang, virt-maint, xfu |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | qemu-kvm-1.5.3-11.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-06-13 11:10:24 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 889670, 915399 | ||
|
Description
Eduardo Habkost
2013-10-15 19:46:59 UTC
(In reply to Eduardo Habkost from comment #0) > Steps to Reproduce: > 1. Source: /usr/libexec/qemu-kvm -m 1024 -drive > file=/var/lib/libvirt/images/rhel64.qcow2,format=qcow2 -vnc :0 -vga cirrus > -nodefaults -monitor stdio > 2. Destination: /usr/libexec/qemu-kvm -m 1024 -drive > file=/var/lib/libvirt/images/rhel64.qcow2,format=qcow2 -vnc :0 -vga cirrus > -nodefaults -monitor stdio -incoming tcp:0.0.0.0:1234 > 3. Monitor on source: migrate tcp:destination-host:1234 Oops, I forgot to add the machine-type. But the bug can be reproduced when using "-machine rhel6.4.0" as well. From hw/acpi/piix4.c:
/* qemu-kvm 1.2 uses version 3 but advertised as 2
* To support incoming qemu-kvm 1.2 migration, change version_id
* and minimum_version_id to 2 below (which breaks migration from
* qemu 1.2).
*
*/
static const VMStateDescription vmstate_acpi = {
.name = "piix4_pm",
.version_id = 3,
.minimum_version_id = 3,
.minimum_version_id_old = 1,
.load_state_old = acpi_load_old,
The v3 format of qemu-0.13 (implemented by commit 4cf3e6f3d85492f20a773dd6c9068ab89ba24a18) is not compatible with the v3 format of qemu-0.15 and newer (broken by commit 23910d3f669d46073b403876e30a7314599633af). RHEL-6 is using the v3 format that was included on qemu-0.13, which is not compatible with qemu 0.15 and newer (including qemu 1.2).
Probably setting minimum_version_id=2 will work.
Fix included in qemu-kvm-1.5.3-11.el7 This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |