[{"data":1,"prerenderedAt":130},["ShallowReactive",2],{"zh-cn:CommonContent:/news/2022-08-26-recent-kernel-update-breaks-kvm":3},{"id":4,"title":5,"body":6,"categories":119,"date":121,"description":12,"extension":122,"home":123,"important":124,"meta":125,"navigation":124,"path":126,"seo":127,"stem":128,"__hash__":129},"zhCN/news/2022-08-26-recent-kernel-update-breaks-kvm.md","近期内核更新可能导致虚拟机在 Intel 11 代（或更新）平台上不可用",{"type":7,"value":8,"toc":116},"minimark",[9,13,16,28,38,48,54,57,63,66,69,72,111,113],[10,11,12],"p",{},"今日推送的 5.19.3 内核更新在 Intel 11 代或更新的处理器可能会导致使用 BIOS/UEFI CSM 模式启动的 KVM 虚拟机无法启动，该问题可以在 Qemu 及 VirtualBox 上复现。在某些情况下，甚至可能导致宿主机锁死。",[10,14,15],{},"经初步调查，该问题可能是本次更新开启的 Intel IBT (Indirect Branch Tracking) 功能导致的。该功能可用于改善平台安全性。内核 5.19.4 已解决该问题，我们将在近期推送该内核更新（见引用 3）。",[10,17,18,19,23,24,27],{},"在此之前，您可以通过追加内核参数 ",[20,21,22],"code",{},"ibt=off"," 以便暂时解决问题。请编辑 ",[20,25,26],{},"/etc/default/grub","：",[29,30,35],"pre",{"className":31,"code":33,"language":34},[32],"language-text","sudo nano /etc/default/grub\n","text",[20,36,33],{"__ignoreMap":37},"",[10,39,40,41,44,45,47],{},"并于该文件的 ",[20,42,43],{},"GRUB_CMDLINE_LINUX_DEFAULT="," 行的双引号之间加入 ",[20,46,22],{}," 参数，并注意与前一个参数用至少一个空格间隔开来。见下例：",[29,49,52],{"className":50,"code":51,"language":34},[32],"GRUB_CMDLINE_LINUX_DEFAULT=\"quiet rw rd.auto rd.auto=1 splash ibt=off\"\n",[20,53,51],{"__ignoreMap":37},[10,55,56],{},"而后，请执行如下命令：",[29,58,61],{"className":59,"code":60,"language":34},[32],"sudo grub-mkconfig -o /boot/grub/grub.cfg\n",[20,62,60],{"__ignoreMap":37},[10,64,65],{},"并重启您的设备以应用更改。",[67,68],"hr",{},[10,70,71],{},"引用：",[73,74,75,87,96],"ol",{},[76,77,78,79,86],"li",{},"Arch Linux 论坛上的",[80,81,85],"a",{"href":82,"rel":83},"https://bbs.archlinux.org/viewtopic.php?id=276699",[84],"nofollow","用户报告","（内附发行版问题报告）",[76,88,89,90,95],{},"内核",[80,91,94],{"href":92,"rel":93},"https://bugzilla.kernel.org/show_bug.cgi?id=216332",[84],"上游报告","（虚拟机启动失败）",[76,97,98,99,104,105,110],{},"内核上游补丁（",[80,100,103],{"href":101,"rel":102},"https://lore.kernel.org/lkml/20220823080128.867380224@linuxfoundation.org/",[84],"之一","，",[80,106,109],{"href":107,"rel":108},"https://lore.kernel.org/lkml/20220823080128.907850538@linuxfoundation.org/",[84],"之二","）",[67,112],{},[10,114,115],{},"— Mingcong Bai",{"title":37,"searchDepth":117,"depth":117,"links":118},2,[],[120],"advisories","2022-08-26T18:49:37.000Z","md",false,true,{},"/news/2022-08-26-recent-kernel-update-breaks-kvm",{"title":5,"description":12},"news/2022-08-26-recent-kernel-update-breaks-kvm","cw_QMxOLyKl0Nq3ZrEyIEfXtwkkFvSK7Xg7xYrngC6g",1773742826230]