我正在为我的 AMD 裸机 CPU 设置 KVM 嵌套虚拟化。我看到指南中有kvm-amd
和说明(在页面上搜索):kvm_amd
/etc/modprobe.d
- https://linux-kvm.org/page/Nested_Guests
- https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/configuring_and_managing_virtualization/creating-nested-virtual-machines_configuring-and-managing-virtualization#creating-a-nested-virtual-machine-on-amd_creating-嵌套虚拟机
- https://docs.fedoraproject.org/en-US/quick-docs/using-nested-virtualization-in-kvm/
- https://www.kernel.org/doc/html/v5.9/virt/kvm/running-nested-guests.html
- https://ubuntu.com/server/docs/how-to-enable-nested-virtualization
哪一个单词是正确的?
options kvm-amd nested=1
或options kvm_amd nested=1
它们都是正确的,连字符和下划线在内核命令行参数中是等效的: