Arch:KVM:修订间差异

来自WHY42
Riguz留言 | 贡献
建立內容為「 <syntaxhighlight lang="bash"> OptiPlex-7080% LC_ALL=C lscpu | grep Virtualization Virtualization: VT-x OptiPlex-7080% zgrep CONFIG_KVM /proc/co…」的新頁面
 
Riguz留言 | 贡献
无编辑摘要
 
(未显示同一用户的1个中间版本)
第37行: 第37行:
virtio-blk
virtio-blk
virtio-scsi
virtio-scsi
sudo pacman -S virt-manager qemu vde2 ebtables dnsmasq bridge-utils openbsd-netcat ovmf libvirt virt-viewer
sudo systemctl enable libvirtd.service
sudo systemctl start libvirtd.service
sudo virsh list --all
sudo virsh start vm-worker-1
</syntaxhighlight>
</syntaxhighlight>


[[Category:Linux/Unix]]
[[Category:Linux/Unix]]

2022年11月14日 (一) 15:08的最新版本

OptiPlex-7080% LC_ALL=C lscpu | grep Virtualization
Virtualization:                  VT-x

OptiPlex-7080% zgrep CONFIG_KVM /proc/config.gz
CONFIG_KVM_GUEST=y
CONFIG_KVM_MMIO=y
CONFIG_KVM_ASYNC_PF=y
CONFIG_KVM_VFIO=y
CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y
CONFIG_KVM_COMPAT=y
CONFIG_KVM_XFER_TO_GUEST_WORK=y
CONFIG_KVM=m
CONFIG_KVM_INTEL=m
CONFIG_KVM_AMD=m
CONFIG_KVM_AMD_SEV=y
CONFIG_KVM_XEN=y
CONFIG_KVM_EXTERNAL_WRITE_TRACKING=y

OptiPlex-7080% lsmod | grep kvm
kvm_intel             385024  0
kvm                  1130496  1 kvm_intel
irqbypass              16384  1 kvm

zgrep VIRTIO /proc/config.gz

OptiPlex-7080% lsmod | grep virtio
virtio_scsi            28672  0
virtio_blk             28672  0
virtio_net             69632  0
net_failover           24576  1 virtio_net

# see https://wiki.archlinux.org/title/Kernel_module_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)#systemd
OptiPlex-7080% cat /etc/modules-load.d/virtio-net.conf
virtio-net
virtio-blk
virtio-scsi

sudo pacman -S virt-manager qemu vde2 ebtables dnsmasq bridge-utils openbsd-netcat ovmf libvirt virt-viewer
sudo systemctl enable libvirtd.service
sudo systemctl start libvirtd.service


sudo virsh list --all
sudo virsh start vm-worker-1