Skip to contentSkip to conversation

KVM Test result, kernel daf4de3.., userspace 724f8a9.. One new issue

DISCUSSION Yunfeng Zhao 3 participants 3 messages Mar 4, 2008 – Mar 5, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi, all,

This is today's KVM test result against kvm.git daf4de30ec718b16798aba07e9f25fd9e6ba9e53 and kvm-userspace.git 724f8a940ec0e78e607c051e6e82ca2f5055b1e1.
In today's testing , save/restore crashed host once on pae/ia32e hosts. One new issue has been found:
1. blue screen when booting 64bits windows guests </tracker/index.php?func=detail&aid=1906751&group_id=180599&atid=893831>
https://sourceforge.net/tracker/index.php?func=detail&aid=1906751&group_id=180599&atid=893831

Old issues:
2. Can not boot guests with 2.6.9 smp pae kernel
3. qcow based smp linux guests likely hang
https://sourceforge.net/tracker/index.php?func=detail&aid=1901980&group_id=180599&atid=893831
4. Fails to save/restore guests
https://sourceforge.net/tracker/index.php?func=detail&aid=1824525&group_id=180599&atid=893831
5. smp windows installer crashes while rebooting
https://sourceforge.net/tracker/index.php?func=detail&aid=1877875&group_id=180599&atid=893831
6. Timer of guest is inaccurate
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1826080&group_id=180599
7. Installer of 64bit vista guest will pause for ten minutes after reboot
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=1836905&group_id=180599

Test environment
================================================

Platform Woodcrest
CPU 4
Memory size 8G'

Details
================================================

IA32-pae:

1. boot guest with 256M memory PASS
2. boot two windows xp guest PASS
3. boot 4 same guest in parallel PASS
4. boot linux and windows guest in parallel PASS
5. boot guest with 1500M memory PASS
6. boot windows 2003 with ACPI enabled PASS
7. boot Windows xp with ACPI enabled PASS
8. boot Windows 2000 without ACPI PASS
9. kernel build on SMP linux guest FAIL
10. LTP on SMP linux guest FAIL
11. boot base kernel linux PASS
12. save/restore 32-bit HVM guests PASS
13. live migration 32-bit HVM guests PASS
14. boot SMP Windows xp with ACPI enabled PASS
15. boot SMP Windows 2003 with ACPI enabled PASS
16. boot SMP Windows 2000 with ACPI enabled PASS

================================================

IA32e:

1. boot four 32-bit guest in
parallel PASS
2. boot four 64-bit guest in
parallel PASS
3. boot 4G 64-bit
guest FAIL
4. boot 4G pae
guest PASS
5. boot 32-bit linux and 32 bit windows guest in parallel PASS
6. boot 32-bit guest with 1500M memory PASS
7. boot 64-bit guest with 1500M memory FAIL
8. boot 32-bit guest with 256M memory PASS
9. boot 64-bit guest with 256M memory FAIL
10. boot two 32-bit windows xp in parallel PASS
11. boot four 32-bit different guest in para PASS
12. save/restore 64-bit linux guests
PASS
13. save/restore 32-bit linux guests
PASS
14. boot 32-bit SMP windows 2003 with ACPI enabled PASS
15. boot 32-bit SMP Windows 2000 with ACPI enabled PASS
16. boot 32-bit SMP Windows xp with ACPI enabled PASS
17. boot 32-bit Windows 2000 without ACPI PASS
18. boot 64-bit Windows xp with ACPI enabled FAIL
19. boot 32-bit Windows xp without ACPI PASS
20. boot 64-bit UP
vista PASS
21. boot 64-bit SMP
vista FAIL
22. kernel build in 32-bit linux guest OS FAIL
23. kernel build in 64-bit linux guest OS PASS
24. LTP on SMP 32-bit linux guest OS FAIL
25. LTP on SMP 64-bit linux guest OS PASS
26. boot 64-bit guests with ACPI enabled PASS
27. boot 32-bit
x-server PASS
28. boot 64-bit SMP windows XP with ACPI enabled FAIL
29. boot 64-bit SMP windows 2003 with ACPI enabled FAIL
30. live migration 64bit linux
guests PASS
31. live migration 32bit linux
guests PASS

Report Summary on IA32-pae

Summary Test Report of Last Session
=====================================================================
Total Pass Fail NoResult Crash
=====================================================================

control_panel               7       6       0         0        1
Restart                     1       1       0         0        0
gtest                       15      13      2         0        0
=====================================================================
control_panel               7       6       0         0        1
 :KVM_LM_PAE_gPAE           1       1       0         0        0
 :KVM_four_sguest_PAE_gPA   1       1       0         0        0
 :KVM_256M_guest_PAE_gPAE   1       1       0         0        0
 :KVM_linux_win_PAE_gPAE    1       1       0         0        0
 :KVM_1500M_guest_PAE_gPA   1       1       0         0        0
 :KVM_SR_PAE_gPAE           1       0       0         0        1
 :KVM_two_winxp_PAE_gPAE    1       1       0         0        0
Restart                     1       1       0         0        0
 :GuestPAE_PAE_gPAE         1       1       0         0        0
gtest                       15      13      2         0        0
 :ltp_nightly_PAE_gPAE      1       0       1         0        0
 :boot_up_acpi_PAE_gPAE     1       1       0         0        0
 :reboot_xp_PAE_gPAE        1       1       0         0        0
 :boot_up_vista_PAE_gPAE    1       1       0         0        0
 :boot_up_acpi_xp_PAE_gPA   1       1       0         0        0
 :boot_up_acpi_win2k3_PAE   1       1       0         0        0
 :boot_base_kernel_PAE_gP   1       1       0         0        0
 :boot_smp_acpi_win2k3_PA   1       1       0         0        0
 :boot_smp_acpi_win2k_PAE   1       1       0         0        0
 :boot_up_acpi_win2k_PAE_   1       1       0         0        0
 :boot_smp_acpi_xp_PAE_gP   1       1       0         0        0
 :boot_up_noacpi_win2k_PA   1       1       0         0        0
 :boot_smp_vista_PAE_gPAE   1       1       0         0        0
 :bootx_PAE_gPAE            1       1       0         0        0
 :kb_nightly_PAE_gPAE       1       0       1         0        0

=====================================================================
Total 23 20 2 0 1

Report Summary on IA32e

Summary Test Report of Last Session
=====================================================================
Total Pass Fail NoResult Crash
=====================================================================

control_panel               17      9       4         2        2
Restart                     3       3       0         0        0
gtest                       24      13      11        0        0
=====================================================================
control_panel               17      9       4         2        2
 :KVM_LM_64_g64             2       0       0         1        1
 :KVM_four_sguest_64_gPAE   1       1       0         0        0
 :KVM_4G_guest_64_g64       1       0       1         0        0
 :KVM_four_sguest_64_g64    1       1       0         0        0
 :KVM_linux_win_64_gPAE     1       1       0         0        0
 :KVM_1500M_guest_64_gPAE   1       1       0         0        0
 :KVM_SR_64_g64             2       0       0         1        1
 :KVM_LM_64_gPAE            1       1       0         0        0
 :KVM_256M_guest_64_g64     1       0       1         0        0
 :KVM_1500M_guest_64_g64    1       0       1         0        0
 :KVM_4G_guest_64_gPAE      1       1       0         0        0
 :KVM_SR_64_gPAE            1       0       1         0        0
 :KVM_256M_guest_64_gPAE    1       1       0         0        0
 :KVM_two_winxp_64_gPAE     1       1       0         0        0
 :KVM_four_dguest_64_gPAE   1       1       0         0        0
Restart                     3       3       0         0        0
 :GuestPAE_64_gPAE          1       1       0         0        0
 :BootTo64_64_gPAE          1       1       0         0        0
 :Guest64_64_gPAE           1       1       0         0        0
gtest                       24      13      11        0        0
 :boot_up_acpi_64_gPAE      1       0       1         0        0
 :boot_up_noacpi_xp_64_gP   1       1       0         0        0
 :boot_smp_acpi_xp_64_g64   1       0       1         0        0
 :boot_base_kernel_64_gPA   1       1       0         0        0
 :boot_smp_acpi_win2k3_64   1       1       0         0        0
 :boot_smp_acpi_win2k_64_   1       1       0         0        0
 :boot_base_kernel_64_g64   1       1       0         0        0
 :bootx_64_gPAE             1       1       0         0        0
 :kb_nightly_64_gPAE        1       0       1         0        0
 :ltp_nightly_64_g64        1       0       1         0        0
 :boot_up_acpi_64_g64       1       0       1         0        0
 :boot_up_noacpi_win2k_64   1       1       0         0        0
 :boot_smp_acpi_xp_64_gPA   1       1       0         0        0
 :boot_smp_vista_64_gPAE    1       0       1         0        0
 :boot_up_acpi_win2k3_64_   1       0       1         0        0
 :bootx_64_g64              1       1       0         0        0
 :boot_up_vista_64_g64      1       1       0         0        0
 :boot_smp_vista_64_g64     1       0       1         0        0
 :boot_up_acpi_xp_64_g64    1       0       1         0        0
 :boot_up_vista_64_gPAE     1       1       0         0        0
 :ltp_nightly_64_gPAE       1       0       1         0        0
 :boot_smp_acpi_win2k3_64   1       0       1         0        0
 :boot_up_noacpi_win2k3_6   1       1       0         0        0
 :kb_nightly_64_g64         1       1       0         0        0

=====================================================================
Total 44 25 15 2 2

Best regards,
Yunfeng

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

#1 lore raw
Quoted 12 lines · Yunfeng Zhao

Hi, all,

This is today's KVM test result against kvm.git daf4de30ec718b16798aba07e9f25fd9e6ba9e53 and kvm-userspace.git 724f8a940ec0e78e607c051e6e82ca2f5055b1e1.
In today's testing , save/restore crashed host once on pae/ia32e hosts. One new issue has been found:
1. blue screen when booting 64bits windows guests </tracker/index.php?func=detail&aid=1906751&group_id=180599&atid=893831>
https://sourceforge.net/tracker/index.php?func=detail&aid=1906751&group_id=180599&atid=893831

This was caused by

commit 3a001629eea909b2aa97f001a9db4700f15d986b

Author: Amit Shah <[email protected]>
Date:   Thu Feb 28 16:06:15 2008 +0530

KVM: is_long_mode() should check for EFER.LMA

is_long_mode currently checks the LongModeEnable bit in EFER instead of the LongModeActive bit. This is wrong, but we survived this till now since it wasn't triggered. This breaks guests that go from long mode to compatibility mode.

This is noticed on a solaris guest and fixes bug #1842160

arch/x86/kvm/mmu.h +1 -1
index e64e9f5..d83225e 100644
@@ -26,7 +26,7 @@ static inline int kvm_mmu_reload(struct kvm_vcpu *vcpu)
 static inline int is_long_mode(struct kvm_vcpu *vcpu)
 {
 #ifdef CONFIG_X86_64
-       return vcpu->arch.shadow_efer & EFER_LME;
+       return vcpu->arch.shadow_efer & EFER_LMA;
 #else
        return 0;
 #endif

I'm reverting that patch.

Signature · 7 lines
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
#2 lore raw
Quoted 27 lines · On Tuesday 04 March 2008 17:00:25 Avi Kivity wrote:
Quoted 11 lines · Yunfeng Zhao

Hi, all,

This is today's KVM test result against kvm.git daf4de30ec718b16798aba07e9f25fd9e6ba9e53 and kvm-userspace.git 724f8a940ec0e78e607c051e6e82ca2f5055b1e1.
In today's testing , save/restore crashed host once on pae/ia32e hosts. One new issue has been found:
1. blue screen when booting 64bits windows guests </tracker/index.php?func=detail&aid=1906751&group_id=180599&atid=893831>
https://sourceforge.net/tracker/index.php?func=detail&aid=1906751&group_i
d=180599&atid=893831

This was caused by

commit 3a001629eea909b2aa97f001a9db4700f15d986b

Author: Amit Shah <[email protected]>
Date:   Thu Feb 28 16:06:15 2008 +0530

KVM: is_long_mode() should check for EFER.LMA

is_long_mode currently checks the LongModeEnable bit in EFER instead of the LongModeActive bit. This is wrong, but we survived this till now since it wasn't triggered. This breaks guests that go from long mode to compatibility mode.

Quoted 4 lines

This is noticed on a solaris guest and fixes bug #1842160

This only affects Intel platforms; vista, xp64 work fine with and without smp on SVM with this patch.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/