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 1109056 - Error while loading state for instance 0x0 of device 'ram' when do migration between 2 different intel hosts
Summary: Error while loading state for instance 0x0 of device 'ram' when do migration ...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm
Version: 7.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Eduardo Habkost
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-13 07:33 UTC by Shuang Yu
Modified: 2015-04-07 03:23 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-05 16:26:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Shuang Yu 2014-06-13 07:33:08 UTC
Description of problem:
I have 2 intel hosts with different cpu models ,Hit "Error while loading state for instance 0x0 of device 'ram' " when do migration between 2 different intel hosts

Version-Release number of selected component (if applicable):
3.10.0-121.el7.x86_64
qemu-kvm-rhev-1.5.3-60.el7ev.x86_64
seabios-1.7.2.2-12.el7.x86_64
sgabios-bin-0.20110622svn-4.el7.noarch
virtio-win-prewhql86
Guest win7-32


How reproducible:
100%

Steps to Reproduce:
1.Start VM in source host A:
CLI: /usr/libexec/qemu-kvm -m 2G -cpu Nehalem -smp 2 -monitor stdio -vnc :10 -netdev tap,id=hostnet1,script=/etc/qemu-ifup -device e1000,netdev=hostnet1,id=net1,mac=00:22:52:00:04:44 -usb -device usb-tablet,id=tablet1 -drive file=win7-32.qcow2,format=qcow2,if=none,id=drive1 -device ide-drive,drive=drive1,id=disk1 -cdrom en_windows_7_ultimate_x86_dvd_x15-65921.iso -name win7-32 -device virtio-balloon-pci,id=balloon -device virtio-serial-pci,id=serial0

2.Start Listenning Port in Destination Host B (the image is shared via NFS):
CLI:/usr/libexec/qemu-kvm -m 2G -cpu Nehalem -smp 2 -monitor stdio -vnc :10 -netdev tap,id=hostnet1,script=/etc/qemu-ifup -device e1000,netdev=hostnet1,id=net1,mac=00:22:52:00:04:44 -usb -device usb-tablet,id=tablet1 -drive file=win7-32.qcow2,format=qcow2,if=none,id=drive1 -device ide-drive,drive=drive1,id=disk1 -cdrom en_windows_7_ultimate_x86_dvd_x15-65921.iso -name win7-32 -device virtio-balloon-pci,id=balloon -device virtio-serial-pci,id=serial0 -incoming tcp:0:5888

3.Do live migration
(qemu)migrate -d tcp:<ip of host B>:5888

Actual results:
qemu-kvm process quit with "(qemu) qemu: warning: error while loading state for instance 0x0 of device 'ram'"

Expected results:
Migration successfully

Additional info:
#cat /proc/cpuinfo 
Host A:
processor	: 7
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
stepping	: 7
microcode	: 0x29
cpu MHz		: 3645.437
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 3
cpu cores	: 4
apicid		: 7
initial apicid	: 7
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips	: 6784.85
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:


# cat /proc/meminfo 
MemTotal:        7736640 kB
MemFree:         1310404 kB
MemAvailable:    5181520 kB
Buffers:            2048 kB
Cached:          4025552 kB
SwapCached:            0 kB
Active:          2666432 kB
Inactive:        3553736 kB
Active(anon):    2192992 kB
Inactive(anon):     8724 kB
Active(file):     473440 kB
Inactive(file):  3545012 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       8142844 kB
SwapFree:        8142844 kB
Dirty:                12 kB
Writeback:             0 kB
AnonPages:       2192596 kB
Mapped:            35952 kB
Shmem:              9148 kB
Slab:              82572 kB
SReclaimable:      43184 kB
SUnreclaim:        39388 kB
KernelStack:        1992 kB
PageTables:        10148 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    12011164 kB
Committed_AS:    2623844 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      564464 kB
VmallocChunk:   34359094792 kB
HardwareCorrupted:     0 kB
AnonHugePages:   2115584 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       90912 kB
DirectMap2M:     8118272 kB

Host B:
processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
stepping	: 7
microcode	: 0x29
cpu MHz		: 1784.679
cache size	: 6144 KB
physical id	: 0
siblings	: 4
core id		: 3
cpu cores	: 4
apicid		: 6
initial apicid	: 6
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips	: 6186.13
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

# cat /proc/meminfo 
MemTotal:       16049188 kB
MemFree:        12147080 kB
MemAvailable:   15521388 kB
Buffers:             128 kB
Cached:          3516344 kB
SwapCached:         7752 kB
Active:          3346724 kB
Inactive:         196192 kB
Active(anon):      32960 kB
Inactive(anon):    21584 kB
Active(file):    3313764 kB
Inactive(file):   174608 kB
Unevictable:        5852 kB
Mlocked:            5852 kB
SwapTotal:       8200188 kB
SwapFree:        8149188 kB
Dirty:                20 kB
Writeback:             0 kB
AnonPages:         26472 kB
Mapped:            29768 kB
Shmem:             25244 kB
Slab:             167924 kB
SReclaimable:     109740 kB
SUnreclaim:        58184 kB
KernelStack:        1952 kB
PageTables:         5908 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    16224780 kB
Committed_AS:     299892 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      376344 kB
VmallocChunk:   34359352820 kB
HardwareCorrupted:     0 kB
AnonHugePages:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      189904 kB
DirectMap2M:    16465920 kB

Comment 2 juzhang 2014-06-17 00:03:02 UTC
Hi Shuyu,

This is qemu-kvm-rhev only bz? Can you test qemu-kvm version as well? If not qemu-kvm-rhev only bz, please update the component as qemu-kvm?

Best Regards,
Junyi

Comment 3 Juan Quintela 2014-08-13 11:53:50 UTC
cache=none is missing on the disk.

But this bug should be a different bug.

Comment 4 Juan Quintela 2014-08-20 09:40:29 UTC
Can you check and report:
a- without balloon
b- the only difference between this two cpu's is "aes", could you test if that feature is seen inside the guest and or filtered?
c- if it still fails, cat /proc/meminfo of the guests launched on both hosts would be a starting point.

Thanks, Juan.

Comment 5 Shuang Yu 2014-09-04 07:09:48 UTC
Reproduce this issue on 2 intel hosts with different cpu models ,hit the same issue when do migration between 2 different intel hosts

Version-Release number of selected component (if applicable):
3.10.0-121.el7.x86_64
qemu-kvm-rhev-1.5.3-60.el7ev.x86_64
seabios-1.7.2.2-12.el7.x86_64
virtio-win-prewhql86
Guest win7-32

Steps:
1.Start VM without balloon driver in source host A:
CLI: /usr/libexec/qemu-kvm -m 2G -cpu Nehalem -smp 2 -monitor stdio -vnc :10 -netdev tap,id=hostnet1,script=/etc/qemu-ifup -device e1000,netdev=hostnet1,id=net1,mac=00:22:52:00:04:44 -usb -device usb-tablet,id=tablet1 -drive file=win7-32.qcow2,format=qcow2,if=none,id=drive1 -device ide-drive,drive=drive1,id=disk1 -cdrom en_windows_7_ultimate_x86_dvd_x15-65921.iso -name win7-32

2.Start Listenning Port in Destination Host B (the image is shared via NFS):
CLI:/usr/libexec/qemu-kvm -m 2G -cpu Nehalem -smp 2 -monitor stdio -vnc :10 -netdev tap,id=hostnet1,script=/etc/qemu-ifup -device e1000,netdev=hostnet1,id=net1,mac=00:22:52:00:04:44 -usb -device usb-tablet,id=tablet1 -drive file=win7-32.qcow2,format=qcow2,if=none,id=drive1 -device ide-drive,drive=drive1,id=disk1 -cdrom en_windows_7_ultimate_x86_dvd_x15-65921.iso -name win7-32 -incoming tcp:0:5888

3.Do live migration
(qemu)migrate -d tcp:<ip of host B>:5888

4.Start VM without balloon driver in source host B,the CLI same as step 1.Start Listenning Port in Destination Host A,the CLI same as step 2 (the image is shared via NFS),do live migration.

5.Start VM with balloon driver in source host A:
/usr/libexec/qemu-kvm -m 2G -cpu Nehalem -smp 2 -monitor stdio -vnc :10 -netdev tap,id=hostnet1,script=/etc/qemu-ifup -device e1000,netdev=hostnet1,id=net1,mac=00:22:52:00:04:44 -usb -device usb-tablet,id=tablet1 -drive file=win7-32.qcow2,format=qcow2,if=none,id=drive1 -device ide-drive,drive=drive1,id=disk1 -cdrom en_windows_7_ultimate_x86_dvd_x15-65921.iso -name win7-32 -device virtio-balloon-pci,id=balloon

6.Start Listenning Port in Destination Host B (the image is shared via NFS):
/usr/libexec/qemu-kvm -m 2G -cpu Nehalem -smp 2 -monitor stdio -vnc :10 -netdev tap,id=hostnet1,script=/etc/qemu-ifup -device e1000,netdev=hostnet1,id=net1,mac=00:22:52:00:04:44 -usb -device usb-tablet,id=tablet1 -drive file=win7-32.qcow2,format=qcow2,if=none,id=drive1 -device ide-drive,drive=drive1,id=disk1 -cdrom en_windows_7_ultimate_x86_dvd_x15-65921.iso -name win7-32 -device virtio-balloon-pci,id=balloon -incoming tcp:0:5888

7.Do live migration
(qemu)migrate -d tcp:<ip of host B>:5888

8.Start VM with balloon driver in source host B,the CLI same as step 5.Start Listenning Port in Destination Host A,the CLI same as step 6 (the image is shared via NFS),do live migration.

Actual results:
4 times migration,qemu-kvm process all quit with "(qemu) qemu: warning: error while loading state for instance 0x0 of device 'ram'"

Expected results:
Migration successfully

Additional info:

1.Inside the guest,use "x86info.exe -a" get the cpu infomation:

C:\Program Files\GnuWin32\bin>x86info.exe -a
x86info v1.21.  Dave Jones 2001-2007
Feedback to <davej>.

Found 2 CPUs
issmp(): /dev/mem: No such file or directory
--------------------------------------------------------------------------
CPU #1
/dev/cpu/0/cpuid: No such file or directory
eax in: 0x00000000, eax = 00000004 ebx = 756e6547 ecx = 6c65746e edx = 49656e69
eax in: 0x00000001, eax = 000106a3 ebx = 00000800 ecx = 80b82201 edx = 078bfbfd
eax in: 0x00000002, eax = 00000001 ebx = 00000000 ecx = 00000000 edx = 002c307d
eax in: 0x00000003, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x00000004, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000

eax in: 0x80000000, eax = 8000000a ebx = 756e6547 ecx = 6c65746e edx = 49656e69
eax in: 0x80000001, eax = 000106a3 ebx = 00000000 ecx = 00000001 edx = 20100800
eax in: 0x80000002, eax = 65746e49 ebx = 6f43206c ecx = 69206572 edx = 78392037
eax in: 0x80000003, eax = 4e282078 ebx = 6c616865 ecx = 43206d65 edx = 7373616c
eax in: 0x80000004, eax = 726f4320 ebx = 37692065 ecx = 00000029 edx = 00000000
eax in: 0x80000005, eax = 01ff01ff ebx = 01ff01ff ecx = 40020140 edx = 40020140
eax in: 0x80000006, eax = 00000000 ebx = 42004200 ecx = 02008140 edx = 00000000
eax in: 0x80000007, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x80000008, eax = 00003024 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x80000009, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x8000000a, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000

Family: 6 Model: 10 Stepping: 3 Type: 0 Brand: 0
CPU Model: Pentium II (Deschutes) Original OEM
Feature flags:
 fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflsh mmx
fxsr sse sse2
Extended feature flags:
 sse3 ssse3 cx16 [19] [20] [21] [23] [31]
 SYSCALL xd em64t lahf_lm
Cache info
 L1 Instruction cache: 32KB, 8-way associative. 64 byte line size.
 L1 Data cache: 32KB, 8-way associative. 64 byte line size.
 L2 unified cache: 2MB, sectored, 8-way associative. 64 byte line size.
TLB info
Processor serial: 0001-06A3-0000-0000-0000-0000
/dev/cpu/0/msr: No such file or directory
Connector type: Slot 1 (242 Contact Cartridge)


MTRR registers:
MTRRcap (0xfe): MTRRphysBase0 (0x200): MTRRphysMask0 (0x201): MTRRphysBase1 (0x2
02): MTRRphysMask1 (0x203): MTRRphysBase2 (0x204): MTRRphysMask2 (0x205): MTRRph
ysBase3 (0x206): MTRRphysMask3 (0x207): MTRRphysBase4 (0x208): MTRRphysMask4 (0x
209): MTRRphysBase5 (0x20a): MTRRphysMask5 (0x20b): MTRRphysBase6 (0x20c): MTRRp
hysMask6 (0x20d): MTRRphysBase7 (0x20e): MTRRphysMask7 (0x20f): MTRRfix64K_00000
 (0x250): MTRRfix16K_80000 (0x258): MTRRfix16K_A0000 (0x259): MTRRfix4K_C8000 (0
x269): MTRRfix4K_D0000 0x26a: MTRRfix4K_D8000 0x26b: MTRRfix4K_E0000 0x26c: MTRR
fix4K_E8000 0x26d: MTRRfix4K_F0000 0x26e: MTRRfix4K_F8000 0x26f: MTRRdefType (0x
2ff):

3.40GHz processor (estimate).

--------------------------------------------------------------------------
CPU #2
eax in: 0x00000000, eax = 00000004 ebx = 756e6547 ecx = 6c65746e edx = 49656e69
eax in: 0x00000001, eax = 000106a3 ebx = 00000800 ecx = 80b82201 edx = 078bfbfd
eax in: 0x00000002, eax = 00000001 ebx = 00000000 ecx = 00000000 edx = 002c307d
eax in: 0x00000003, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x00000004, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000

eax in: 0x80000000, eax = 8000000a ebx = 756e6547 ecx = 6c65746e edx = 49656e69
eax in: 0x80000001, eax = 000106a3 ebx = 00000000 ecx = 00000001 edx = 20100800
eax in: 0x80000002, eax = 65746e49 ebx = 6f43206c ecx = 69206572 edx = 78392037
eax in: 0x80000003, eax = 4e282078 ebx = 6c616865 ecx = 43206d65 edx = 7373616c
eax in: 0x80000004, eax = 726f4320 ebx = 37692065 ecx = 00000029 edx = 00000000
eax in: 0x80000005, eax = 01ff01ff ebx = 01ff01ff ecx = 40020140 edx = 40020140
eax in: 0x80000006, eax = 00000000 ebx = 42004200 ecx = 02008140 edx = 00000000
eax in: 0x80000007, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x80000008, eax = 00003024 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x80000009, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000
eax in: 0x8000000a, eax = 00000000 ebx = 00000000 ecx = 00000000 edx = 00000000

Family: 6 Model: 10 Stepping: 3 Type: 0 Brand: 0
CPU Model: Pentium II (Deschutes) Original OEM
Feature flags:
 fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflsh mmx
fxsr sse sse2
Extended feature flags:
 sse3 ssse3 cx16 [19] [20] [21] [23] [31]
 SYSCALL xd em64t lahf_lm
Cache info
 L1 Instruction cache: 32KB, 8-way associative. 64 byte line size.
 L1 Data cache: 32KB, 8-way associative. 64 byte line size.
 L2 unified cache: 2MB, sectored, 8-way associative. 64 byte line size.
TLB info
Processor serial: 0001-06A3-0000-0000-0000-0000
Connector type: Slot 1 (242 Contact Cartridge)


MTRR registers:
MTRRcap (0xfe): MTRRphysBase0 (0x200): MTRRphysMask0 (0x201): MTRRphysBase1 (0x2
02): MTRRphysMask1 (0x203): MTRRphysBase2 (0x204): MTRRphysMask2 (0x205): MTRRph
ysBase3 (0x206): MTRRphysMask3 (0x207): MTRRphysBase4 (0x208): MTRRphysMask4 (0x
209): MTRRphysBase5 (0x20a): MTRRphysMask5 (0x20b): MTRRphysBase6 (0x20c): MTRRp
hysMask6 (0x20d): MTRRphysBase7 (0x20e): MTRRphysMask7 (0x20f): MTRRfix64K_00000
 (0x250): MTRRfix16K_80000 (0x258): MTRRfix16K_A0000 (0x259): MTRRfix4K_C8000 (0
x269): MTRRfix4K_D0000 0x26a: MTRRfix4K_D8000 0x26b: MTRRfix4K_E0000 0x26c: MTRR
fix4K_E8000 0x26d: MTRRfix4K_F0000 0x26e: MTRRfix4K_F8000 0x26f: MTRRdefType (0x
2ff):

3.40GHz processor (estimate).

--------------------------------------------------------------------------
WARNING: Detected SMP, but unable to access cpuid driver.
Used Uniprocessor CPU routines. Results inaccurate.

C:\Program Files\GnuWin32\bin>

2.The host infomation:
Host A:
#cat /proc/cpuinfo: 
processor	: 7
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz
stepping	: 7
microcode	: 0x29
cpu MHz		: 3276.882
cache size	: 8192 KB
physical id	: 0
siblings	: 8
core id		: 3
cpu cores	: 4
apicid		: 7
initial apicid	: 7
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips	: 6784.71
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

#cat /proc/meminfo:
MemTotal:        7736640 kB
MemFree:          142560 kB
MemAvailable:    5036368 kB
Buffers:             728 kB
Cached:          4929644 kB
SwapCached:         1020 kB
Active:          4134476 kB
Inactive:        3011776 kB
Active(anon):    1447124 kB
Inactive(anon):   794016 kB
Active(file):    2687352 kB
Inactive(file):  2217760 kB
Unevictable:           0 kB
Mlocked:               0 kB
SwapTotal:       8142844 kB
SwapFree:        8138388 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:       2214452 kB
Mapped:            35724 kB
Shmem:             25260 kB
Slab:             298604 kB
SReclaimable:     242112 kB
SUnreclaim:        56492 kB
KernelStack:        1960 kB
PageTables:        10720 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    12011164 kB
Committed_AS:    2651040 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      563308 kB
VmallocChunk:   34359081920 kB
HardwareCorrupted:     0 kB
AnonHugePages:   2129920 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:       84768 kB
DirectMap2M:     8124416 kB

Host B:
#cat /proc/cpuinfo:
processor	: 3
vendor_id	: GenuineIntel
cpu family	: 6
model		: 42
model name	: Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
stepping	: 7
microcode	: 0x29
cpu MHz		: 1861.695
cache size	: 6144 KB
physical id	: 0
siblings	: 4
core id		: 3
cpu cores	: 4
apicid		: 6
initial apicid	: 6
fpu		: yes
fpu_exception	: yes
cpuid level	: 13
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
bogomips	: 6185.51
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:

#cat /proc/meminfo
MemTotal:       16049188 kB
MemFree:         3682812 kB
MemAvailable:   13281916 kB
Buffers:              12 kB
Cached:          9639600 kB
SwapCached:        12204 kB
Active:         10401008 kB
Inactive:        1429688 kB
Active(anon):    2181808 kB
Inactive(anon):    34368 kB
Active(file):    8219200 kB
Inactive(file):  1395320 kB
Unevictable:        5852 kB
Mlocked:            5852 kB
SwapTotal:       8200188 kB
SwapFree:        8074744 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:       2188060 kB
Mapped:            31712 kB
Shmem:             22236 kB
Slab:             310456 kB
SReclaimable:     237988 kB
SUnreclaim:        72468 kB
KernelStack:        2160 kB
PageTables:        13140 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    16224780 kB
Committed_AS:    2609392 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      380504 kB
VmallocChunk:   34359316440 kB
HardwareCorrupted:     0 kB
AnonHugePages:   2152448 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
DirectMap4k:      159184 kB
DirectMap2M:    16496640 kB

Comment 6 Eduardo Habkost 2015-01-14 14:18:05 UTC
(In reply to shuyu from comment #5)
> Reproduce this issue on 2 intel hosts with different cpu models ,hit the
> same issue when do migration between 2 different intel hosts

I have questions about the steps on comment #5. When exactly does migration fail? I see you do migration on steps 3, 4, 7, 8. Does it fail on all of them?

If it fails on all cases, is there a specific reason comment #5 includes steps to reproduce with balloon driver, if migration already fails without it?


> 1.Inside the guest,use "x86info.exe -a" get the cpu infomation:

Was it running on which host? Can you report the guest-side x86info results on both hosts? (they should be exactly the same, but it is good to ensure that, anyway)

Comment 7 Eduardo Habkost 2015-01-15 18:31:48 UTC
All error return paths (except for version_id check) at ram_load() have error_report() calls. Do you have the full QEMU error output? Is there any additional error messages explaining why ram load failed?

Comment 8 Eduardo Habkost 2015-01-15 19:01:51 UTC
Other issues/questions:

1. Why are you testing the 7.0 qemu-kvm-rhev package (1.5.3) and not qemu-kvm-rhev-2.1.2?
2. You are not specifying the machine-type. You must always specify the machine-type when live-migrating.
3. Please confirm the qemu-kvm and *bios versions on both hosts, not only one host.

Comment 9 Eduardo Habkost 2015-02-05 16:26:19 UTC
All signs point to incompatible QEMU versions being used without explicit machine-type option, and no extra information was provided. Please reopen the bug if it is reproducible when specifying machine-type explicitly.

Comment 10 Mike Cao 2015-02-16 06:48:28 UTC
clear neeinfo as the bug is closed.


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