重启后虚拟机无法在 KVM 上启动

重启后虚拟机无法在 KVM 上启动

我在 Ubuntu 服务器 16.04 上运行了 2 台虚拟机,重启后无法启动。我已将它们配置为自动启动。

当我尝试启动虚拟机 virsh start VM 时,收到以下错误:

错误:无法启动域 vpre06 错误:未找到设备 0000:3b:02.0:无法访问 /sys/bus/pci/devices/0000:3b:02.0/config:没有此文件或目录

设备 0000:3b:02.0(pci)来自 Intel 10G 以太网卡,当我输入 lspci -nnkv 时,我可以看到 0000:3b:02.0 设备。

这是用于创建虚拟机的内容:

root@MYR-EQX-SYD-DPISRV-02:~# virt-install --connect qemu:///system --name=vpre06 --memory=160000 --vcpus=32,placement="static" --os-type=linux --os-variant=virtio26 --disk path=/data/VM/vpre06/vpre06-disk1.qcow2,format=qcow2,bus=virtio,cache=none --cpu host-passthrough --memorybacking hugepages=on,nosharepages=on,size=1,unit=G --network bridge=br_admin,model=virtio --network bridge=br_aux,model=virtio --host-device=3b:02.0 --host-device=3b:06.0 --host-device=3b:0a.0 --host-device=3b:0e.0 --host-device=5e:02.0 --主机设备=5e:06.0 --主机设备=5e:0a.0 --主机设备=5e:0e.0 --主机设备=60:02.0 --主机设备=60:06.0 --主机设备=60:0a.0 --主机设备=60:0e.0 --memballoon 无 --nographics --noautoconsole --import

相关内容