[Bug]: Guru Meditation VERR_SVM_UNKNOWN_EXIT when a nested KVM guest (crosvm/Cuttlefish) starts in an AMD-V nested-virtualization guest
維護者通常 6 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 42/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- c
研究方向
Start in the VMM AMD-V/SVM handling, using the reported VERR_SVM_UNKNOWN_EXIT and nested-guest VMCB cache log entries as search terms; the issue does not name source files or tests. Reproduce by starting a KVM guest inside the Debian VM with nested virtualization enabled, then inspect the VM log around the SVM exit and the repeated catch-up messages. Done means the nested guest can run without the host VM entering Guru Meditation.
由索引模型根據 Issue 內容生成。
描述
Version
7.2.20
Host OS Type
Windows
Host OS name + version
Windows 11 Pro 10.0.26200.9711 (Hyper-V/VBS disabled)
Host Architecture
x86
Guest OS Type
Linux
Guest Architecture
x86
Guest OS name + version
Debian 13 (Trixie)
Component
VMM
What happened?
The whole VM stops with VCPU6: Guru Meditation -4060 (VERR_SVM_UNKNOWN_EXIT) (state GURU_MEDITATION, rcLastExitToR3 = VERR_SVM_UNKNOWN_EXIT) when a nested KVM guest is started inside a Debian guest with Nested VT-x/AMD-V enabled. The nested guest is Android Cuttlefish (crosvm using /dev/kvm).
The log shows fNestedPaging = false in the nested-guest VMCB cache on all CPUs, and repeated TM: Giving up catch-up attempt messages before the crash.
Host: AMD Ryzen 7 5700G (Zen 3), 32 GB RAM, Windows 11 Pro 10.0.26200.9711. Hyper-V, Virtual Machine Platform and VBS are disabled; VBoxManage list hostinfo reports Processor supports nested HW virtualization: yes.
Guest: Debian 13 x86_64, 8 vCPUs, 16 GB RAM, VBoxManage modifyvm --nested-hw-virt on, Guest Additions installed, /dev/kvm present in the guest.
Likely reproducible with any KVM guest (QEMU or crosvm) started inside the VM; not specific to Cuttlefish. The attached VBox.log has usernames and the VM name scrubbed.
Relevant VBox.log excerpt
00:26:35.411126 Changing the VM state from 'RUNNING' to 'GURU_MEDITATION'
00:26:35.411191 Console: Machine state changed to 'Stuck'
00:26:35.411812 !! VCPU6: Guru Meditation -4060 (VERR_SVM_UNKNOWN_EXIT)
...
00:26:35.424161 CPU[5]: AMD-V info:
00:26:35.424162 HM error = 0x0 (0)
00:26:35.424162 rcLastExitToR3 = VINF_EM_HALT
00:26:35.424168 CPU[6]: AMD-V info:
00:26:35.424168 HM error = 0xa2 (162)
00:26:35.424169 rcLastExitToR3 = VERR_SVM_UNKNOWN_EXIT
...
00:26:35.429086 CPU[0]: HM SVM nested-guest VMCB cache
00:26:35.429099 fNestedPaging = false
How can we reproduce this?
- On a Windows 11 host with an AMD CPU (Hyper-V/VBS disabled), create a Debian 13 x86_64 VM, 8 vCPUs, 16 GB RAM, and enable Nested VT-x/AMD-V (
VBoxManage modifyvm <vm> --nested-hw-virt on). Confirm /dev/kvm exists in the guest. - In the guest, install Android Cuttlefish 1.57.0 (cuttlefish-base and cuttlefish-user from the google/android-cuttlefish apt repo) and add your user to the kvm, cvdnetwork and render groups. Reboot.
mkdir ~/cf && cd ~/cf && cvd fetch --default_build=aosp-android-latest-release/aosp_cf_x86_64_only_phone-userdebugcvd create --host_path=$HOME/cf --product_path=$HOME/cf --cpus=4 --memory_mb=6144- Wait about a minute while the nested guest boots. The VM then enters Guru Meditation with VERR_SVM_UNKNOWN_EXIT.
Did you upload all of your necessary log files, screenshots, etc.?
- Yes, I've uploaded all pertinent files to this issue.
- 主要語言
- C
- 星號
- 1.4k
- 分支
- 219
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
VirtualBox/virtualbox 的其他 Issue
-
enhancement
難度 2/5 1-3 小時 新手友好度 68/100
VirtualBox/virtualbox#979 ·
維護者通常 6 天內回覆
-
[Bug]: Guest Additions 7.2.20 vboxvideo fails to build on Linux kernel 6.12.113 (drm_fb_helper_restore_fbdev_mode_unlocked: too few arguments)可能已有人在做 @Berbe 於 11 天前認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 76/100
VirtualBox/virtualbox#918 · 9 則留言 ·
維護者通常 6 天內回覆
-
bug
難度 4/5 3-5 天 新手友好度 12/100
VirtualBox/virtualbox#981 ·
維護者通常 6 天內回覆
-
bug
難度 4/5 3-5 天 新手友好度 8/100
VirtualBox/virtualbox#980 ·
維護者通常 6 天內回覆
-
bug
難度 4/5 3-5 天 新手友好度 18/100
VirtualBox/virtualbox#977 ·
維護者通常 6 天內回覆
查看 VirtualBox/virtualbox 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 72/100
ROCm/rocm-libraries#15866 ·
維護者通常 2 天內回覆
-
[Qt] Fix QString conversion for game name in game_list_actions.cpp可能重新可做 關聯的 PR 已關閉且未合併。 未關閉
難度 1/5 1 小時以內 新手友好度 66/100
維護者通常 1 天內回覆
-
bug good first issue
難度 2/5 1-3 小時 新手友好度 85/100
維護者通常 1 天內回覆
-
Status: Opened
難度 2/5 1-3 小時 新手友好度 62/100
-
Status: Opened
難度 2/5 1-3 小時 新手友好度 64/100
維護者通常 1 天內回覆