|
txb2d
发表于 2019-10-6 00:14
来自 中国山东东营
本帖最后由 txb2d 于 2019-10-6 01:44 编辑
失败告终我是gen8 1265lv2 cpu windows2019
- args: -device vfio-pci,host=01:00.1,addr=0x18,x-igd-opregion=on
- bootdisk: sata0
- cores: 2
- hostpci0: 01:00.1
- ide0: txb-wdsdd-os:iso/virtio-win-0.1.172.iso,media=cdrom,size=363104K
- ide2: txb-wdsdd-os:iso/cn_windows_server_2019_updated_march_2019_x64_dvd_c1ffb46c.iso,media=cdrom
- machine: q35
- memory: 4048
- name: win2019new
- net0: e1000=02:8B:80:D2:59:80,bridge=vmbr2
- numa: 0
复制代码 直接启动不起来报错
- kvm: -device vfio-pci,host=01:00.1,addr=0x18,x-igd-opregion=on: vfio 0000:01:00.1: failed to setup container for group 13: Failed to set iommu for container: Operation not permitted
- TASK ERROR: start failed: command '/usr/bin/kvm -id 104 -name win2019new -chardev 'socket,id=qmp,path=/var/run/qemu-server/104.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5' -mon 'chardev=qmp-event,mode=control' -pidfile /var/run/qemu-server/104.pid -daemonize -smbios 'type=1,uuid=300c3a00-c997-4a5f-8d80-fcabc92e2f45' -smp '2,sockets=1,cores=2,maxcpus=2' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vnc unix:/var/run/qemu-server/104.vnc,password -no-hpet -cpu 'kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,hv_spinlocks=0x1fff,hv_vapic,hv_time,hv_reset,hv_vpindex,hv_runtime,hv_relaxed,hv_synic,hv_stimer,hv_tlbflush,hv_ipi,enforce' -m 4048 -device 'vmgenid,guid=7e4f1e91-f829-4804-9ebb-41cd835f6f82' -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg -device 'usb-tablet,id=tablet,bus=ehci.0,port=1' -device 'VGA,id=vga,bus=pcie.0,addr=0x1' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:cbd9d7417fe4' -drive 'file=/mnt/sdd/template/iso/virtio-win-0.1.172.iso,if=none,id=drive-ide0,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.0,unit=0,drive=drive-ide0,id=ide0,bootindex=200' -drive 'file=/mnt/sdd/template/iso/cn_windows_server_2019_updated_march_2019_x64_dvd_c1ffb46c.iso,if=none,id=drive-ide2,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=201' -device 'ahci,id=ahci0,multifunction=on,bus=pci.0,addr=0x7' -drive 'file=/mnt/sdd/images/104/vm-104-disk-0.qcow2,if=none,id=drive-sata0,format=qcow2,cache=none,aio=native,detect-zeroes=on' -device 'ide-hd,bus=ahci0.0,drive=drive-sata0,id=sata0,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap104i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown' -device 'e1000,mac=02:8B:80:D2:59:80,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -rtc 'driftfix=slew,base=localtime' -machine 'type=q35' -global 'kvm-pit.lost_tick_policy=discard' -device 'vfio-pci,host=01:00.1,addr=0x18,x-igd-opregion=on'' failed: exit code 1
复制代码
|
|