Environment: CPU Architecture: x86_64 Host OS: Red Hat Enterprise Linux 8.4 (Ootpa) Host kernel: 5.19.0-rc1 gcc: gcc version 8.4.1 Host kernel source: https://git.kernel.org/pub/scm/virt/kvm/kvm.git Branch: next Commit: 4b88b1a518b337de1252b8180519ca4c00015c9e Qemu source: https://git.qemu.org/git/qemu.git Branch: master Commit: 40d522490714b65e0856444277db6c14c5cc3796 kvm-unit-tests source: https://gitlab.com/kvm-unit-tests/kvm-unit-tests.git Branch: master Commit: ca85dda2671e88d34acfbca6de48a9ab32b1810d Bug Detailed Description: kvm-unit-tests vmx_pf_exception_test_reduced_maxphyaddr fails in kvm 5.19-rc1. Reproducibility: Always Reproducing Steps: rmmod kvm_intel modprobe kvm_intel nested=Y allow_smaller_maxphyaddr=Y git clone https://gitlab.com/kvm-unit-tests/kvm-unit-tests.git cd kvm-unit-tests ./configure make standalone cd tests ./vmx_pf_exception_test_reduced_maxphyaddr Actual Result: [root@icx-2s1 tests]$./vmx_pf_exception_test_reduced_maxphyaddr BUILD_HEAD=ca85dda2 timeout -k 1s --foreground 90s /usr/local/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.tqLBp4BJLc -smp 1 -cpu IvyBridge,phys-bits=36,host-phys-bits=off,+vmx -append vmx_pf_exception_test vmx_pf_no_vpid_test vmx_pf_vpid_test vmx_pf_invvpid_test # -initrd /tmp/tmp.yMFfmwwAsy qemu-system-x86_64: warning: Host physical bits (46) does not match phys-bits property (36) enabling apic paging enabled cr0 = 80010011 cr3 = 1007000 cr4 = 20 filter = vmx_pf_exception_test, test = test_vmx_feature_control filter = vmx_pf_exception_test, test = test_vmxon filter = vmx_pf_exception_test, test = test_vmptrld filter = vmx_pf_exception_test, test = test_vmclear filter = vmx_pf_exception_test, test = test_vmptrst filter = vmx_pf_exception_test, test = test_vmwrite_vmread filter = vmx_pf_exception_test, test = test_vmcs_high filter = vmx_pf_exception_test, test = test_vmcs_lifecycle filter = vmx_pf_exception_test, test = test_vmx_caps filter = vmx_pf_exception_test, test = test_vmread_flags_touch filter = vmx_pf_exception_test, test = test_vmwrite_flags_touch filter = vmx_pf_exception_test, test = null filter = vmx_pf_exception_test, test = vmenter filter = vmx_pf_exception_test, test = preemption timer filter = vmx_pf_exception_test, test = control field PAT filter = vmx_pf_exception_test, test = control field EFER filter = vmx_pf_exception_test, test = CR shadowing filter = vmx_pf_exception_test, test = I/O bitmap filter = vmx_pf_exception_test, test = instruction intercept filter = vmx_pf_exception_test, test = EPT A/D disabled filter = vmx_pf_exception_test, test = EPT A/D enabled filter = vmx_pf_exception_test, test = PML filter = vmx_pf_exception_test, test = interrupt filter = vmx_pf_exception_test, test = nmi_hlt filter = vmx_pf_exception_test, test = debug controls filter = vmx_pf_exception_test, test = MSR switch filter = vmx_pf_exception_test, test = vmmcall filter = vmx_pf_exception_test, test = disable RDTSCP filter = vmx_pf_exception_test, test = int3 filter = vmx_pf_exception_test, test = into filter = vmx_pf_exception_test, test = exit_monitor_from_l2_test filter = vmx_pf_exception_test, test = invalid_msr filter = vmx_pf_exception_test, test = v2_null_test filter = vmx_pf_exception_test, test = v2_multiple_entries_test filter = vmx_pf_exception_test, test = fixture_test_case1 filter = vmx_pf_exception_test, test = fixture_test_case2 filter = vmx_pf_exception_test, test = invvpid_test filter = vmx_pf_exception_test, test = vmx_controls_test filter = vmx_pf_exception_test, test = vmx_host_state_area_test filter = vmx_pf_exception_test, test = vmx_guest_state_area_test filter = vmx_pf_exception_test, test = vmentry_movss_shadow_test filter = vmx_pf_exception_test, test = vmentry_unrestricted_guest_test filter = vmx_pf_exception_test, test = vmx_eoi_bitmap_ioapic_scan_test filter = vmx_pf_exception_test, test = vmx_hlt_with_rvi_test filter = vmx_pf_exception_test, test = apic_reg_virt_test filter = vmx_pf_exception_test, test = virt_x2apic_mode_test filter = vmx_pf_exception_test, test = vmx_apic_passthrough_test filter = vmx_pf_exception_test, test = vmx_apic_passthrough_thread_test filter = vmx_pf_exception_test, test = vmx_apic_passthrough_tpr_threshold_test filter = vmx_pf_exception_test, test = vmx_init_signal_test filter = vmx_pf_exception_test, test = vmx_sipi_signal_test filter = vmx_pf_exception_test, test = vmx_vmcs_shadow_test filter = vmx_pf_exception_test, test = vmx_ldtr_test filter = vmx_pf_exception_test, test = vmx_cr_load_test filter = vmx_pf_exception_test, test = vmx_cr4_osxsave_test filter = vmx_pf_exception_test, test = vmx_nm_test filter = vmx_pf_exception_test, test = vmx_db_test filter = vmx_pf_exception_test, test = vmx_nmi_window_test filter = vmx_pf_exception_test, test = vmx_intr_window_test filter = vmx_pf_exception_test, test = vmx_pending_event_test filter = vmx_pf_exception_test, test = vmx_pending_event_hlt_test filter = vmx_pf_exception_test, test = vmx_store_tsc_test filter = vmx_pf_exception_test, test = vmx_preemption_timer_zero_test filter = vmx_pf_exception_test, test = vmx_preemption_timer_tf_test filter = vmx_pf_exception_test, test = vmx_preemption_timer_expiry_test filter = vmx_pf_exception_test, test = ept_access_test_not_present filter = vmx_pf_exception_test, test = ept_access_test_read_only filter = vmx_pf_exception_test, test = ept_access_test_write_only filter = vmx_pf_exception_test, test = ept_access_test_read_write filter = vmx_pf_exception_test, test = ept_access_test_execute_only filter = vmx_pf_exception_test, test = ept_access_test_read_execute filter = vmx_pf_exception_test, test = ept_access_test_write_execute filter = vmx_pf_exception_test, test = ept_access_test_read_write_execute filter = vmx_pf_exception_test, test = ept_access_test_reserved_bits filter = vmx_pf_exception_test, test = ept_access_test_ignored_bits filter = vmx_pf_exception_test, test = ept_access_test_paddr_not_present_ad_disabled filter = vmx_pf_exception_test, test = ept_access_test_paddr_not_present_ad_enabled filter = vmx_pf_exception_test, test = ept_access_test_paddr_read_only_ad_disabled filter = vmx_pf_exception_test, test = ept_access_test_paddr_read_only_ad_enabled filter = vmx_pf_exception_test, test = ept_access_test_paddr_read_write filter = vmx_pf_exception_test, test = ept_access_test_paddr_read_write_execute filter = vmx_pf_exception_test, test = ept_access_test_paddr_read_execute_ad_disabled filter = vmx_pf_exception_test, test = ept_access_test_paddr_read_execute_ad_enabled filter = vmx_pf_exception_test, test = ept_access_test_paddr_not_present_page_fault filter = vmx_pf_exception_test, test = ept_access_test_force_2m_page filter = vmx_pf_exception_test, test = atomic_switch_max_msrs_test filter = vmx_pf_exception_test, test = atomic_switch_overflow_msrs_test filter = vmx_pf_exception_test, test = rdtsc_vmexit_diff_test filter = vmx_pf_exception_test, test = vmx_mtf_test filter = vmx_pf_exception_test, test = vmx_mtf_pdpte_test filter = vmx_pf_exception_test, test = vmx_pf_exception_test Test suite: vmx_pf_exception_test run CR4.PKE not available, disabling PKE tests x86/vmx_tests.c:10631: assert failed: false: Unexpected exit to L1, exit_reason: VMX_EXC_NMI (0x0) STACK: 406ede 407032 401e88 403c2e 4002c4 FAIL vmx_pf_exception_test_reduced_maxphyaddr Expected Result: ... PASS vmx_pf_exception_test_reduced_maxphyaddr