Windows VM startup and shutdown oddities

epicurean

Member
Jun 21, 2021
44
1
13
54
Proxmox newbie here.
Just migrated 2 vmware Windows 10 vm to proxmox 7
I can start up both of them individually fine ( and this is with passthrough enabled with a nvidia GPU and a PCI USB 3) , but I cannot start the other after 1 is started.
One of the windows VM could not start up after i changed the machine to q35, but ok after I changed it to pc-q35-4.1. This same windows vm also has problems shutting down.

Is there something I can doing wrong? How do I resolve the issue?

much thanks
 
Could you please describe in more detail what you mean by "cannot start"? Does PVE show an error? Does your VM get past GRUB/UEFI? Bluescreen in Windows?
 
For the Windows 10 VM which does not shutdown properly, the status error will display "cant lock file /var/lock/qemu-server/lock-102.conf" - got timeout
AS you start it, status will be "failed to run vncproxy". Nothing appears on the console screen.This is after I start the first Windows 10 VM successfully
If I try to start the VM again, this is the error output
"TASK ERROR: start failed: command '/usr/bin/kvm -id 102 -name OP2 -no-shutdown -chardev 'socket,id=qmp,path=/var/run/qemu-server/102.qmp,server=on,wait=off' -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/102.pid -daemonize -smbios 'type=1,uuid=25218989-5174-46a2-a009-b1dc94c8b2b2' -drive 'if=pflash,unit=0,format=raw,readonly=on,file=/usr/share/pve-edk2-firmware//OVMF_CODE.fd' -drive 'if=pflash,unit=1,format=raw,id=drive-efidisk0,file=/tmp/102-ovmf.fd' -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/102.vnc,password=on' -cpu 'Broadwell,enforce,+kvm_pv_eoi,+kvm_pv_unhalt,vendor=GenuineIntel' -m 16384 -object 'memory-backend-ram,id=ram-node0,size=16384M' -numa 'node,nodeid=0,cpus=0-1,memdev=ram-node0' -readconfig /usr/share/qemu-server/pve-q35-4.0.cfg -device 'vmgenid,guid=75736549-acda-416f-b636-1cbc8a543657' -device 'usb-tablet,id=tablet,bus=ehci.0,port=1' -device 'vfio-pci,host=0000:04:00.0,id=hostpci0.0,bus=ich9-pcie-port-1,addr=0x0.0,multifunction=on' -device 'vfio-pci,host=0000:04:00.1,id=hostpci0.1,bus=ich9-pcie-port-1,addr=0x0.1' -device 'vfio-pci,host=0000:09:00.0,id=hostpci1,bus=ich9-pcie-port-2,addr=0x0' -device 'virtio-vga,id=vga,bus=pcie.0,addr=0x1' -chardev 'socket,path=/var/run/qemu-server/102.qga,server=on,wait=off,id=qga0' -device 'virtio-serial,id=qga0,bus=pci.0,addr=0x8' -device 'virtserialport,chardev=qga0,name=org.qemu.guest_agent.0' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:41e9fc9f21d3' -device 'ahci,id=ahci0,multifunction=on,bus=pci.0,addr=0x7' -drive 'file=/dev/zvol/Intel800/vm-102-disk-0,if=none,id=drive-sata0,format=raw,cache=none,aio=io_uring,detect-zeroes=on' -device 'ide-hd,bus=ahci0.0,drive=drive-sata0,id=sata0,rotation_rate=1,bootindex=100' -drive 'file=/mnt/pve/aei_backup/template/iso/virtio-win-0.1.185.iso,if=none,id=drive-sata3,media=cdrom,aio=io_uring' -device 'ide-cd,bus=ahci0.3,drive=drive-sata3,id=sata3' -netdev 'type=tap,id=net0,ifname=tap102i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=7A:D7:39:BD:2C:94,netdev=net0,bus=pci.0,addr=0x12,id=net0' -machine 'type=pc-q35-4.1+pve0'' failed: got timeout"
 
It seems experimenting with lower memory assignments helped a couple of users in the forum with similar problems.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!