<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>虚拟化 on 文叨叨 | IaaS 排障手记</title><link>/tags/%E8%99%9A%E6%8B%9F%E5%8C%96/</link><description>Recent content in 虚拟化 on 文叨叨 | IaaS 排障手记</description><generator>Hugo</generator><language>zh-cn</language><lastBuildDate>Sun, 12 Jul 2026 10:00:00 +0800</lastBuildDate><atom:link href="/tags/%E8%99%9A%E6%8B%9F%E5%8C%96/index.xml" rel="self" type="application/rss+xml"/><item><title>qemu64 CPU 模型为什么有 svm？兼容性模型的指令集设计</title><link>/posts/qemu64-cpu-model-svm/</link><pubDate>Sun, 12 Jul 2026 10:00:00 +0800</pubDate><guid>/posts/qemu64-cpu-model-svm/</guid><description>查看 qemu64 CPU 模型定义，发现它居然包含 svm 指令。qemu64 是为了兼容性设计的，但 svm 这类虚拟化指令也在其中，值得探究。</description></item><item><title>虚拟机无响应？重启后快速进 console 看内核日志</title><link>/posts/vm-no-response-restart-console/</link><pubDate>Sun, 14 Jun 2026 10:00:00 +0800</pubDate><guid>/posts/vm-no-response-restart-console/</guid><description>virsh console 卡住进不去，虚拟机无响应。一个思路是重启后快速进入 console，看内核启动日志，往往能发现关键线索。</description></item><item><title>为什么新系统跑不起来？默认 qemu 指令集不够用</title><link>/posts/modern-os-need-cpu-model/</link><pubDate>Sun, 07 Jun 2026 10:00:00 +0800</pubDate><guid>/posts/modern-os-need-cpu-model/</guid><description>新版本操作系统在没配置 CPU 指令集的虚拟机上运行僵死，报 &amp;#39;CPU does not support x86-64-v2&amp;#39;。根因是现代 OS 开启了指令集优化，纯 qemu 模拟指令无法满足运行要求。</description></item><item><title>热迁移后虚拟机卡死：CPU 100% 的时间中断死循环</title><link>/posts/migrate-vm-hang-cpu-100/</link><pubDate>Sat, 06 Jun 2026 10:00:00 +0800</pubDate><guid>/posts/migrate-vm-hang-cpu-100/</guid><description>从 Ubuntu 20 宿主机迁移到 Ubuntu 22 宿主机后，虚拟机卡死、CPU 占用 100%。用 crash 和 perf 定位到时间中断处理死循环，根因是热迁移过程中的时间处理问题。</description></item><item><title>virsh attach/detach 的延时问题：重试不是灵药，可能是毒药</title><link>/posts/virsh-attach-detach-delay/</link><pubDate>Sun, 01 Feb 2026 10:00:00 +0800</pubDate><guid>/posts/virsh-attach-detach-delay/</guid><description>virsh detach 后 domblklist 有短暂延时，detach 成功后立即 detach 相同卷也能成功，两次重复 detach 后再 attach 会失败。根因是 libvirt 不是实时状态，有一定延时。</description></item><item><title>libvirt CPU feature 的 disable 和 forbid 有什么区别？</title><link>/posts/libvirt-cpu-feature-disable-forbid/</link><pubDate>Sat, 31 Jan 2026 10:00:00 +0800</pubDate><guid>/posts/libvirt-cpu-feature-disable-forbid/</guid><description>libvirt CPU feature 的 policy 有 force、require、optional、disable、forbid 五种。disable 是虚拟 CPU 不支持该特性，forbid 是宿主机支持该特性时创建会失败。</description></item><item><title>ARM 虚拟机缺 acpi 为什么登录没反应？</title><link>/posts/arm-vm-missing-acpi-login/</link><pubDate>Sun, 25 Jan 2026 10:00:00 +0800</pubDate><guid>/posts/arm-vm-missing-acpi-login/</guid><description>ARM 虚拟机配置中 features 区块缺少 acpi，表面现象是 virsh console 登录没反应。根因是 ACPI 缺失导致系统底层硬件/服务初始化异常，间接引发登录流程失败。</description></item><item><title>qemu 为什么只支持一个 IDE controller？</title><link>/posts/qemu-single-ide-controller/</link><pubDate>Sat, 24 Jan 2026 10:00:00 +0800</pubDate><guid>/posts/qemu-single-ide-controller/</guid><description>qemu 只支持一个 IDE controller，一个 IDE controller 只支持 4 个设备（hda 到 hdd）。定义两个 IDE controller 或使用 hde 都会报错。</description></item><item><title>ARM 架构下 CPU 模型设置为什么失效？只有 passthrough</title><link>/posts/arm-cpu-model-passthrough/</link><pubDate>Sun, 04 Jan 2026 10:00:00 +0800</pubDate><guid>/posts/arm-cpu-model-passthrough/</guid><description>在 ARM（aarch64）架构下，libvirt/QEMU 的 CPU 模型与特性禁用设置不生效，虚拟机看到的 CPU 依然是透传的物理 CPU。</description></item></channel></rss>