2022-01-04 09:44:59 |
Po-Hsu Lin |
bug |
|
|
added bug |
2022-01-04 09:45:31 |
Po-Hsu Lin |
description |
Issue found on Bionic 4.15.0-166.174 with node rizzo
Running 'kvm-ok'
INFO: /dev/kvm exists
KVM acceleration can be used
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
BUILD_HEAD=8a30588c
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49
enabling apic
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
filter = vmx_ldtr_test, test = test_vmx_feature_control
filter = vmx_ldtr_test, test = test_vmxon
filter = vmx_ldtr_test, test = test_vmptrld
filter = vmx_ldtr_test, test = test_vmclear
filter = vmx_ldtr_test, test = test_vmptrst
filter = vmx_ldtr_test, test = test_vmwrite_vmread
filter = vmx_ldtr_test, test = test_vmcs_high
filter = vmx_ldtr_test, test = test_vmcs_lifecycle
filter = vmx_ldtr_test, test = test_vmx_caps
filter = vmx_ldtr_test, test = test_vmread_flags_touch
filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
filter = vmx_ldtr_test, test = null
filter = vmx_ldtr_test, test = vmenter
filter = vmx_ldtr_test, test = preemption timer
filter = vmx_ldtr_test, test = control field PAT
filter = vmx_ldtr_test, test = control field EFER
filter = vmx_ldtr_test, test = CR shadowing
filter = vmx_ldtr_test, test = I/O bitmap
filter = vmx_ldtr_test, test = instruction intercept
filter = vmx_ldtr_test, test = EPT A/D disabled
filter = vmx_ldtr_test, test = EPT A/D enabled
filter = vmx_ldtr_test, test = PML
filter = vmx_ldtr_test, test = interrupt
filter = vmx_ldtr_test, test = nmi_hlt
filter = vmx_ldtr_test, test = debug controls
filter = vmx_ldtr_test, test = MSR switch
filter = vmx_ldtr_test, test = vmmcall
filter = vmx_ldtr_test, test = disable RDTSCP
filter = vmx_ldtr_test, test = int3
filter = vmx_ldtr_test, test = into
filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
filter = vmx_ldtr_test, test = invalid_msr
filter = vmx_ldtr_test, test = v2_null_test
filter = vmx_ldtr_test, test = v2_multiple_entries_test
filter = vmx_ldtr_test, test = fixture_test_case1
filter = vmx_ldtr_test, test = fixture_test_case2
filter = vmx_ldtr_test, test = invvpid_test
filter = vmx_ldtr_test, test = vmx_controls_test
filter = vmx_ldtr_test, test = vmx_host_state_area_test
filter = vmx_ldtr_test, test = vmx_guest_state_area_test
filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
filter = vmx_ldtr_test, test = apic_reg_virt_test
filter = vmx_ldtr_test, test = virt_x2apic_mode_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
filter = vmx_ldtr_test, test = vmx_init_signal_test
filter = vmx_ldtr_test, test = vmx_sipi_signal_test
filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
filter = vmx_ldtr_test, test = vmx_ldtr_test
Test suite: vmx_ldtr_test
PASS: Expected 18 for L2 LDTR selector (got 18)
FAIL: Expected 0 for L1 LDTR selector (got 50)
filter = vmx_ldtr_test, test = vmx_cr_load_test
filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test
filter = vmx_ldtr_test, test = vmx_nm_test
filter = vmx_ldtr_test, test = vmx_db_test
filter = vmx_ldtr_test, test = vmx_nmi_window_test
filter = vmx_ldtr_test, test = vmx_intr_window_test
filter = vmx_ldtr_test, test = vmx_pending_event_test
filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test
filter = vmx_ldtr_test, test = vmx_store_tsc_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test
filter = vmx_ldtr_test, test = ept_access_test_not_present
filter = vmx_ldtr_test, test = ept_access_test_read_only
filter = vmx_ldtr_test, test = ept_access_test_write_only
filter = vmx_ldtr_test, test = ept_access_test_read_write
filter = vmx_ldtr_test, test = ept_access_test_execute_only
filter = vmx_ldtr_test, test = ept_access_test_read_execute
filter = vmx_ldtr_test, test = ept_access_test_write_execute
filter = vmx_ldtr_test, test = ept_access_test_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_reserved_bits
filter = vmx_ldtr_test, test = ept_access_test_ignored_bits
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_page_fault
filter = vmx_ldtr_test, test = ept_access_test_force_2m_page
filter = vmx_ldtr_test, test = atomic_switch_max_msrs_test
filter = vmx_ldtr_test, test = atomic_switch_overflow_msrs_test
filter = vmx_ldtr_test, test = rdtsc_vmexit_diff_test
filter = vmx_ldtr_test, test = vmx_mtf_test
filter = vmx_ldtr_test, test = vmx_mtf_pdpte_test
filter = vmx_ldtr_test, test = vmx_pf_exception_test
filter = vmx_ldtr_test, test = vmx_pf_no_vpid_test
filter = vmx_ldtr_test, test = vmx_pf_invvpid_test
filter = vmx_ldtr_test, test = vmx_pf_vpid_test
SUMMARY: 5 tests, 1 unexpected failures
FAIL vmx_ldtr_test (5 tests, 1 unexpected failures)
This is a new test added into vmx, so it's not a regression. |
Issue found on Bionic 4.15.0-166.174 with node rizzo
Running 'kvm-ok'
INFO: /dev/kvm exists
KVM acceleration can be used
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
BUILD_HEAD=8a30588c
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49
enabling apic
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
filter = vmx_ldtr_test, test = test_vmx_feature_control
filter = vmx_ldtr_test, test = test_vmxon
filter = vmx_ldtr_test, test = test_vmptrld
filter = vmx_ldtr_test, test = test_vmclear
filter = vmx_ldtr_test, test = test_vmptrst
filter = vmx_ldtr_test, test = test_vmwrite_vmread
filter = vmx_ldtr_test, test = test_vmcs_high
filter = vmx_ldtr_test, test = test_vmcs_lifecycle
filter = vmx_ldtr_test, test = test_vmx_caps
filter = vmx_ldtr_test, test = test_vmread_flags_touch
filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
filter = vmx_ldtr_test, test = null
filter = vmx_ldtr_test, test = vmenter
filter = vmx_ldtr_test, test = preemption timer
filter = vmx_ldtr_test, test = control field PAT
filter = vmx_ldtr_test, test = control field EFER
filter = vmx_ldtr_test, test = CR shadowing
filter = vmx_ldtr_test, test = I/O bitmap
filter = vmx_ldtr_test, test = instruction intercept
filter = vmx_ldtr_test, test = EPT A/D disabled
filter = vmx_ldtr_test, test = EPT A/D enabled
filter = vmx_ldtr_test, test = PML
filter = vmx_ldtr_test, test = interrupt
filter = vmx_ldtr_test, test = nmi_hlt
filter = vmx_ldtr_test, test = debug controls
filter = vmx_ldtr_test, test = MSR switch
filter = vmx_ldtr_test, test = vmmcall
filter = vmx_ldtr_test, test = disable RDTSCP
filter = vmx_ldtr_test, test = int3
filter = vmx_ldtr_test, test = into
filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
filter = vmx_ldtr_test, test = invalid_msr
filter = vmx_ldtr_test, test = v2_null_test
filter = vmx_ldtr_test, test = v2_multiple_entries_test
filter = vmx_ldtr_test, test = fixture_test_case1
filter = vmx_ldtr_test, test = fixture_test_case2
filter = vmx_ldtr_test, test = invvpid_test
filter = vmx_ldtr_test, test = vmx_controls_test
filter = vmx_ldtr_test, test = vmx_host_state_area_test
filter = vmx_ldtr_test, test = vmx_guest_state_area_test
filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
filter = vmx_ldtr_test, test = apic_reg_virt_test
filter = vmx_ldtr_test, test = virt_x2apic_mode_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
filter = vmx_ldtr_test, test = vmx_init_signal_test
filter = vmx_ldtr_test, test = vmx_sipi_signal_test
filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
filter = vmx_ldtr_test, test = vmx_ldtr_test
Test suite: vmx_ldtr_test
PASS: Expected 18 for L2 LDTR selector (got 18)
FAIL: Expected 0 for L1 LDTR selector (got 50)
filter = vmx_ldtr_test, test = vmx_cr_load_test
filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test
filter = vmx_ldtr_test, test = vmx_nm_test
filter = vmx_ldtr_test, test = vmx_db_test
filter = vmx_ldtr_test, test = vmx_nmi_window_test
filter = vmx_ldtr_test, test = vmx_intr_window_test
filter = vmx_ldtr_test, test = vmx_pending_event_test
filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test
filter = vmx_ldtr_test, test = vmx_store_tsc_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test
filter = vmx_ldtr_test, test = ept_access_test_not_present
filter = vmx_ldtr_test, test = ept_access_test_read_only
filter = vmx_ldtr_test, test = ept_access_test_write_only
filter = vmx_ldtr_test, test = ept_access_test_read_write
filter = vmx_ldtr_test, test = ept_access_test_execute_only
filter = vmx_ldtr_test, test = ept_access_test_read_execute
filter = vmx_ldtr_test, test = ept_access_test_write_execute
filter = vmx_ldtr_test, test = ept_access_test_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_reserved_bits
filter = vmx_ldtr_test, test = ept_access_test_ignored_bits
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_page_fault
filter = vmx_ldtr_test, test = ept_access_test_force_2m_page
filter = vmx_ldtr_test, test = atomic_switch_max_msrs_test
filter = vmx_ldtr_test, test = atomic_switch_overflow_msrs_test
filter = vmx_ldtr_test, test = rdtsc_vmexit_diff_test
filter = vmx_ldtr_test, test = vmx_mtf_test
filter = vmx_ldtr_test, test = vmx_mtf_pdpte_test
filter = vmx_ldtr_test, test = vmx_pf_exception_test
filter = vmx_ldtr_test, test = vmx_pf_no_vpid_test
filter = vmx_ldtr_test, test = vmx_pf_invvpid_test
filter = vmx_ldtr_test, test = vmx_pf_vpid_test
SUMMARY: 5 tests, 1 unexpected failures
FAIL vmx_ldtr_test (5 tests, 1 unexpected failures)
This is a new test added into vmx (and split out for debug purpose), so it's not a regression. |
|
2022-01-04 09:45:45 |
Po-Hsu Lin |
tags |
|
4.15 bionic sru-20211129 ubuntu-kvm-unit-tests |
|
2022-01-20 11:22:34 |
Krzysztof Kozlowski |
tags |
4.15 bionic sru-20211129 ubuntu-kvm-unit-tests |
4.15 5.13 bionic hinted impish oracle sru-20211129 ubuntu-kvm-unit-tests |
|
2022-01-25 15:04:57 |
Zachary Tahenakos |
tags |
4.15 5.13 bionic hinted impish oracle sru-20211129 ubuntu-kvm-unit-tests |
4.15 5.13 5.4 bionic focal hinted impish oracle sru-20211129 sru-20220103 ubuntu-kvm-unit-tests |
|
2022-04-01 07:28:51 |
Po-Hsu Lin |
bug task added |
|
linux (Ubuntu) |
|
2022-04-01 07:29:17 |
Po-Hsu Lin |
nominated for series |
|
Ubuntu Impish |
|
2022-04-01 07:29:17 |
Po-Hsu Lin |
bug task added |
|
linux (Ubuntu Impish) |
|
2022-04-01 07:29:17 |
Po-Hsu Lin |
nominated for series |
|
Ubuntu Focal |
|
2022-04-01 07:29:17 |
Po-Hsu Lin |
bug task added |
|
linux (Ubuntu Focal) |
|
2022-04-01 07:29:17 |
Po-Hsu Lin |
nominated for series |
|
Ubuntu Jammy |
|
2022-04-01 07:29:17 |
Po-Hsu Lin |
bug task added |
|
linux (Ubuntu Jammy) |
|
2022-04-01 07:29:17 |
Po-Hsu Lin |
nominated for series |
|
Ubuntu Bionic |
|
2022-04-01 07:29:17 |
Po-Hsu Lin |
bug task added |
|
linux (Ubuntu Bionic) |
|
2022-04-01 07:29:27 |
Po-Hsu Lin |
linux (Ubuntu Impish): assignee |
|
Po-Hsu Lin (cypressyew) |
|
2022-04-01 07:29:39 |
Po-Hsu Lin |
linux (Ubuntu Impish): status |
New |
In Progress |
|
2022-04-01 07:30:06 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2022-04-01 07:30:08 |
Ubuntu Kernel Bot |
linux (Ubuntu Bionic): status |
New |
Incomplete |
|
2022-04-01 07:30:11 |
Ubuntu Kernel Bot |
linux (Ubuntu Focal): status |
New |
Incomplete |
|
2022-04-01 08:19:13 |
Po-Hsu Lin |
linux (Ubuntu Jammy): status |
Incomplete |
Fix Released |
|
2022-04-01 10:18:52 |
Po-Hsu Lin |
description |
Issue found on Bionic 4.15.0-166.174 with node rizzo
Running 'kvm-ok'
INFO: /dev/kvm exists
KVM acceleration can be used
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
BUILD_HEAD=8a30588c
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49
enabling apic
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
filter = vmx_ldtr_test, test = test_vmx_feature_control
filter = vmx_ldtr_test, test = test_vmxon
filter = vmx_ldtr_test, test = test_vmptrld
filter = vmx_ldtr_test, test = test_vmclear
filter = vmx_ldtr_test, test = test_vmptrst
filter = vmx_ldtr_test, test = test_vmwrite_vmread
filter = vmx_ldtr_test, test = test_vmcs_high
filter = vmx_ldtr_test, test = test_vmcs_lifecycle
filter = vmx_ldtr_test, test = test_vmx_caps
filter = vmx_ldtr_test, test = test_vmread_flags_touch
filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
filter = vmx_ldtr_test, test = null
filter = vmx_ldtr_test, test = vmenter
filter = vmx_ldtr_test, test = preemption timer
filter = vmx_ldtr_test, test = control field PAT
filter = vmx_ldtr_test, test = control field EFER
filter = vmx_ldtr_test, test = CR shadowing
filter = vmx_ldtr_test, test = I/O bitmap
filter = vmx_ldtr_test, test = instruction intercept
filter = vmx_ldtr_test, test = EPT A/D disabled
filter = vmx_ldtr_test, test = EPT A/D enabled
filter = vmx_ldtr_test, test = PML
filter = vmx_ldtr_test, test = interrupt
filter = vmx_ldtr_test, test = nmi_hlt
filter = vmx_ldtr_test, test = debug controls
filter = vmx_ldtr_test, test = MSR switch
filter = vmx_ldtr_test, test = vmmcall
filter = vmx_ldtr_test, test = disable RDTSCP
filter = vmx_ldtr_test, test = int3
filter = vmx_ldtr_test, test = into
filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
filter = vmx_ldtr_test, test = invalid_msr
filter = vmx_ldtr_test, test = v2_null_test
filter = vmx_ldtr_test, test = v2_multiple_entries_test
filter = vmx_ldtr_test, test = fixture_test_case1
filter = vmx_ldtr_test, test = fixture_test_case2
filter = vmx_ldtr_test, test = invvpid_test
filter = vmx_ldtr_test, test = vmx_controls_test
filter = vmx_ldtr_test, test = vmx_host_state_area_test
filter = vmx_ldtr_test, test = vmx_guest_state_area_test
filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
filter = vmx_ldtr_test, test = apic_reg_virt_test
filter = vmx_ldtr_test, test = virt_x2apic_mode_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
filter = vmx_ldtr_test, test = vmx_init_signal_test
filter = vmx_ldtr_test, test = vmx_sipi_signal_test
filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
filter = vmx_ldtr_test, test = vmx_ldtr_test
Test suite: vmx_ldtr_test
PASS: Expected 18 for L2 LDTR selector (got 18)
FAIL: Expected 0 for L1 LDTR selector (got 50)
filter = vmx_ldtr_test, test = vmx_cr_load_test
filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test
filter = vmx_ldtr_test, test = vmx_nm_test
filter = vmx_ldtr_test, test = vmx_db_test
filter = vmx_ldtr_test, test = vmx_nmi_window_test
filter = vmx_ldtr_test, test = vmx_intr_window_test
filter = vmx_ldtr_test, test = vmx_pending_event_test
filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test
filter = vmx_ldtr_test, test = vmx_store_tsc_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test
filter = vmx_ldtr_test, test = ept_access_test_not_present
filter = vmx_ldtr_test, test = ept_access_test_read_only
filter = vmx_ldtr_test, test = ept_access_test_write_only
filter = vmx_ldtr_test, test = ept_access_test_read_write
filter = vmx_ldtr_test, test = ept_access_test_execute_only
filter = vmx_ldtr_test, test = ept_access_test_read_execute
filter = vmx_ldtr_test, test = ept_access_test_write_execute
filter = vmx_ldtr_test, test = ept_access_test_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_reserved_bits
filter = vmx_ldtr_test, test = ept_access_test_ignored_bits
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_page_fault
filter = vmx_ldtr_test, test = ept_access_test_force_2m_page
filter = vmx_ldtr_test, test = atomic_switch_max_msrs_test
filter = vmx_ldtr_test, test = atomic_switch_overflow_msrs_test
filter = vmx_ldtr_test, test = rdtsc_vmexit_diff_test
filter = vmx_ldtr_test, test = vmx_mtf_test
filter = vmx_ldtr_test, test = vmx_mtf_pdpte_test
filter = vmx_ldtr_test, test = vmx_pf_exception_test
filter = vmx_ldtr_test, test = vmx_pf_no_vpid_test
filter = vmx_ldtr_test, test = vmx_pf_invvpid_test
filter = vmx_ldtr_test, test = vmx_pf_vpid_test
SUMMARY: 5 tests, 1 unexpected failures
FAIL vmx_ldtr_test (5 tests, 1 unexpected failures)
This is a new test added into vmx (and split out for debug purpose), so it's not a regression. |
[Impact]
vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with:
FAIL: Expected 0 for L1 LDTR selector (got 50)
It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its
architecturally defined value on nested VM-Exit"
According to Intel 64 and IA-32 Architectures Software Developer’s
Manual, L1's LDTR should be 0 after an emulated VM-exit from L2.
[Fix]
* afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit"
We already have this patch in Jammy.
This patch can be cherry-picked into F/F-OEM-5.14/I. But backport is required for
Bionic, as the code snippet for nested KVM haven't been split out to
vmx/nested.c (55d2375e KVM: nVMX: Move nested code to dedicated files).
[Test]
Test kernels can be found here:
https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/
Tested with:
* B (bare-metal)
* F (KVM instance)
* I (bare-metal)
With this patched kernel, this test will pass:
PASS: Expected 0 for L1 LDTR selector (got 0)
Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to
make sure this is not causing any other regressions.
[Where problem could occur]
If the patch is incorrect it might affect the nested KVM functionality
while existing from L2 to L1.
[Original bug description]
Issue found on Bionic 4.15.0-166.174 with node rizzo
Running 'kvm-ok'
INFO: /dev/kvm exists
KVM acceleration can be used
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
BUILD_HEAD=8a30588c
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49
enabling apic
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
filter = vmx_ldtr_test, test = test_vmx_feature_control
filter = vmx_ldtr_test, test = test_vmxon
filter = vmx_ldtr_test, test = test_vmptrld
filter = vmx_ldtr_test, test = test_vmclear
filter = vmx_ldtr_test, test = test_vmptrst
filter = vmx_ldtr_test, test = test_vmwrite_vmread
filter = vmx_ldtr_test, test = test_vmcs_high
filter = vmx_ldtr_test, test = test_vmcs_lifecycle
filter = vmx_ldtr_test, test = test_vmx_caps
filter = vmx_ldtr_test, test = test_vmread_flags_touch
filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
filter = vmx_ldtr_test, test = null
filter = vmx_ldtr_test, test = vmenter
filter = vmx_ldtr_test, test = preemption timer
filter = vmx_ldtr_test, test = control field PAT
filter = vmx_ldtr_test, test = control field EFER
filter = vmx_ldtr_test, test = CR shadowing
filter = vmx_ldtr_test, test = I/O bitmap
filter = vmx_ldtr_test, test = instruction intercept
filter = vmx_ldtr_test, test = EPT A/D disabled
filter = vmx_ldtr_test, test = EPT A/D enabled
filter = vmx_ldtr_test, test = PML
filter = vmx_ldtr_test, test = interrupt
filter = vmx_ldtr_test, test = nmi_hlt
filter = vmx_ldtr_test, test = debug controls
filter = vmx_ldtr_test, test = MSR switch
filter = vmx_ldtr_test, test = vmmcall
filter = vmx_ldtr_test, test = disable RDTSCP
filter = vmx_ldtr_test, test = int3
filter = vmx_ldtr_test, test = into
filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
filter = vmx_ldtr_test, test = invalid_msr
filter = vmx_ldtr_test, test = v2_null_test
filter = vmx_ldtr_test, test = v2_multiple_entries_test
filter = vmx_ldtr_test, test = fixture_test_case1
filter = vmx_ldtr_test, test = fixture_test_case2
filter = vmx_ldtr_test, test = invvpid_test
filter = vmx_ldtr_test, test = vmx_controls_test
filter = vmx_ldtr_test, test = vmx_host_state_area_test
filter = vmx_ldtr_test, test = vmx_guest_state_area_test
filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
filter = vmx_ldtr_test, test = apic_reg_virt_test
filter = vmx_ldtr_test, test = virt_x2apic_mode_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
filter = vmx_ldtr_test, test = vmx_init_signal_test
filter = vmx_ldtr_test, test = vmx_sipi_signal_test
filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
filter = vmx_ldtr_test, test = vmx_ldtr_test
Test suite: vmx_ldtr_test
PASS: Expected 18 for L2 LDTR selector (got 18)
FAIL: Expected 0 for L1 LDTR selector (got 50)
filter = vmx_ldtr_test, test = vmx_cr_load_test
filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test
filter = vmx_ldtr_test, test = vmx_nm_test
filter = vmx_ldtr_test, test = vmx_db_test
filter = vmx_ldtr_test, test = vmx_nmi_window_test
filter = vmx_ldtr_test, test = vmx_intr_window_test
filter = vmx_ldtr_test, test = vmx_pending_event_test
filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test
filter = vmx_ldtr_test, test = vmx_store_tsc_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test
filter = vmx_ldtr_test, test = ept_access_test_not_present
filter = vmx_ldtr_test, test = ept_access_test_read_only
filter = vmx_ldtr_test, test = ept_access_test_write_only
filter = vmx_ldtr_test, test = ept_access_test_read_write
filter = vmx_ldtr_test, test = ept_access_test_execute_only
filter = vmx_ldtr_test, test = ept_access_test_read_execute
filter = vmx_ldtr_test, test = ept_access_test_write_execute
filter = vmx_ldtr_test, test = ept_access_test_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_reserved_bits
filter = vmx_ldtr_test, test = ept_access_test_ignored_bits
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_page_fault
filter = vmx_ldtr_test, test = ept_access_test_force_2m_page
filter = vmx_ldtr_test, test = atomic_switch_max_msrs_test
filter = vmx_ldtr_test, test = atomic_switch_overflow_msrs_test
filter = vmx_ldtr_test, test = rdtsc_vmexit_diff_test
filter = vmx_ldtr_test, test = vmx_mtf_test
filter = vmx_ldtr_test, test = vmx_mtf_pdpte_test
filter = vmx_ldtr_test, test = vmx_pf_exception_test
filter = vmx_ldtr_test, test = vmx_pf_no_vpid_test
filter = vmx_ldtr_test, test = vmx_pf_invvpid_test
filter = vmx_ldtr_test, test = vmx_pf_vpid_test
SUMMARY: 5 tests, 1 unexpected failures
FAIL vmx_ldtr_test (5 tests, 1 unexpected failures)
This is a new test added into vmx (and split out for debug purpose), so it's not a regression. |
|
2022-04-01 10:18:56 |
Po-Hsu Lin |
linux (Ubuntu Focal): status |
Incomplete |
In Progress |
|
2022-04-01 10:18:59 |
Po-Hsu Lin |
linux (Ubuntu Bionic): status |
Incomplete |
In Progress |
|
2022-04-01 10:19:03 |
Po-Hsu Lin |
ubuntu-kernel-tests: status |
New |
In Progress |
|
2022-04-01 10:19:06 |
Po-Hsu Lin |
linux (Ubuntu Bionic): assignee |
|
Po-Hsu Lin (cypressyew) |
|
2022-04-01 10:19:07 |
Po-Hsu Lin |
linux (Ubuntu Focal): assignee |
|
Po-Hsu Lin (cypressyew) |
|
2022-04-01 10:20:52 |
Po-Hsu Lin |
bug task added |
|
linux-oem-5.14 (Ubuntu) |
|
2022-04-01 10:21:07 |
Po-Hsu Lin |
linux-oem-5.14 (Ubuntu Bionic): status |
New |
Invalid |
|
2022-04-01 10:21:37 |
Po-Hsu Lin |
linux-oem-5.14 (Ubuntu Focal): status |
New |
In Progress |
|
2022-04-01 10:21:48 |
Po-Hsu Lin |
linux-oem-5.14 (Ubuntu Impish): status |
New |
Invalid |
|
2022-04-01 10:22:00 |
Po-Hsu Lin |
linux-oem-5.14 (Ubuntu Jammy): status |
New |
Invalid |
|
2022-04-01 10:22:13 |
Po-Hsu Lin |
linux-oem-5.14 (Ubuntu Focal): assignee |
|
Po-Hsu Lin (cypressyew) |
|
2022-04-01 10:27:31 |
Po-Hsu Lin |
description |
[Impact]
vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with:
FAIL: Expected 0 for L1 LDTR selector (got 50)
It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its
architecturally defined value on nested VM-Exit"
According to Intel 64 and IA-32 Architectures Software Developer’s
Manual, L1's LDTR should be 0 after an emulated VM-exit from L2.
[Fix]
* afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit"
We already have this patch in Jammy.
This patch can be cherry-picked into F/F-OEM-5.14/I. But backport is required for
Bionic, as the code snippet for nested KVM haven't been split out to
vmx/nested.c (55d2375e KVM: nVMX: Move nested code to dedicated files).
[Test]
Test kernels can be found here:
https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/
Tested with:
* B (bare-metal)
* F (KVM instance)
* I (bare-metal)
With this patched kernel, this test will pass:
PASS: Expected 0 for L1 LDTR selector (got 0)
Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to
make sure this is not causing any other regressions.
[Where problem could occur]
If the patch is incorrect it might affect the nested KVM functionality
while existing from L2 to L1.
[Original bug description]
Issue found on Bionic 4.15.0-166.174 with node rizzo
Running 'kvm-ok'
INFO: /dev/kvm exists
KVM acceleration can be used
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
BUILD_HEAD=8a30588c
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49
enabling apic
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
filter = vmx_ldtr_test, test = test_vmx_feature_control
filter = vmx_ldtr_test, test = test_vmxon
filter = vmx_ldtr_test, test = test_vmptrld
filter = vmx_ldtr_test, test = test_vmclear
filter = vmx_ldtr_test, test = test_vmptrst
filter = vmx_ldtr_test, test = test_vmwrite_vmread
filter = vmx_ldtr_test, test = test_vmcs_high
filter = vmx_ldtr_test, test = test_vmcs_lifecycle
filter = vmx_ldtr_test, test = test_vmx_caps
filter = vmx_ldtr_test, test = test_vmread_flags_touch
filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
filter = vmx_ldtr_test, test = null
filter = vmx_ldtr_test, test = vmenter
filter = vmx_ldtr_test, test = preemption timer
filter = vmx_ldtr_test, test = control field PAT
filter = vmx_ldtr_test, test = control field EFER
filter = vmx_ldtr_test, test = CR shadowing
filter = vmx_ldtr_test, test = I/O bitmap
filter = vmx_ldtr_test, test = instruction intercept
filter = vmx_ldtr_test, test = EPT A/D disabled
filter = vmx_ldtr_test, test = EPT A/D enabled
filter = vmx_ldtr_test, test = PML
filter = vmx_ldtr_test, test = interrupt
filter = vmx_ldtr_test, test = nmi_hlt
filter = vmx_ldtr_test, test = debug controls
filter = vmx_ldtr_test, test = MSR switch
filter = vmx_ldtr_test, test = vmmcall
filter = vmx_ldtr_test, test = disable RDTSCP
filter = vmx_ldtr_test, test = int3
filter = vmx_ldtr_test, test = into
filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
filter = vmx_ldtr_test, test = invalid_msr
filter = vmx_ldtr_test, test = v2_null_test
filter = vmx_ldtr_test, test = v2_multiple_entries_test
filter = vmx_ldtr_test, test = fixture_test_case1
filter = vmx_ldtr_test, test = fixture_test_case2
filter = vmx_ldtr_test, test = invvpid_test
filter = vmx_ldtr_test, test = vmx_controls_test
filter = vmx_ldtr_test, test = vmx_host_state_area_test
filter = vmx_ldtr_test, test = vmx_guest_state_area_test
filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
filter = vmx_ldtr_test, test = apic_reg_virt_test
filter = vmx_ldtr_test, test = virt_x2apic_mode_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
filter = vmx_ldtr_test, test = vmx_init_signal_test
filter = vmx_ldtr_test, test = vmx_sipi_signal_test
filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
filter = vmx_ldtr_test, test = vmx_ldtr_test
Test suite: vmx_ldtr_test
PASS: Expected 18 for L2 LDTR selector (got 18)
FAIL: Expected 0 for L1 LDTR selector (got 50)
filter = vmx_ldtr_test, test = vmx_cr_load_test
filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test
filter = vmx_ldtr_test, test = vmx_nm_test
filter = vmx_ldtr_test, test = vmx_db_test
filter = vmx_ldtr_test, test = vmx_nmi_window_test
filter = vmx_ldtr_test, test = vmx_intr_window_test
filter = vmx_ldtr_test, test = vmx_pending_event_test
filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test
filter = vmx_ldtr_test, test = vmx_store_tsc_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test
filter = vmx_ldtr_test, test = ept_access_test_not_present
filter = vmx_ldtr_test, test = ept_access_test_read_only
filter = vmx_ldtr_test, test = ept_access_test_write_only
filter = vmx_ldtr_test, test = ept_access_test_read_write
filter = vmx_ldtr_test, test = ept_access_test_execute_only
filter = vmx_ldtr_test, test = ept_access_test_read_execute
filter = vmx_ldtr_test, test = ept_access_test_write_execute
filter = vmx_ldtr_test, test = ept_access_test_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_reserved_bits
filter = vmx_ldtr_test, test = ept_access_test_ignored_bits
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_page_fault
filter = vmx_ldtr_test, test = ept_access_test_force_2m_page
filter = vmx_ldtr_test, test = atomic_switch_max_msrs_test
filter = vmx_ldtr_test, test = atomic_switch_overflow_msrs_test
filter = vmx_ldtr_test, test = rdtsc_vmexit_diff_test
filter = vmx_ldtr_test, test = vmx_mtf_test
filter = vmx_ldtr_test, test = vmx_mtf_pdpte_test
filter = vmx_ldtr_test, test = vmx_pf_exception_test
filter = vmx_ldtr_test, test = vmx_pf_no_vpid_test
filter = vmx_ldtr_test, test = vmx_pf_invvpid_test
filter = vmx_ldtr_test, test = vmx_pf_vpid_test
SUMMARY: 5 tests, 1 unexpected failures
FAIL vmx_ldtr_test (5 tests, 1 unexpected failures)
This is a new test added into vmx (and split out for debug purpose), so it's not a regression. |
[Impact]
vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with:
FAIL: Expected 0 for L1 LDTR selector (got 50)
It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its
architecturally defined value on nested VM-Exit"
According to Intel 64 and IA-32 Architectures Software Developer’s
Manual, L1's LDTR should be 0 after an emulated VM-exit from L2.
[Fix]
* afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value
on nested VM-Exit"
We already have this patch in Jammy.
This patch can be cherry-picked into F/F-OEM-5.14/I. But backport is
required for Bionic, as the code snippet for nested KVM haven't been
split out to vmx/nested.c (55d2375e KVM: nVMX: Move nested code to
dedicated files).
[Test]
Test kernels can be found here:
https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/
Tested with:
* B (bare-metal)
* F (KVM instance)
* I (bare-metal)
With this patched kernel, this test will pass:
PASS: Expected 0 for L1 LDTR selector (got 0)
Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to
make sure this is not causing any other regressions.
[Where problem could occur]
If the patch is incorrect it might affect the nested KVM functionality
while existing from L2 to L1.
[Original bug description]
Issue found on Bionic 4.15.0-166.174 with node rizzo
Running 'kvm-ok'
INFO: /dev/kvm exists
KVM acceleration can be used
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
BUILD_HEAD=8a30588c
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49
enabling apic
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
filter = vmx_ldtr_test, test = test_vmx_feature_control
filter = vmx_ldtr_test, test = test_vmxon
filter = vmx_ldtr_test, test = test_vmptrld
filter = vmx_ldtr_test, test = test_vmclear
filter = vmx_ldtr_test, test = test_vmptrst
filter = vmx_ldtr_test, test = test_vmwrite_vmread
filter = vmx_ldtr_test, test = test_vmcs_high
filter = vmx_ldtr_test, test = test_vmcs_lifecycle
filter = vmx_ldtr_test, test = test_vmx_caps
filter = vmx_ldtr_test, test = test_vmread_flags_touch
filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
filter = vmx_ldtr_test, test = null
filter = vmx_ldtr_test, test = vmenter
filter = vmx_ldtr_test, test = preemption timer
filter = vmx_ldtr_test, test = control field PAT
filter = vmx_ldtr_test, test = control field EFER
filter = vmx_ldtr_test, test = CR shadowing
filter = vmx_ldtr_test, test = I/O bitmap
filter = vmx_ldtr_test, test = instruction intercept
filter = vmx_ldtr_test, test = EPT A/D disabled
filter = vmx_ldtr_test, test = EPT A/D enabled
filter = vmx_ldtr_test, test = PML
filter = vmx_ldtr_test, test = interrupt
filter = vmx_ldtr_test, test = nmi_hlt
filter = vmx_ldtr_test, test = debug controls
filter = vmx_ldtr_test, test = MSR switch
filter = vmx_ldtr_test, test = vmmcall
filter = vmx_ldtr_test, test = disable RDTSCP
filter = vmx_ldtr_test, test = int3
filter = vmx_ldtr_test, test = into
filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
filter = vmx_ldtr_test, test = invalid_msr
filter = vmx_ldtr_test, test = v2_null_test
filter = vmx_ldtr_test, test = v2_multiple_entries_test
filter = vmx_ldtr_test, test = fixture_test_case1
filter = vmx_ldtr_test, test = fixture_test_case2
filter = vmx_ldtr_test, test = invvpid_test
filter = vmx_ldtr_test, test = vmx_controls_test
filter = vmx_ldtr_test, test = vmx_host_state_area_test
filter = vmx_ldtr_test, test = vmx_guest_state_area_test
filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
filter = vmx_ldtr_test, test = apic_reg_virt_test
filter = vmx_ldtr_test, test = virt_x2apic_mode_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
filter = vmx_ldtr_test, test = vmx_init_signal_test
filter = vmx_ldtr_test, test = vmx_sipi_signal_test
filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
filter = vmx_ldtr_test, test = vmx_ldtr_test
Test suite: vmx_ldtr_test
PASS: Expected 18 for L2 LDTR selector (got 18)
FAIL: Expected 0 for L1 LDTR selector (got 50)
filter = vmx_ldtr_test, test = vmx_cr_load_test
filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test
filter = vmx_ldtr_test, test = vmx_nm_test
filter = vmx_ldtr_test, test = vmx_db_test
filter = vmx_ldtr_test, test = vmx_nmi_window_test
filter = vmx_ldtr_test, test = vmx_intr_window_test
filter = vmx_ldtr_test, test = vmx_pending_event_test
filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test
filter = vmx_ldtr_test, test = vmx_store_tsc_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test
filter = vmx_ldtr_test, test = ept_access_test_not_present
filter = vmx_ldtr_test, test = ept_access_test_read_only
filter = vmx_ldtr_test, test = ept_access_test_write_only
filter = vmx_ldtr_test, test = ept_access_test_read_write
filter = vmx_ldtr_test, test = ept_access_test_execute_only
filter = vmx_ldtr_test, test = ept_access_test_read_execute
filter = vmx_ldtr_test, test = ept_access_test_write_execute
filter = vmx_ldtr_test, test = ept_access_test_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_reserved_bits
filter = vmx_ldtr_test, test = ept_access_test_ignored_bits
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_page_fault
filter = vmx_ldtr_test, test = ept_access_test_force_2m_page
filter = vmx_ldtr_test, test = atomic_switch_max_msrs_test
filter = vmx_ldtr_test, test = atomic_switch_overflow_msrs_test
filter = vmx_ldtr_test, test = rdtsc_vmexit_diff_test
filter = vmx_ldtr_test, test = vmx_mtf_test
filter = vmx_ldtr_test, test = vmx_mtf_pdpte_test
filter = vmx_ldtr_test, test = vmx_pf_exception_test
filter = vmx_ldtr_test, test = vmx_pf_no_vpid_test
filter = vmx_ldtr_test, test = vmx_pf_invvpid_test
filter = vmx_ldtr_test, test = vmx_pf_vpid_test
SUMMARY: 5 tests, 1 unexpected failures
FAIL vmx_ldtr_test (5 tests, 1 unexpected failures)
This is a new test added into vmx (and split out for debug purpose), so it's not a regression. |
|
2022-04-01 10:29:52 |
Po-Hsu Lin |
description |
[Impact]
vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with:
FAIL: Expected 0 for L1 LDTR selector (got 50)
It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its
architecturally defined value on nested VM-Exit"
According to Intel 64 and IA-32 Architectures Software Developer’s
Manual, L1's LDTR should be 0 after an emulated VM-exit from L2.
[Fix]
* afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value
on nested VM-Exit"
We already have this patch in Jammy.
This patch can be cherry-picked into F/F-OEM-5.14/I. But backport is
required for Bionic, as the code snippet for nested KVM haven't been
split out to vmx/nested.c (55d2375e KVM: nVMX: Move nested code to
dedicated files).
[Test]
Test kernels can be found here:
https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/
Tested with:
* B (bare-metal)
* F (KVM instance)
* I (bare-metal)
With this patched kernel, this test will pass:
PASS: Expected 0 for L1 LDTR selector (got 0)
Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to
make sure this is not causing any other regressions.
[Where problem could occur]
If the patch is incorrect it might affect the nested KVM functionality
while existing from L2 to L1.
[Original bug description]
Issue found on Bionic 4.15.0-166.174 with node rizzo
Running 'kvm-ok'
INFO: /dev/kvm exists
KVM acceleration can be used
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
BUILD_HEAD=8a30588c
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49
enabling apic
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
filter = vmx_ldtr_test, test = test_vmx_feature_control
filter = vmx_ldtr_test, test = test_vmxon
filter = vmx_ldtr_test, test = test_vmptrld
filter = vmx_ldtr_test, test = test_vmclear
filter = vmx_ldtr_test, test = test_vmptrst
filter = vmx_ldtr_test, test = test_vmwrite_vmread
filter = vmx_ldtr_test, test = test_vmcs_high
filter = vmx_ldtr_test, test = test_vmcs_lifecycle
filter = vmx_ldtr_test, test = test_vmx_caps
filter = vmx_ldtr_test, test = test_vmread_flags_touch
filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
filter = vmx_ldtr_test, test = null
filter = vmx_ldtr_test, test = vmenter
filter = vmx_ldtr_test, test = preemption timer
filter = vmx_ldtr_test, test = control field PAT
filter = vmx_ldtr_test, test = control field EFER
filter = vmx_ldtr_test, test = CR shadowing
filter = vmx_ldtr_test, test = I/O bitmap
filter = vmx_ldtr_test, test = instruction intercept
filter = vmx_ldtr_test, test = EPT A/D disabled
filter = vmx_ldtr_test, test = EPT A/D enabled
filter = vmx_ldtr_test, test = PML
filter = vmx_ldtr_test, test = interrupt
filter = vmx_ldtr_test, test = nmi_hlt
filter = vmx_ldtr_test, test = debug controls
filter = vmx_ldtr_test, test = MSR switch
filter = vmx_ldtr_test, test = vmmcall
filter = vmx_ldtr_test, test = disable RDTSCP
filter = vmx_ldtr_test, test = int3
filter = vmx_ldtr_test, test = into
filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
filter = vmx_ldtr_test, test = invalid_msr
filter = vmx_ldtr_test, test = v2_null_test
filter = vmx_ldtr_test, test = v2_multiple_entries_test
filter = vmx_ldtr_test, test = fixture_test_case1
filter = vmx_ldtr_test, test = fixture_test_case2
filter = vmx_ldtr_test, test = invvpid_test
filter = vmx_ldtr_test, test = vmx_controls_test
filter = vmx_ldtr_test, test = vmx_host_state_area_test
filter = vmx_ldtr_test, test = vmx_guest_state_area_test
filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
filter = vmx_ldtr_test, test = apic_reg_virt_test
filter = vmx_ldtr_test, test = virt_x2apic_mode_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
filter = vmx_ldtr_test, test = vmx_init_signal_test
filter = vmx_ldtr_test, test = vmx_sipi_signal_test
filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
filter = vmx_ldtr_test, test = vmx_ldtr_test
Test suite: vmx_ldtr_test
PASS: Expected 18 for L2 LDTR selector (got 18)
FAIL: Expected 0 for L1 LDTR selector (got 50)
filter = vmx_ldtr_test, test = vmx_cr_load_test
filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test
filter = vmx_ldtr_test, test = vmx_nm_test
filter = vmx_ldtr_test, test = vmx_db_test
filter = vmx_ldtr_test, test = vmx_nmi_window_test
filter = vmx_ldtr_test, test = vmx_intr_window_test
filter = vmx_ldtr_test, test = vmx_pending_event_test
filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test
filter = vmx_ldtr_test, test = vmx_store_tsc_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test
filter = vmx_ldtr_test, test = ept_access_test_not_present
filter = vmx_ldtr_test, test = ept_access_test_read_only
filter = vmx_ldtr_test, test = ept_access_test_write_only
filter = vmx_ldtr_test, test = ept_access_test_read_write
filter = vmx_ldtr_test, test = ept_access_test_execute_only
filter = vmx_ldtr_test, test = ept_access_test_read_execute
filter = vmx_ldtr_test, test = ept_access_test_write_execute
filter = vmx_ldtr_test, test = ept_access_test_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_reserved_bits
filter = vmx_ldtr_test, test = ept_access_test_ignored_bits
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_page_fault
filter = vmx_ldtr_test, test = ept_access_test_force_2m_page
filter = vmx_ldtr_test, test = atomic_switch_max_msrs_test
filter = vmx_ldtr_test, test = atomic_switch_overflow_msrs_test
filter = vmx_ldtr_test, test = rdtsc_vmexit_diff_test
filter = vmx_ldtr_test, test = vmx_mtf_test
filter = vmx_ldtr_test, test = vmx_mtf_pdpte_test
filter = vmx_ldtr_test, test = vmx_pf_exception_test
filter = vmx_ldtr_test, test = vmx_pf_no_vpid_test
filter = vmx_ldtr_test, test = vmx_pf_invvpid_test
filter = vmx_ldtr_test, test = vmx_pf_vpid_test
SUMMARY: 5 tests, 1 unexpected failures
FAIL vmx_ldtr_test (5 tests, 1 unexpected failures)
This is a new test added into vmx (and split out for debug purpose), so it's not a regression. |
[Impact]
vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with:
FAIL: Expected 0 for L1 LDTR selector (got 50)
It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its
architecturally defined value on nested VM-Exit"
According to Intel 64 and IA-32 Architectures Software Developer’s
Manual, L1's LDTR should be 0 after an emulated VM-exit from L2.
[Fix]
* afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value
on nested VM-Exit"
We already have this patch in Jammy.
This patch can be cherry-picked into F/F-OEM-5.14/I. But some
straightforward backport work is required for Bionic, as the code
snippet for nested KVM haven't been split out to vmx/nested.c
(55d2375e KVM: nVMX: Move nested code to dedicated files).
[Test]
Test kernels can be found here:
https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/
Tested with:
* B (bare-metal)
* F (KVM instance)
* I (bare-metal)
With this patched kernel, this test will pass:
PASS: Expected 0 for L1 LDTR selector (got 0)
Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to
make sure this is not causing any other regressions.
[Where problem could occur]
If the patch is incorrect it might affect the nested KVM functionality
while existing from L2 to L1.
[Original bug description]
Issue found on Bionic 4.15.0-166.174 with node rizzo
Running 'kvm-ok'
INFO: /dev/kvm exists
KVM acceleration can be used
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
BUILD_HEAD=8a30588c
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49
enabling apic
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
filter = vmx_ldtr_test, test = test_vmx_feature_control
filter = vmx_ldtr_test, test = test_vmxon
filter = vmx_ldtr_test, test = test_vmptrld
filter = vmx_ldtr_test, test = test_vmclear
filter = vmx_ldtr_test, test = test_vmptrst
filter = vmx_ldtr_test, test = test_vmwrite_vmread
filter = vmx_ldtr_test, test = test_vmcs_high
filter = vmx_ldtr_test, test = test_vmcs_lifecycle
filter = vmx_ldtr_test, test = test_vmx_caps
filter = vmx_ldtr_test, test = test_vmread_flags_touch
filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
filter = vmx_ldtr_test, test = null
filter = vmx_ldtr_test, test = vmenter
filter = vmx_ldtr_test, test = preemption timer
filter = vmx_ldtr_test, test = control field PAT
filter = vmx_ldtr_test, test = control field EFER
filter = vmx_ldtr_test, test = CR shadowing
filter = vmx_ldtr_test, test = I/O bitmap
filter = vmx_ldtr_test, test = instruction intercept
filter = vmx_ldtr_test, test = EPT A/D disabled
filter = vmx_ldtr_test, test = EPT A/D enabled
filter = vmx_ldtr_test, test = PML
filter = vmx_ldtr_test, test = interrupt
filter = vmx_ldtr_test, test = nmi_hlt
filter = vmx_ldtr_test, test = debug controls
filter = vmx_ldtr_test, test = MSR switch
filter = vmx_ldtr_test, test = vmmcall
filter = vmx_ldtr_test, test = disable RDTSCP
filter = vmx_ldtr_test, test = int3
filter = vmx_ldtr_test, test = into
filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
filter = vmx_ldtr_test, test = invalid_msr
filter = vmx_ldtr_test, test = v2_null_test
filter = vmx_ldtr_test, test = v2_multiple_entries_test
filter = vmx_ldtr_test, test = fixture_test_case1
filter = vmx_ldtr_test, test = fixture_test_case2
filter = vmx_ldtr_test, test = invvpid_test
filter = vmx_ldtr_test, test = vmx_controls_test
filter = vmx_ldtr_test, test = vmx_host_state_area_test
filter = vmx_ldtr_test, test = vmx_guest_state_area_test
filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
filter = vmx_ldtr_test, test = apic_reg_virt_test
filter = vmx_ldtr_test, test = virt_x2apic_mode_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
filter = vmx_ldtr_test, test = vmx_init_signal_test
filter = vmx_ldtr_test, test = vmx_sipi_signal_test
filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
filter = vmx_ldtr_test, test = vmx_ldtr_test
Test suite: vmx_ldtr_test
PASS: Expected 18 for L2 LDTR selector (got 18)
FAIL: Expected 0 for L1 LDTR selector (got 50)
filter = vmx_ldtr_test, test = vmx_cr_load_test
filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test
filter = vmx_ldtr_test, test = vmx_nm_test
filter = vmx_ldtr_test, test = vmx_db_test
filter = vmx_ldtr_test, test = vmx_nmi_window_test
filter = vmx_ldtr_test, test = vmx_intr_window_test
filter = vmx_ldtr_test, test = vmx_pending_event_test
filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test
filter = vmx_ldtr_test, test = vmx_store_tsc_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test
filter = vmx_ldtr_test, test = ept_access_test_not_present
filter = vmx_ldtr_test, test = ept_access_test_read_only
filter = vmx_ldtr_test, test = ept_access_test_write_only
filter = vmx_ldtr_test, test = ept_access_test_read_write
filter = vmx_ldtr_test, test = ept_access_test_execute_only
filter = vmx_ldtr_test, test = ept_access_test_read_execute
filter = vmx_ldtr_test, test = ept_access_test_write_execute
filter = vmx_ldtr_test, test = ept_access_test_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_reserved_bits
filter = vmx_ldtr_test, test = ept_access_test_ignored_bits
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_page_fault
filter = vmx_ldtr_test, test = ept_access_test_force_2m_page
filter = vmx_ldtr_test, test = atomic_switch_max_msrs_test
filter = vmx_ldtr_test, test = atomic_switch_overflow_msrs_test
filter = vmx_ldtr_test, test = rdtsc_vmexit_diff_test
filter = vmx_ldtr_test, test = vmx_mtf_test
filter = vmx_ldtr_test, test = vmx_mtf_pdpte_test
filter = vmx_ldtr_test, test = vmx_pf_exception_test
filter = vmx_ldtr_test, test = vmx_pf_no_vpid_test
filter = vmx_ldtr_test, test = vmx_pf_invvpid_test
filter = vmx_ldtr_test, test = vmx_pf_vpid_test
SUMMARY: 5 tests, 1 unexpected failures
FAIL vmx_ldtr_test (5 tests, 1 unexpected failures)
This is a new test added into vmx (and split out for debug purpose), so it's not a regression. |
|
2022-04-01 18:43:52 |
Po-Hsu Lin |
description |
[Impact]
vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with:
FAIL: Expected 0 for L1 LDTR selector (got 50)
It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its
architecturally defined value on nested VM-Exit"
According to Intel 64 and IA-32 Architectures Software Developer’s
Manual, L1's LDTR should be 0 after an emulated VM-exit from L2.
[Fix]
* afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value
on nested VM-Exit"
We already have this patch in Jammy.
This patch can be cherry-picked into F/F-OEM-5.14/I. But some
straightforward backport work is required for Bionic, as the code
snippet for nested KVM haven't been split out to vmx/nested.c
(55d2375e KVM: nVMX: Move nested code to dedicated files).
[Test]
Test kernels can be found here:
https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/
Tested with:
* B (bare-metal)
* F (KVM instance)
* I (bare-metal)
With this patched kernel, this test will pass:
PASS: Expected 0 for L1 LDTR selector (got 0)
Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to
make sure this is not causing any other regressions.
[Where problem could occur]
If the patch is incorrect it might affect the nested KVM functionality
while existing from L2 to L1.
[Original bug description]
Issue found on Bionic 4.15.0-166.174 with node rizzo
Running 'kvm-ok'
INFO: /dev/kvm exists
KVM acceleration can be used
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
BUILD_HEAD=8a30588c
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49
enabling apic
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
filter = vmx_ldtr_test, test = test_vmx_feature_control
filter = vmx_ldtr_test, test = test_vmxon
filter = vmx_ldtr_test, test = test_vmptrld
filter = vmx_ldtr_test, test = test_vmclear
filter = vmx_ldtr_test, test = test_vmptrst
filter = vmx_ldtr_test, test = test_vmwrite_vmread
filter = vmx_ldtr_test, test = test_vmcs_high
filter = vmx_ldtr_test, test = test_vmcs_lifecycle
filter = vmx_ldtr_test, test = test_vmx_caps
filter = vmx_ldtr_test, test = test_vmread_flags_touch
filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
filter = vmx_ldtr_test, test = null
filter = vmx_ldtr_test, test = vmenter
filter = vmx_ldtr_test, test = preemption timer
filter = vmx_ldtr_test, test = control field PAT
filter = vmx_ldtr_test, test = control field EFER
filter = vmx_ldtr_test, test = CR shadowing
filter = vmx_ldtr_test, test = I/O bitmap
filter = vmx_ldtr_test, test = instruction intercept
filter = vmx_ldtr_test, test = EPT A/D disabled
filter = vmx_ldtr_test, test = EPT A/D enabled
filter = vmx_ldtr_test, test = PML
filter = vmx_ldtr_test, test = interrupt
filter = vmx_ldtr_test, test = nmi_hlt
filter = vmx_ldtr_test, test = debug controls
filter = vmx_ldtr_test, test = MSR switch
filter = vmx_ldtr_test, test = vmmcall
filter = vmx_ldtr_test, test = disable RDTSCP
filter = vmx_ldtr_test, test = int3
filter = vmx_ldtr_test, test = into
filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
filter = vmx_ldtr_test, test = invalid_msr
filter = vmx_ldtr_test, test = v2_null_test
filter = vmx_ldtr_test, test = v2_multiple_entries_test
filter = vmx_ldtr_test, test = fixture_test_case1
filter = vmx_ldtr_test, test = fixture_test_case2
filter = vmx_ldtr_test, test = invvpid_test
filter = vmx_ldtr_test, test = vmx_controls_test
filter = vmx_ldtr_test, test = vmx_host_state_area_test
filter = vmx_ldtr_test, test = vmx_guest_state_area_test
filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
filter = vmx_ldtr_test, test = apic_reg_virt_test
filter = vmx_ldtr_test, test = virt_x2apic_mode_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
filter = vmx_ldtr_test, test = vmx_init_signal_test
filter = vmx_ldtr_test, test = vmx_sipi_signal_test
filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
filter = vmx_ldtr_test, test = vmx_ldtr_test
Test suite: vmx_ldtr_test
PASS: Expected 18 for L2 LDTR selector (got 18)
FAIL: Expected 0 for L1 LDTR selector (got 50)
filter = vmx_ldtr_test, test = vmx_cr_load_test
filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test
filter = vmx_ldtr_test, test = vmx_nm_test
filter = vmx_ldtr_test, test = vmx_db_test
filter = vmx_ldtr_test, test = vmx_nmi_window_test
filter = vmx_ldtr_test, test = vmx_intr_window_test
filter = vmx_ldtr_test, test = vmx_pending_event_test
filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test
filter = vmx_ldtr_test, test = vmx_store_tsc_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test
filter = vmx_ldtr_test, test = ept_access_test_not_present
filter = vmx_ldtr_test, test = ept_access_test_read_only
filter = vmx_ldtr_test, test = ept_access_test_write_only
filter = vmx_ldtr_test, test = ept_access_test_read_write
filter = vmx_ldtr_test, test = ept_access_test_execute_only
filter = vmx_ldtr_test, test = ept_access_test_read_execute
filter = vmx_ldtr_test, test = ept_access_test_write_execute
filter = vmx_ldtr_test, test = ept_access_test_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_reserved_bits
filter = vmx_ldtr_test, test = ept_access_test_ignored_bits
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_page_fault
filter = vmx_ldtr_test, test = ept_access_test_force_2m_page
filter = vmx_ldtr_test, test = atomic_switch_max_msrs_test
filter = vmx_ldtr_test, test = atomic_switch_overflow_msrs_test
filter = vmx_ldtr_test, test = rdtsc_vmexit_diff_test
filter = vmx_ldtr_test, test = vmx_mtf_test
filter = vmx_ldtr_test, test = vmx_mtf_pdpte_test
filter = vmx_ldtr_test, test = vmx_pf_exception_test
filter = vmx_ldtr_test, test = vmx_pf_no_vpid_test
filter = vmx_ldtr_test, test = vmx_pf_invvpid_test
filter = vmx_ldtr_test, test = vmx_pf_vpid_test
SUMMARY: 5 tests, 1 unexpected failures
FAIL vmx_ldtr_test (5 tests, 1 unexpected failures)
This is a new test added into vmx (and split out for debug purpose), so it's not a regression. |
[Impact]
vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with:
FAIL: Expected 0 for L1 LDTR selector (got 50)
It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its
architecturally defined value on nested VM-Exit"
According to Intel 64 and IA-32 Architectures Software Developer’s
Manual, L1's LDTR should be 0 after an emulated VM-exit from L2.
[Fix]
* afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value
on nested VM-Exit"
We already have this patch in Jammy.
This patch can be cherry-picked into F/F-OEM-5.14/I. But some
straightforward backport work is required for Bionic, as the code
snippet for nested KVM haven't been split out to vmx/nested.c
(55d2375e KVM: nVMX: Move nested code to dedicated files).
[Test]
Test kernels can be found here:
https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/
Tested with:
* B (bare-metal)
* F (KVM instance)
* I (KVM instance / bare-metal)
With this patched kernel, this test will pass:
PASS: Expected 0 for L1 LDTR selector (got 0)
Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to
make sure this is not causing any other regressions.
[Where problem could occur]
If the patch is incorrect it might affect the nested KVM functionality
while existing from L2 to L1.
[Original bug description]
Issue found on Bionic 4.15.0-166.174 with node rizzo
Running 'kvm-ok'
INFO: /dev/kvm exists
KVM acceleration can be used
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
BUILD_HEAD=8a30588c
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49
enabling apic
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
filter = vmx_ldtr_test, test = test_vmx_feature_control
filter = vmx_ldtr_test, test = test_vmxon
filter = vmx_ldtr_test, test = test_vmptrld
filter = vmx_ldtr_test, test = test_vmclear
filter = vmx_ldtr_test, test = test_vmptrst
filter = vmx_ldtr_test, test = test_vmwrite_vmread
filter = vmx_ldtr_test, test = test_vmcs_high
filter = vmx_ldtr_test, test = test_vmcs_lifecycle
filter = vmx_ldtr_test, test = test_vmx_caps
filter = vmx_ldtr_test, test = test_vmread_flags_touch
filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
filter = vmx_ldtr_test, test = null
filter = vmx_ldtr_test, test = vmenter
filter = vmx_ldtr_test, test = preemption timer
filter = vmx_ldtr_test, test = control field PAT
filter = vmx_ldtr_test, test = control field EFER
filter = vmx_ldtr_test, test = CR shadowing
filter = vmx_ldtr_test, test = I/O bitmap
filter = vmx_ldtr_test, test = instruction intercept
filter = vmx_ldtr_test, test = EPT A/D disabled
filter = vmx_ldtr_test, test = EPT A/D enabled
filter = vmx_ldtr_test, test = PML
filter = vmx_ldtr_test, test = interrupt
filter = vmx_ldtr_test, test = nmi_hlt
filter = vmx_ldtr_test, test = debug controls
filter = vmx_ldtr_test, test = MSR switch
filter = vmx_ldtr_test, test = vmmcall
filter = vmx_ldtr_test, test = disable RDTSCP
filter = vmx_ldtr_test, test = int3
filter = vmx_ldtr_test, test = into
filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
filter = vmx_ldtr_test, test = invalid_msr
filter = vmx_ldtr_test, test = v2_null_test
filter = vmx_ldtr_test, test = v2_multiple_entries_test
filter = vmx_ldtr_test, test = fixture_test_case1
filter = vmx_ldtr_test, test = fixture_test_case2
filter = vmx_ldtr_test, test = invvpid_test
filter = vmx_ldtr_test, test = vmx_controls_test
filter = vmx_ldtr_test, test = vmx_host_state_area_test
filter = vmx_ldtr_test, test = vmx_guest_state_area_test
filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
filter = vmx_ldtr_test, test = apic_reg_virt_test
filter = vmx_ldtr_test, test = virt_x2apic_mode_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
filter = vmx_ldtr_test, test = vmx_init_signal_test
filter = vmx_ldtr_test, test = vmx_sipi_signal_test
filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
filter = vmx_ldtr_test, test = vmx_ldtr_test
Test suite: vmx_ldtr_test
PASS: Expected 18 for L2 LDTR selector (got 18)
FAIL: Expected 0 for L1 LDTR selector (got 50)
filter = vmx_ldtr_test, test = vmx_cr_load_test
filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test
filter = vmx_ldtr_test, test = vmx_nm_test
filter = vmx_ldtr_test, test = vmx_db_test
filter = vmx_ldtr_test, test = vmx_nmi_window_test
filter = vmx_ldtr_test, test = vmx_intr_window_test
filter = vmx_ldtr_test, test = vmx_pending_event_test
filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test
filter = vmx_ldtr_test, test = vmx_store_tsc_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test
filter = vmx_ldtr_test, test = ept_access_test_not_present
filter = vmx_ldtr_test, test = ept_access_test_read_only
filter = vmx_ldtr_test, test = ept_access_test_write_only
filter = vmx_ldtr_test, test = ept_access_test_read_write
filter = vmx_ldtr_test, test = ept_access_test_execute_only
filter = vmx_ldtr_test, test = ept_access_test_read_execute
filter = vmx_ldtr_test, test = ept_access_test_write_execute
filter = vmx_ldtr_test, test = ept_access_test_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_reserved_bits
filter = vmx_ldtr_test, test = ept_access_test_ignored_bits
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_page_fault
filter = vmx_ldtr_test, test = ept_access_test_force_2m_page
filter = vmx_ldtr_test, test = atomic_switch_max_msrs_test
filter = vmx_ldtr_test, test = atomic_switch_overflow_msrs_test
filter = vmx_ldtr_test, test = rdtsc_vmexit_diff_test
filter = vmx_ldtr_test, test = vmx_mtf_test
filter = vmx_ldtr_test, test = vmx_mtf_pdpte_test
filter = vmx_ldtr_test, test = vmx_pf_exception_test
filter = vmx_ldtr_test, test = vmx_pf_no_vpid_test
filter = vmx_ldtr_test, test = vmx_pf_invvpid_test
filter = vmx_ldtr_test, test = vmx_pf_vpid_test
SUMMARY: 5 tests, 1 unexpected failures
FAIL vmx_ldtr_test (5 tests, 1 unexpected failures)
This is a new test added into vmx (and split out for debug purpose), so it's not a regression. |
|
2022-04-06 03:33:18 |
Po-Hsu Lin |
description |
[Impact]
vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with:
FAIL: Expected 0 for L1 LDTR selector (got 50)
It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its
architecturally defined value on nested VM-Exit"
According to Intel 64 and IA-32 Architectures Software Developer’s
Manual, L1's LDTR should be 0 after an emulated VM-exit from L2.
[Fix]
* afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value
on nested VM-Exit"
We already have this patch in Jammy.
This patch can be cherry-picked into F/F-OEM-5.14/I. But some
straightforward backport work is required for Bionic, as the code
snippet for nested KVM haven't been split out to vmx/nested.c
(55d2375e KVM: nVMX: Move nested code to dedicated files).
[Test]
Test kernels can be found here:
https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/
Tested with:
* B (bare-metal)
* F (KVM instance)
* I (KVM instance / bare-metal)
With this patched kernel, this test will pass:
PASS: Expected 0 for L1 LDTR selector (got 0)
Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to
make sure this is not causing any other regressions.
[Where problem could occur]
If the patch is incorrect it might affect the nested KVM functionality
while existing from L2 to L1.
[Original bug description]
Issue found on Bionic 4.15.0-166.174 with node rizzo
Running 'kvm-ok'
INFO: /dev/kvm exists
KVM acceleration can be used
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
BUILD_HEAD=8a30588c
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49
enabling apic
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
filter = vmx_ldtr_test, test = test_vmx_feature_control
filter = vmx_ldtr_test, test = test_vmxon
filter = vmx_ldtr_test, test = test_vmptrld
filter = vmx_ldtr_test, test = test_vmclear
filter = vmx_ldtr_test, test = test_vmptrst
filter = vmx_ldtr_test, test = test_vmwrite_vmread
filter = vmx_ldtr_test, test = test_vmcs_high
filter = vmx_ldtr_test, test = test_vmcs_lifecycle
filter = vmx_ldtr_test, test = test_vmx_caps
filter = vmx_ldtr_test, test = test_vmread_flags_touch
filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
filter = vmx_ldtr_test, test = null
filter = vmx_ldtr_test, test = vmenter
filter = vmx_ldtr_test, test = preemption timer
filter = vmx_ldtr_test, test = control field PAT
filter = vmx_ldtr_test, test = control field EFER
filter = vmx_ldtr_test, test = CR shadowing
filter = vmx_ldtr_test, test = I/O bitmap
filter = vmx_ldtr_test, test = instruction intercept
filter = vmx_ldtr_test, test = EPT A/D disabled
filter = vmx_ldtr_test, test = EPT A/D enabled
filter = vmx_ldtr_test, test = PML
filter = vmx_ldtr_test, test = interrupt
filter = vmx_ldtr_test, test = nmi_hlt
filter = vmx_ldtr_test, test = debug controls
filter = vmx_ldtr_test, test = MSR switch
filter = vmx_ldtr_test, test = vmmcall
filter = vmx_ldtr_test, test = disable RDTSCP
filter = vmx_ldtr_test, test = int3
filter = vmx_ldtr_test, test = into
filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
filter = vmx_ldtr_test, test = invalid_msr
filter = vmx_ldtr_test, test = v2_null_test
filter = vmx_ldtr_test, test = v2_multiple_entries_test
filter = vmx_ldtr_test, test = fixture_test_case1
filter = vmx_ldtr_test, test = fixture_test_case2
filter = vmx_ldtr_test, test = invvpid_test
filter = vmx_ldtr_test, test = vmx_controls_test
filter = vmx_ldtr_test, test = vmx_host_state_area_test
filter = vmx_ldtr_test, test = vmx_guest_state_area_test
filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
filter = vmx_ldtr_test, test = apic_reg_virt_test
filter = vmx_ldtr_test, test = virt_x2apic_mode_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
filter = vmx_ldtr_test, test = vmx_init_signal_test
filter = vmx_ldtr_test, test = vmx_sipi_signal_test
filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
filter = vmx_ldtr_test, test = vmx_ldtr_test
Test suite: vmx_ldtr_test
PASS: Expected 18 for L2 LDTR selector (got 18)
FAIL: Expected 0 for L1 LDTR selector (got 50)
filter = vmx_ldtr_test, test = vmx_cr_load_test
filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test
filter = vmx_ldtr_test, test = vmx_nm_test
filter = vmx_ldtr_test, test = vmx_db_test
filter = vmx_ldtr_test, test = vmx_nmi_window_test
filter = vmx_ldtr_test, test = vmx_intr_window_test
filter = vmx_ldtr_test, test = vmx_pending_event_test
filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test
filter = vmx_ldtr_test, test = vmx_store_tsc_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test
filter = vmx_ldtr_test, test = ept_access_test_not_present
filter = vmx_ldtr_test, test = ept_access_test_read_only
filter = vmx_ldtr_test, test = ept_access_test_write_only
filter = vmx_ldtr_test, test = ept_access_test_read_write
filter = vmx_ldtr_test, test = ept_access_test_execute_only
filter = vmx_ldtr_test, test = ept_access_test_read_execute
filter = vmx_ldtr_test, test = ept_access_test_write_execute
filter = vmx_ldtr_test, test = ept_access_test_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_reserved_bits
filter = vmx_ldtr_test, test = ept_access_test_ignored_bits
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_page_fault
filter = vmx_ldtr_test, test = ept_access_test_force_2m_page
filter = vmx_ldtr_test, test = atomic_switch_max_msrs_test
filter = vmx_ldtr_test, test = atomic_switch_overflow_msrs_test
filter = vmx_ldtr_test, test = rdtsc_vmexit_diff_test
filter = vmx_ldtr_test, test = vmx_mtf_test
filter = vmx_ldtr_test, test = vmx_mtf_pdpte_test
filter = vmx_ldtr_test, test = vmx_pf_exception_test
filter = vmx_ldtr_test, test = vmx_pf_no_vpid_test
filter = vmx_ldtr_test, test = vmx_pf_invvpid_test
filter = vmx_ldtr_test, test = vmx_pf_vpid_test
SUMMARY: 5 tests, 1 unexpected failures
FAIL vmx_ldtr_test (5 tests, 1 unexpected failures)
This is a new test added into vmx (and split out for debug purpose), so it's not a regression. |
[Impact]
vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with:
FAIL: Expected 0 for L1 LDTR selector (got 50)
It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its
architecturally defined value on nested VM-Exit"
According to Intel 64 and IA-32 Architectures Software Developer’s
Manual, L1's LDTR should be 0 after an emulated VM-exit from L2.
[Fix]
* afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit"
We already have this patch in Jammy.
This patch can be cherry-picked into F/F-OEM-5.14/I. But backport is required for
Bionic, as the code snippet for nested KVM haven't been split out to
vmx/nested.c (55d2375e KVM: nVMX: Move nested code to dedicated files).
[Test]
Test kernels can be found here:
https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/
Tested with:
* B (bare-metal / KVM instance)
* F (KVM instance)
* I (bare-metal / KVM instance)
With this patched kernel, this test will pass:
PASS: Expected 0 for L1 LDTR selector (got 0)
Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to
make sure this is not causing any other regressions.
[Where problem could occur]
If the patch is incorrect it might affect the nested KVM functionality
while existing from L2 to L1.
[Original bug description]
Issue found on Bionic 4.15.0-166.174 with node rizzo
Running 'kvm-ok'
INFO: /dev/kvm exists
KVM acceleration can be used
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
BUILD_HEAD=8a30588c
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49
enabling apic
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
filter = vmx_ldtr_test, test = test_vmx_feature_control
filter = vmx_ldtr_test, test = test_vmxon
filter = vmx_ldtr_test, test = test_vmptrld
filter = vmx_ldtr_test, test = test_vmclear
filter = vmx_ldtr_test, test = test_vmptrst
filter = vmx_ldtr_test, test = test_vmwrite_vmread
filter = vmx_ldtr_test, test = test_vmcs_high
filter = vmx_ldtr_test, test = test_vmcs_lifecycle
filter = vmx_ldtr_test, test = test_vmx_caps
filter = vmx_ldtr_test, test = test_vmread_flags_touch
filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
filter = vmx_ldtr_test, test = null
filter = vmx_ldtr_test, test = vmenter
filter = vmx_ldtr_test, test = preemption timer
filter = vmx_ldtr_test, test = control field PAT
filter = vmx_ldtr_test, test = control field EFER
filter = vmx_ldtr_test, test = CR shadowing
filter = vmx_ldtr_test, test = I/O bitmap
filter = vmx_ldtr_test, test = instruction intercept
filter = vmx_ldtr_test, test = EPT A/D disabled
filter = vmx_ldtr_test, test = EPT A/D enabled
filter = vmx_ldtr_test, test = PML
filter = vmx_ldtr_test, test = interrupt
filter = vmx_ldtr_test, test = nmi_hlt
filter = vmx_ldtr_test, test = debug controls
filter = vmx_ldtr_test, test = MSR switch
filter = vmx_ldtr_test, test = vmmcall
filter = vmx_ldtr_test, test = disable RDTSCP
filter = vmx_ldtr_test, test = int3
filter = vmx_ldtr_test, test = into
filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
filter = vmx_ldtr_test, test = invalid_msr
filter = vmx_ldtr_test, test = v2_null_test
filter = vmx_ldtr_test, test = v2_multiple_entries_test
filter = vmx_ldtr_test, test = fixture_test_case1
filter = vmx_ldtr_test, test = fixture_test_case2
filter = vmx_ldtr_test, test = invvpid_test
filter = vmx_ldtr_test, test = vmx_controls_test
filter = vmx_ldtr_test, test = vmx_host_state_area_test
filter = vmx_ldtr_test, test = vmx_guest_state_area_test
filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
filter = vmx_ldtr_test, test = apic_reg_virt_test
filter = vmx_ldtr_test, test = virt_x2apic_mode_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
filter = vmx_ldtr_test, test = vmx_init_signal_test
filter = vmx_ldtr_test, test = vmx_sipi_signal_test
filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
filter = vmx_ldtr_test, test = vmx_ldtr_test
Test suite: vmx_ldtr_test
PASS: Expected 18 for L2 LDTR selector (got 18)
FAIL: Expected 0 for L1 LDTR selector (got 50)
filter = vmx_ldtr_test, test = vmx_cr_load_test
filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test
filter = vmx_ldtr_test, test = vmx_nm_test
filter = vmx_ldtr_test, test = vmx_db_test
filter = vmx_ldtr_test, test = vmx_nmi_window_test
filter = vmx_ldtr_test, test = vmx_intr_window_test
filter = vmx_ldtr_test, test = vmx_pending_event_test
filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test
filter = vmx_ldtr_test, test = vmx_store_tsc_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test
filter = vmx_ldtr_test, test = ept_access_test_not_present
filter = vmx_ldtr_test, test = ept_access_test_read_only
filter = vmx_ldtr_test, test = ept_access_test_write_only
filter = vmx_ldtr_test, test = ept_access_test_read_write
filter = vmx_ldtr_test, test = ept_access_test_execute_only
filter = vmx_ldtr_test, test = ept_access_test_read_execute
filter = vmx_ldtr_test, test = ept_access_test_write_execute
filter = vmx_ldtr_test, test = ept_access_test_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_reserved_bits
filter = vmx_ldtr_test, test = ept_access_test_ignored_bits
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_page_fault
filter = vmx_ldtr_test, test = ept_access_test_force_2m_page
filter = vmx_ldtr_test, test = atomic_switch_max_msrs_test
filter = vmx_ldtr_test, test = atomic_switch_overflow_msrs_test
filter = vmx_ldtr_test, test = rdtsc_vmexit_diff_test
filter = vmx_ldtr_test, test = vmx_mtf_test
filter = vmx_ldtr_test, test = vmx_mtf_pdpte_test
filter = vmx_ldtr_test, test = vmx_pf_exception_test
filter = vmx_ldtr_test, test = vmx_pf_no_vpid_test
filter = vmx_ldtr_test, test = vmx_pf_invvpid_test
filter = vmx_ldtr_test, test = vmx_pf_vpid_test
SUMMARY: 5 tests, 1 unexpected failures
FAIL vmx_ldtr_test (5 tests, 1 unexpected failures)
This is a new test added into vmx (and split out for debug purpose), so it's not a regression. |
|
2022-04-06 04:31:34 |
Po-Hsu Lin |
description |
[Impact]
vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with:
FAIL: Expected 0 for L1 LDTR selector (got 50)
It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its
architecturally defined value on nested VM-Exit"
According to Intel 64 and IA-32 Architectures Software Developer’s
Manual, L1's LDTR should be 0 after an emulated VM-exit from L2.
[Fix]
* afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit"
We already have this patch in Jammy.
This patch can be cherry-picked into F/F-OEM-5.14/I. But backport is required for
Bionic, as the code snippet for nested KVM haven't been split out to
vmx/nested.c (55d2375e KVM: nVMX: Move nested code to dedicated files).
[Test]
Test kernels can be found here:
https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/
Tested with:
* B (bare-metal / KVM instance)
* F (KVM instance)
* I (bare-metal / KVM instance)
With this patched kernel, this test will pass:
PASS: Expected 0 for L1 LDTR selector (got 0)
Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to
make sure this is not causing any other regressions.
[Where problem could occur]
If the patch is incorrect it might affect the nested KVM functionality
while existing from L2 to L1.
[Original bug description]
Issue found on Bionic 4.15.0-166.174 with node rizzo
Running 'kvm-ok'
INFO: /dev/kvm exists
KVM acceleration can be used
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
BUILD_HEAD=8a30588c
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49
enabling apic
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
filter = vmx_ldtr_test, test = test_vmx_feature_control
filter = vmx_ldtr_test, test = test_vmxon
filter = vmx_ldtr_test, test = test_vmptrld
filter = vmx_ldtr_test, test = test_vmclear
filter = vmx_ldtr_test, test = test_vmptrst
filter = vmx_ldtr_test, test = test_vmwrite_vmread
filter = vmx_ldtr_test, test = test_vmcs_high
filter = vmx_ldtr_test, test = test_vmcs_lifecycle
filter = vmx_ldtr_test, test = test_vmx_caps
filter = vmx_ldtr_test, test = test_vmread_flags_touch
filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
filter = vmx_ldtr_test, test = null
filter = vmx_ldtr_test, test = vmenter
filter = vmx_ldtr_test, test = preemption timer
filter = vmx_ldtr_test, test = control field PAT
filter = vmx_ldtr_test, test = control field EFER
filter = vmx_ldtr_test, test = CR shadowing
filter = vmx_ldtr_test, test = I/O bitmap
filter = vmx_ldtr_test, test = instruction intercept
filter = vmx_ldtr_test, test = EPT A/D disabled
filter = vmx_ldtr_test, test = EPT A/D enabled
filter = vmx_ldtr_test, test = PML
filter = vmx_ldtr_test, test = interrupt
filter = vmx_ldtr_test, test = nmi_hlt
filter = vmx_ldtr_test, test = debug controls
filter = vmx_ldtr_test, test = MSR switch
filter = vmx_ldtr_test, test = vmmcall
filter = vmx_ldtr_test, test = disable RDTSCP
filter = vmx_ldtr_test, test = int3
filter = vmx_ldtr_test, test = into
filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
filter = vmx_ldtr_test, test = invalid_msr
filter = vmx_ldtr_test, test = v2_null_test
filter = vmx_ldtr_test, test = v2_multiple_entries_test
filter = vmx_ldtr_test, test = fixture_test_case1
filter = vmx_ldtr_test, test = fixture_test_case2
filter = vmx_ldtr_test, test = invvpid_test
filter = vmx_ldtr_test, test = vmx_controls_test
filter = vmx_ldtr_test, test = vmx_host_state_area_test
filter = vmx_ldtr_test, test = vmx_guest_state_area_test
filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
filter = vmx_ldtr_test, test = apic_reg_virt_test
filter = vmx_ldtr_test, test = virt_x2apic_mode_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
filter = vmx_ldtr_test, test = vmx_init_signal_test
filter = vmx_ldtr_test, test = vmx_sipi_signal_test
filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
filter = vmx_ldtr_test, test = vmx_ldtr_test
Test suite: vmx_ldtr_test
PASS: Expected 18 for L2 LDTR selector (got 18)
FAIL: Expected 0 for L1 LDTR selector (got 50)
filter = vmx_ldtr_test, test = vmx_cr_load_test
filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test
filter = vmx_ldtr_test, test = vmx_nm_test
filter = vmx_ldtr_test, test = vmx_db_test
filter = vmx_ldtr_test, test = vmx_nmi_window_test
filter = vmx_ldtr_test, test = vmx_intr_window_test
filter = vmx_ldtr_test, test = vmx_pending_event_test
filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test
filter = vmx_ldtr_test, test = vmx_store_tsc_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test
filter = vmx_ldtr_test, test = ept_access_test_not_present
filter = vmx_ldtr_test, test = ept_access_test_read_only
filter = vmx_ldtr_test, test = ept_access_test_write_only
filter = vmx_ldtr_test, test = ept_access_test_read_write
filter = vmx_ldtr_test, test = ept_access_test_execute_only
filter = vmx_ldtr_test, test = ept_access_test_read_execute
filter = vmx_ldtr_test, test = ept_access_test_write_execute
filter = vmx_ldtr_test, test = ept_access_test_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_reserved_bits
filter = vmx_ldtr_test, test = ept_access_test_ignored_bits
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_page_fault
filter = vmx_ldtr_test, test = ept_access_test_force_2m_page
filter = vmx_ldtr_test, test = atomic_switch_max_msrs_test
filter = vmx_ldtr_test, test = atomic_switch_overflow_msrs_test
filter = vmx_ldtr_test, test = rdtsc_vmexit_diff_test
filter = vmx_ldtr_test, test = vmx_mtf_test
filter = vmx_ldtr_test, test = vmx_mtf_pdpte_test
filter = vmx_ldtr_test, test = vmx_pf_exception_test
filter = vmx_ldtr_test, test = vmx_pf_no_vpid_test
filter = vmx_ldtr_test, test = vmx_pf_invvpid_test
filter = vmx_ldtr_test, test = vmx_pf_vpid_test
SUMMARY: 5 tests, 1 unexpected failures
FAIL vmx_ldtr_test (5 tests, 1 unexpected failures)
This is a new test added into vmx (and split out for debug purpose), so it's not a regression. |
[Impact]
vmx_ldtr_test in ubuntu_kvm_unit_tests will fail with:
FAIL: Expected 0 for L1 LDTR selector (got 50)
It's a test for commit afc8de01 "KVM: nVMX: Set LDTR to its
architecturally defined value on nested VM-Exit"
According to Intel 64 and IA-32 Architectures Software Developer’s
Manual, L1's LDTR should be 0 after an emulated VM-exit from L2.
[Fix]
* afc8de01 "KVM: nVMX: Set LDTR to its architecturally defined value
on nested VM-Exit"
We already have this patch in Jammy.
This patch can be cherry-picked into F/F-OEM-5.14/I. But some
straightforward backport work is required for Bionic, as the code
snippet for nested KVM haven't been split out to vmx/nested.c
(55d2375e KVM: nVMX: Move nested code to dedicated files).
[Test]
Test kernels can be found here:
https://people.canonical.com/~phlin/kernel/lp-1956315-vmx-ldtr/
Tested with:
* B (bare-metal / KVM instance)
* F (KVM instance)
* I (bare-metal / KVM instance)
With this patched kernel, this test will pass:
PASS: Expected 0 for L1 LDTR selector (got 0)
Also tested with ubuntu_kvm_unit_tests and ubuntu_kvm_smoke_test to
make sure this is not causing any other regressions.
[Where problem could occur]
If the patch is incorrect it might affect the nested KVM functionality
while existing from L2 to L1.
[Original bug description]
Issue found on Bionic 4.15.0-166.174 with node rizzo
Running 'kvm-ok'
INFO: /dev/kvm exists
KVM acceleration can be used
'/home/ubuntu/autotest/client/tmp/ubuntu_kvm_unit_tests/src/kvm-unit-tests/tests/vmx_ldtr_test'
BUILD_HEAD=8a30588c
timeout -k 1s --foreground 90s /usr/bin/qemu-system-x86_64 --no-reboot -nodefaults -device pc-testdev -device isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device pci-testdev -machine accel=kvm -kernel /tmp/tmp.Lnfifekq7r -smp 1 -cpu max,+vmx -append vmx_ldtr_test # -initrd /tmp/tmp.i9y5hdMh49
enabling apic
paging enabled
cr0 = 80010011
cr3 = 1007000
cr4 = 20
filter = vmx_ldtr_test, test = test_vmx_feature_control
filter = vmx_ldtr_test, test = test_vmxon
filter = vmx_ldtr_test, test = test_vmptrld
filter = vmx_ldtr_test, test = test_vmclear
filter = vmx_ldtr_test, test = test_vmptrst
filter = vmx_ldtr_test, test = test_vmwrite_vmread
filter = vmx_ldtr_test, test = test_vmcs_high
filter = vmx_ldtr_test, test = test_vmcs_lifecycle
filter = vmx_ldtr_test, test = test_vmx_caps
filter = vmx_ldtr_test, test = test_vmread_flags_touch
filter = vmx_ldtr_test, test = test_vmwrite_flags_touch
filter = vmx_ldtr_test, test = null
filter = vmx_ldtr_test, test = vmenter
filter = vmx_ldtr_test, test = preemption timer
filter = vmx_ldtr_test, test = control field PAT
filter = vmx_ldtr_test, test = control field EFER
filter = vmx_ldtr_test, test = CR shadowing
filter = vmx_ldtr_test, test = I/O bitmap
filter = vmx_ldtr_test, test = instruction intercept
filter = vmx_ldtr_test, test = EPT A/D disabled
filter = vmx_ldtr_test, test = EPT A/D enabled
filter = vmx_ldtr_test, test = PML
filter = vmx_ldtr_test, test = interrupt
filter = vmx_ldtr_test, test = nmi_hlt
filter = vmx_ldtr_test, test = debug controls
filter = vmx_ldtr_test, test = MSR switch
filter = vmx_ldtr_test, test = vmmcall
filter = vmx_ldtr_test, test = disable RDTSCP
filter = vmx_ldtr_test, test = int3
filter = vmx_ldtr_test, test = into
filter = vmx_ldtr_test, test = exit_monitor_from_l2_test
filter = vmx_ldtr_test, test = invalid_msr
filter = vmx_ldtr_test, test = v2_null_test
filter = vmx_ldtr_test, test = v2_multiple_entries_test
filter = vmx_ldtr_test, test = fixture_test_case1
filter = vmx_ldtr_test, test = fixture_test_case2
filter = vmx_ldtr_test, test = invvpid_test
filter = vmx_ldtr_test, test = vmx_controls_test
filter = vmx_ldtr_test, test = vmx_host_state_area_test
filter = vmx_ldtr_test, test = vmx_guest_state_area_test
filter = vmx_ldtr_test, test = vmentry_movss_shadow_test
filter = vmx_ldtr_test, test = vmentry_unrestricted_guest_test
filter = vmx_ldtr_test, test = vmx_eoi_bitmap_ioapic_scan_test
filter = vmx_ldtr_test, test = vmx_hlt_with_rvi_test
filter = vmx_ldtr_test, test = apic_reg_virt_test
filter = vmx_ldtr_test, test = virt_x2apic_mode_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_thread_test
filter = vmx_ldtr_test, test = vmx_apic_passthrough_tpr_threshold_test
filter = vmx_ldtr_test, test = vmx_init_signal_test
filter = vmx_ldtr_test, test = vmx_sipi_signal_test
filter = vmx_ldtr_test, test = vmx_vmcs_shadow_test
filter = vmx_ldtr_test, test = vmx_ldtr_test
Test suite: vmx_ldtr_test
PASS: Expected 18 for L2 LDTR selector (got 18)
FAIL: Expected 0 for L1 LDTR selector (got 50)
filter = vmx_ldtr_test, test = vmx_cr_load_test
filter = vmx_ldtr_test, test = vmx_cr4_osxsave_test
filter = vmx_ldtr_test, test = vmx_nm_test
filter = vmx_ldtr_test, test = vmx_db_test
filter = vmx_ldtr_test, test = vmx_nmi_window_test
filter = vmx_ldtr_test, test = vmx_intr_window_test
filter = vmx_ldtr_test, test = vmx_pending_event_test
filter = vmx_ldtr_test, test = vmx_pending_event_hlt_test
filter = vmx_ldtr_test, test = vmx_store_tsc_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_zero_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_tf_test
filter = vmx_ldtr_test, test = vmx_preemption_timer_expiry_test
filter = vmx_ldtr_test, test = ept_access_test_not_present
filter = vmx_ldtr_test, test = ept_access_test_read_only
filter = vmx_ldtr_test, test = ept_access_test_write_only
filter = vmx_ldtr_test, test = ept_access_test_read_write
filter = vmx_ldtr_test, test = ept_access_test_execute_only
filter = vmx_ldtr_test, test = ept_access_test_read_execute
filter = vmx_ldtr_test, test = ept_access_test_write_execute
filter = vmx_ldtr_test, test = ept_access_test_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_reserved_bits
filter = vmx_ldtr_test, test = ept_access_test_ignored_bits
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_only_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_write_execute
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_disabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_read_execute_ad_enabled
filter = vmx_ldtr_test, test = ept_access_test_paddr_not_present_page_fault
filter = vmx_ldtr_test, test = ept_access_test_force_2m_page
filter = vmx_ldtr_test, test = atomic_switch_max_msrs_test
filter = vmx_ldtr_test, test = atomic_switch_overflow_msrs_test
filter = vmx_ldtr_test, test = rdtsc_vmexit_diff_test
filter = vmx_ldtr_test, test = vmx_mtf_test
filter = vmx_ldtr_test, test = vmx_mtf_pdpte_test
filter = vmx_ldtr_test, test = vmx_pf_exception_test
filter = vmx_ldtr_test, test = vmx_pf_no_vpid_test
filter = vmx_ldtr_test, test = vmx_pf_invvpid_test
filter = vmx_ldtr_test, test = vmx_pf_vpid_test
SUMMARY: 5 tests, 1 unexpected failures
FAIL vmx_ldtr_test (5 tests, 1 unexpected failures)
This is a new test added into vmx (and split out for debug purpose), so it's not a regression. |
|
2022-04-13 08:41:19 |
Stefan Bader |
linux (Ubuntu Impish): importance |
Undecided |
Medium |
|
2022-04-13 08:41:19 |
Stefan Bader |
linux (Ubuntu Impish): status |
In Progress |
Fix Committed |
|
2022-04-13 08:43:02 |
Stefan Bader |
linux (Ubuntu Focal): importance |
Undecided |
Medium |
|
2022-04-13 08:43:02 |
Stefan Bader |
linux (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2022-04-13 08:45:10 |
Stefan Bader |
linux (Ubuntu Bionic): importance |
Undecided |
Medium |
|
2022-04-13 08:45:10 |
Stefan Bader |
linux (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2022-04-19 11:53:20 |
Ubuntu Kernel Bot |
tags |
4.15 5.13 5.4 bionic focal hinted impish oracle sru-20211129 sru-20220103 ubuntu-kvm-unit-tests |
4.15 5.13 5.4 bionic focal hinted impish oracle sru-20211129 sru-20220103 ubuntu-kvm-unit-tests verification-needed-impish |
|
2022-04-19 15:16:19 |
Ubuntu Kernel Bot |
tags |
4.15 5.13 5.4 bionic focal hinted impish oracle sru-20211129 sru-20220103 ubuntu-kvm-unit-tests verification-needed-impish |
4.15 5.13 5.4 bionic focal hinted impish oracle sru-20211129 sru-20220103 ubuntu-kvm-unit-tests verification-needed-focal verification-needed-impish |
|
2022-04-20 01:26:32 |
Po-Hsu Lin |
tags |
4.15 5.13 5.4 bionic focal hinted impish oracle sru-20211129 sru-20220103 ubuntu-kvm-unit-tests verification-needed-focal verification-needed-impish |
4.15 5.13 5.4 bionic focal hinted impish oracle sru-20211129 sru-20220103 ubuntu-kvm-unit-tests verification-done-impish verification-needed-focal |
|
2022-04-20 01:28:43 |
Po-Hsu Lin |
tags |
4.15 5.13 5.4 bionic focal hinted impish oracle sru-20211129 sru-20220103 ubuntu-kvm-unit-tests verification-done-impish verification-needed-focal |
4.15 5.13 5.4 bionic focal hinted impish oracle sru-20211129 sru-20220103 ubuntu-kvm-unit-tests verification-done-focal verification-done-impish |
|
2022-04-20 10:16:46 |
Ubuntu Kernel Bot |
tags |
4.15 5.13 5.4 bionic focal hinted impish oracle sru-20211129 sru-20220103 ubuntu-kvm-unit-tests verification-done-focal verification-done-impish |
4.15 5.13 5.4 bionic focal hinted impish oracle sru-20211129 sru-20220103 ubuntu-kvm-unit-tests verification-done-focal verification-done-impish verification-needed-bionic |
|
2022-04-20 11:12:16 |
Po-Hsu Lin |
tags |
4.15 5.13 5.4 bionic focal hinted impish oracle sru-20211129 sru-20220103 ubuntu-kvm-unit-tests verification-done-focal verification-done-impish verification-needed-bionic |
4.15 5.13 5.4 bionic focal hinted impish oracle sru-20211129 sru-20220103 ubuntu-kvm-unit-tests verification-done-bionic verification-done-focal verification-done-impish |
|
2022-05-10 09:30:14 |
Launchpad Janitor |
linux (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2022-05-10 09:30:14 |
Launchpad Janitor |
cve linked |
|
2020-27820 |
|
2022-05-10 09:30:14 |
Launchpad Janitor |
cve linked |
|
2021-26401 |
|
2022-05-10 09:30:14 |
Launchpad Janitor |
cve linked |
|
2022-0001 |
|
2022-05-10 09:30:14 |
Launchpad Janitor |
cve linked |
|
2022-1016 |
|
2022-05-10 09:30:14 |
Launchpad Janitor |
cve linked |
|
2022-26490 |
|
2022-05-10 09:30:14 |
Launchpad Janitor |
cve linked |
|
2022-27223 |
|
2022-05-10 09:36:27 |
Launchpad Janitor |
linux (Ubuntu Impish): status |
Fix Committed |
Fix Released |
|
2022-05-11 10:16:08 |
Launchpad Janitor |
linux-oem-5.14 (Ubuntu Focal): status |
In Progress |
Fix Released |
|
2022-05-11 10:16:08 |
Launchpad Janitor |
cve linked |
|
2022-28390 |
|
2022-05-11 19:24:45 |
Launchpad Janitor |
linux (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2022-06-07 09:39:31 |
Po-Hsu Lin |
ubuntu-kernel-tests: status |
In Progress |
Fix Released |
|
2022-06-07 09:39:31 |
Po-Hsu Lin |
ubuntu-kernel-tests: assignee |
|
Po-Hsu Lin (cypressyew) |
|