this is my conf output:
e3-1230v3 and gtx760, and gpu passthough
the moment i reinstall spice-guest-tools, mouse able, but installed, unable to move again.
or uninstall graphics drive,
or unset "pcie=1"
back to normal.
please help me, it took me a lot time, i don’t know what to do at all.
and more questiones:
1、how to spice vm as
2、when i set x-vga=on, spice showes connect to the screen,then no picture, is this normal?
3、Is there a way to automatically modify the name of the downloaded file of "spice"? how about "VMID.vv"?
Code:
qm showcmd 100 --pretty
/usr/bin/kvm \
-id 100 \
-name WindowsServer2019 \
-chardev 'socket,id=qmp,path=/var/run/qemu-server/100.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/100.pid \
-daemonize \
-smbios 'type=1,uuid=25803cad-7e26-45cd-b947-5ce4734fa0bb' \
-drive 'if=pflash,unit=0,format=raw,readonly,file=/usr/share/pve-edk2-firmware//OVMF_CODE.fd' \
-drive 'if=pflash,unit=1,format=qcow2,id=drive-efidisk0,file=/mnt/omv-disk-cache/_pve/images/100/vm-100-disk-1.qcow2' \
-smp '4,sockets=2,cores=2,maxcpus=4' \
-nodefaults \
-boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' \
-vnc unix:/var/run/qemu-server/100.vnc,x509,password \
-cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,kvm=off' \
-m 4096 \
-object 'memory-backend-ram,id=ram-node0,size=2048M' \
-numa 'node,nodeid=0,cpus=0-1,memdev=ram-node0' \
-object 'memory-backend-ram,id=ram-node1,size=2048M' \
-numa 'node,nodeid=1,cpus=2-3,memdev=ram-node1' \
-device 'vmgenid,guid=7e2cbaf9-6266-4452-910b-cb29866c051b' \
-readconfig /usr/share/qemu-server/pve-q35.cfg \
-device 'vfio-pci,host=01:00.0,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,multifunction=on,romfile=/usr/share/kvm/GK104_patched.rom' \
-device 'vfio-pci,host=01:00.1,id=hostpci0.1,bus=ich9-pcie-port-1,addr=0x0.1' \
-device 'qxl-vga,id=vga,bus=pcie.0,addr=0x1' \
-chardev 'socket,path=/var/run/qemu-server/100.qga,server,nowait,id=qga0' \
-device 'virtio-serial,id=qga0,bus=pci.0,addr=0x8' \
-device 'virtserialport,chardev=qga0,name=org.qemu.guest_agent.0' \
-spice 'tls-port=61001,addr=127.0.0.1,tls-ciphers=HIGH,seamless-migration=on' \
-device 'virtio-serial,id=spice,bus=pci.0,addr=0x9' \
-chardev 'spicevmc,id=vdagent,name=vdagent' \
-device 'virtserialport,chardev=vdagent,name=com.redhat.spice.0' \
-device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' \
-iscsi 'initiator-name=iqn.1993-08.org.debian:01:414e16d633' \
-drive 'file=/var/lib/vz/template/iso/virtio-win.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=/var/lib/vz/template/iso/cn_windows_server_2019_x64_dvd_4de40f33.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' \
-drive 'file=/mnt/omv-disk-cache/_pve/images/100/vm-100-disk-0.qcow2,if=none,id=drive-virtio0,cache=writeback,format=qcow2,aio=threads,detect-zeroes=on' \
-device 'virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,bootindex=100' \
-netdev 'type=tap,id=net0,ifname=tap502i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' \
-device 'virtio-net-pci,mac=76:36:35:61:9D:AF,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' \
-machine 'type=q35' \
-device 'AC97,addr=0x18' \
-cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,hv_vendor_id=1234567890a4,kvm=off'
e3-1230v3 and gtx760, and gpu passthough
the moment i reinstall spice-guest-tools, mouse able, but installed, unable to move again.
or uninstall graphics drive,
or unset "pcie=1"
back to normal.
please help me, it took me a lot time, i don’t know what to do at all.
Code:
dmesg | grep -i vfio
[ 2.186182] VFIO - User Level meta-driver version: 0.3
[ 2.190946] vfio-pci 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[ 2.208053] vfio_pci: add [10de:1187[ffff:ffff]] class 0x000000/00000000
[ 2.228073] vfio_pci: add [10de:0e0a[ffff:ffff]] class 0x000000/00000000
[ 80.443886] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x19@0x900
[ 266.419334] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x19@0x900
[ 417.800822] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x19@0x900
[ 579.893241] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x19@0x900
[ 1002.146738] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x19@0x900
[ 1105.490704] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x19@0x900
[ 1308.083816] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x19@0x900
[ 3718.966179] vfio_ecap_init: 0000:01:00.0 hiding ecap 0x19@0x900
and more questiones:
1、how to spice vm as
Code:
"spice://pve.ip:port"
2、when i set x-vga=on, spice showes connect to the screen,then no picture, is this normal?
3、Is there a way to automatically modify the name of the downloaded file of "spice"? how about "VMID.vv"?
Last edited: