Привет! У меня есть VDS от Contabo, на котором работает Proxmox. Там несколько рабочих LXC контейнеров, и к любому новому контейнеру, который я добавляю, всё отлично. А вот с виртуальными машинами никак не получается - не могу запустить ни одну ОС. Сейчас пытаюсь загрузить Linux Mint, но пробовал разные конфигурации и ОС, и результат всегда один и тот же: ОС застревает на загрузке. Добавил verbose в меню GRUB, но дальше этого не выходит
. Команда для VM:
```
/usr/bin/kvm \
-id 999 \
-name 'opnsense,debug-threads=on' \
-no-shutdown \
-chardev 'socket,id=qmp,path=/var/run/qemu-server/999.qmp,server=on,wait=off' \
-mon 'chardev=qmp,mode=control' \
-chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect-ms=5000' \
-mon 'chardev=qmp-event,mode=control' \
-pidfile /var/run/qemu-server/999.pid \
-daemonize \
-smbios 'type=1,uuid=ebc6ddb3-f684-4ddc-b403-756fbc80fa5b' \
-drive 'if=pflash,unit=0,format=raw,readonly=on,file=/usr/share/pve-edk2-firmware//OVMF_CODE_4M.secboot.fd' \
-drive 'if=pflash,unit=1,id=drive-efidisk0,format=qcow2,file=/var/lib/vz/images/999/vm-999-disk-0.qcow2' \
-smp '4,sockets=1,cores=4,maxcpus=4' \
-nodefaults \
-boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' \
-vnc 'unix:/var/run/qemu-server/999.vnc,password=on' \
-cpu qemu64,+aes,enforce,+kvm_pv_eoi,+kvm_pv_unhalt,+pni,+popcnt,+sse4.1,+sse4.2,+ssse3 \
-m 4092 \
-object 'iothread,id=iothread-virtioscsi0' \
-global 'ICH9-LPC.disable_s3=1' \
-global 'ICH9-LPC.disable_s4=1' \
-readconfig /usr/share/qemu-server/pve-q35-4.0.cfg \
-device 'vmgenid,guid=bd168206-1133-4690-8d2c-bf84b37eab65' \
-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,free-page-reporting=on' \
-iscsi 'initiator-name=iqn.1993-08.org.debian:01:38964a7c611b' \
-drive 'file=/var/lib/vz/template/iso/linuxmint-22.1-cinnamon-64bit.iso,if=none,id=drive-ide2,media=cdrom,format=raw,aio=io_uring' \
-device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=101' \
-device 'virtio-scsi-pci,id=virtioscsi0,bus=pci.3,addr=0x1,iothread=iothread-virtioscsi0' \
-drive 'file=/var/lib/vz/images/999/vm-999-disk-1.qcow2,if=none,id=drive-scsi0,format=qcow2,cache=none,aio=io_uring,detect-zeroes=on' \
-device 'scsi-hd,bus=virtioscsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100' \
-netdev 'type=tap,id=net0,ifname=tap999i0,script=/usr/libexec/qemu-server/pve-bridge,downscript=/usr/libexec/qemu-server/pve-bridgedown,vhost=on' \
-device 'virtio-net-pci,mac=BC:24:11:E7:23:FE,netdev=net0,bus=pci.0,addr=0x12,id=net0,rx_queue_size=1000,tx_queue_size=1000' \
-boot 'once=0' \
-nodefaults \
-vnc 'unix:/var/run/qemu-server/999.vnc,password=on'
```
Вот информация о системе:
```
proxmox-ve: 8.4.0-1
pve-kernel: 6.5.37-pve1
pve-header: 6.5.37-pve1
pve-module: 6.5.37-pve1
pve-src: 20240128T165636
libpve-kernel: 8.4.0-1
```
У меня ощущение, что дело в прошивке, но я не уверен.
. Команда для VM:```
/usr/bin/kvm \
-id 999 \
-name 'opnsense,debug-threads=on' \
-no-shutdown \
-chardev 'socket,id=qmp,path=/var/run/qemu-server/999.qmp,server=on,wait=off' \
-mon 'chardev=qmp,mode=control' \
-chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect-ms=5000' \
-mon 'chardev=qmp-event,mode=control' \
-pidfile /var/run/qemu-server/999.pid \
-daemonize \
-smbios 'type=1,uuid=ebc6ddb3-f684-4ddc-b403-756fbc80fa5b' \
-drive 'if=pflash,unit=0,format=raw,readonly=on,file=/usr/share/pve-edk2-firmware//OVMF_CODE_4M.secboot.fd' \
-drive 'if=pflash,unit=1,id=drive-efidisk0,format=qcow2,file=/var/lib/vz/images/999/vm-999-disk-0.qcow2' \
-smp '4,sockets=1,cores=4,maxcpus=4' \
-nodefaults \
-boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' \
-vnc 'unix:/var/run/qemu-server/999.vnc,password=on' \
-cpu qemu64,+aes,enforce,+kvm_pv_eoi,+kvm_pv_unhalt,+pni,+popcnt,+sse4.1,+sse4.2,+ssse3 \
-m 4092 \
-object 'iothread,id=iothread-virtioscsi0' \
-global 'ICH9-LPC.disable_s3=1' \
-global 'ICH9-LPC.disable_s4=1' \
-readconfig /usr/share/qemu-server/pve-q35-4.0.cfg \
-device 'vmgenid,guid=bd168206-1133-4690-8d2c-bf84b37eab65' \
-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,free-page-reporting=on' \
-iscsi 'initiator-name=iqn.1993-08.org.debian:01:38964a7c611b' \
-drive 'file=/var/lib/vz/template/iso/linuxmint-22.1-cinnamon-64bit.iso,if=none,id=drive-ide2,media=cdrom,format=raw,aio=io_uring' \
-device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=101' \
-device 'virtio-scsi-pci,id=virtioscsi0,bus=pci.3,addr=0x1,iothread=iothread-virtioscsi0' \
-drive 'file=/var/lib/vz/images/999/vm-999-disk-1.qcow2,if=none,id=drive-scsi0,format=qcow2,cache=none,aio=io_uring,detect-zeroes=on' \
-device 'scsi-hd,bus=virtioscsi0.0,channel=0,scsi-id=0,lun=0,drive=drive-scsi0,id=scsi0,bootindex=100' \
-netdev 'type=tap,id=net0,ifname=tap999i0,script=/usr/libexec/qemu-server/pve-bridge,downscript=/usr/libexec/qemu-server/pve-bridgedown,vhost=on' \
-device 'virtio-net-pci,mac=BC:24:11:E7:23:FE,netdev=net0,bus=pci.0,addr=0x12,id=net0,rx_queue_size=1000,tx_queue_size=1000' \
-boot 'once=0' \
-nodefaults \
-vnc 'unix:/var/run/qemu-server/999.vnc,password=on'
```
Вот информация о системе:
```
proxmox-ve: 8.4.0-1
pve-kernel: 6.5.37-pve1
pve-header: 6.5.37-pve1
pve-module: 6.5.37-pve1
pve-src: 20240128T165636
libpve-kernel: 8.4.0-1
```
У меня ощущение, что дело в прошивке, но я не уверен.

