Explosive
Yetkin
- Katılım
- 26 Ocak 2024
- Mesajlar
- 258
- Çözümler
- 6
- Beğeniler
- 123
Merhaba arkadaşlar Yusuf'un videosundaki Single GPU passthrough yapmaya çalışırken sonra hata aldım. Makineyi başlattığım zaman ekran kapanıyor ardından tekrar KDE kilit ekranına atıyor. Logları bırakıyorum.
[CODE title="custom_hooks.log"]08/30/2024 17:15:25 : Beginning of Startup!
1149 plasmashell.
08/30/2024 17:15:25 : Display Manager is KDE, running KDE clause!
08/30/2024 17:15:25 : Display Manager = display-manager
08/30/2024 17:15:25 : Unbinding Console 1
/usr/local/bin/vfio-startup: line 136: kill_yusuf_processes_except_ssh: command not found.
0b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c3)
08/30/2024 17:15:25 : System has an AMD GPU.
/usr/local/bin/vfio-startup: line 160: echo: write error: No such device.
modprobe: FATAL: Module drm_kms_helper is builtin.
modprobe: FATAL: Module drm is builtin.
08/30/2024 17:15:25 : AMD GPU Drivers Unloaded.
08/30/2024 17:15:25 : End of Startup!
08/30/2024 17:15:35 : Beginning of Teardown!
grep: /tmp/vfio-is-nvidia: No such file or directory.
08/30/2024 17:15:35 : Loading AMD GPU Drivers.
08/30/2024 17:15:35 : AMD GPU Drivers Loaded.
/usr/bin/systemctl
08/30/2024 17:15:35 : Var has been collected from file: display-manager
08/30/2024 17:15:35 : Rebinding console 1
08/30/2024 17:15:35 : End of Teardown!
[/CODE]
[CODE title="Qemu Win11 Log"]2024-08-30 13:24:53.704+0000: Starting external device: TPM Emulator.
/usr/bin/swtpm socket --ctrl type=unixio,path=/run/libvirt/qemu/swtpm/1-win11-swtpm.sock,mode=0600 --tpmstate dir=/var/lib/libvirt/swtpm/2679b72b-b24f-4e32-88ee-03bc41c931bd/tpm2,mode=0600 --log file=/var/log/swtpm/libvirt/qemu/win11-swtpm.log --terminate --tpm2
2024-08-30 13:24:53.741+0000: starting up libvirt version: 10.6.0, qemu version: 9.0.2, kernel: 6.10.6-arch1-1, hostname: archlinux.
LC_ALL=C \
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin \
USER=root \
HOME=/var/lib/libvirt/qemu/domain-1-win11 \
XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-1-win11/.local/share \
XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-1-win11/.cache \
XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-1-win11/.config \
/usr/bin/qemu-system-x86_64 \
-name guest=win11,debug-threads=on \
-S \
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-1-win11/master-key.aes"}' \
-blockdev '{"driver":"file","filename":"/usr/share/edk2/x64/OVMF_CODE.secboot.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \
-blockdev '{"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/win11_VARS.fd","node-name":"libvirt-pflash1-storage","read-only":false}' \
-machine pc-q35-9.0,usb=off,vmport=off,smm=on,dump-guest-core=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-storage,hpet=off,acpi=on \
-accel kvm \
-cpu host,migratable=on,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff \
-global driver=cfi.pflash01,property=secure,value=on \
-m size=30720000k \
-object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":31457280000}' \
-overcommit mem-lock=off \
-smp 12,sockets=1,dies=1,clusters=1,cores=6,threads=2 \
-uuid 2679b72b-b24f-4e32-88ee-03bc41c931bd \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=30,server=on,wait=off \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=localtime,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-no-shutdown \
-global ICH9-LPC.disable_s3=1 \
-global ICH9-LPC.disable_s4=1 \
-boot strict=on \
-device '{"driver":"pcie-root-port","port":16,"chassis":1,"id":"pci.1","bus":"pcie.0","multifunction":true,"addr":"0x2"}' \
-device '{"driver":"pcie-root-port","port":17,"chassis":2,"id":"pci.2","bus":"pcie.0","addr":"0x2.0x1"}' \
-device '{"driver":"pcie-root-port","port":18,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x2.0x2"}' \
-device '{"driver":"pcie-root-port","port":19,"chassis":4,"id":"pci.4","bus":"pcie.0","addr":"0x2.0x3"}' \
-device '{"driver":"pcie-root-port","port":20,"chassis":5,"id":"pci.5","bus":"pcie.0","addr":"0x2.0x4"}' \
-device '{"driver":"pcie-root-port","port":21,"chassis":6,"id":"pci.6","bus":"pcie.0","addr":"0x2.0x5"}' \
-device '{"driver":"pcie-root-port","port":22,"chassis":7,"id":"pci.7","bus":"pcie.0","addr":"0x2.0x6"}' \
-device '{"driver":"pcie-root-port","port":23,"chassis":8,"id":"pci.8","bus":"pcie.0","addr":"0x2.0x7"}' \
-device '{"driver":"pcie-root-port","port":24,"chassis":9,"id":"pci.9","bus":"pcie.0","multifunction":true,"addr":"0x3"}' \
-device '{"driver":"pcie-root-port","port":25,"chassis":10,"id":"pci.10","bus":"pcie.0","addr":"0x3.0x1"}' \
-device '{"driver":"pcie-root-port","port":26,"chassis":11,"id":"pci.11","bus":"pcie.0","addr":"0x3.0x2"}' \
-device '{"driver":"pcie-root-port","port":27,"chassis":12,"id":"pci.12","bus":"pcie.0","addr":"0x3.0x3"}' \
-device '{"driver":"pcie-root-port","port":28,"chassis":13,"id":"pci.13","bus":"pcie.0","addr":"0x3.0x4"}' \
-device '{"driver":"pcie-root-port","port":29,"chassis":14,"id":"pci.14","bus":"pcie.0","addr":"0x3.0x5"}' \
-device '{"driver":"qemu-xhci","p2":15,"p3":15,"id":"usb","bus":"pci.2","addr":"0x0"}' \
-device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.3","addr":"0x0"}' \
-blockdev '{"driver":"file","filename":"/var/lib/libvirt/images/win11.qcow2","node-name":"libvirt-3-storage","auto-read-only":true,"discard":"unmap","cache":{"direct":false,"no-flush":false}}' \
-blockdev '{"node-name":"libvirt-3-format","read-only":false,"discard":"unmap","cache":{"direct":false,"no-flush":false},"driver":"qcow2","file":"libvirt-3-storage","backing":null}' \
-device '{"driver":"virtio-blk-pci","bus":"pci.4","addr":"0x0","drive":"libvirt-3-format","id":"virtio-disk0","bootindex":2,"write-cache":"on"}' \
-blockdev '{"driver":"file","filename":"/home/explosive/Downloads/Win11_23H2_Turkish_x64v2.iso","node-name":"libvirt-2-storage","read-only":true}' \
-device '{"driver":"ide-cd","bus":"ide.1","drive":"libvirt-2-storage","id":"sata0-0-1","bootindex":1}' \
-blockdev '{"driver":"file","filename":"/home/explosive/Downloads/virtio-win-0.1.262.iso","node-name":"libvirt-1-storage","read-only":true}' \
-device '{"driver":"ide-cd","bus":"ide.2","drive":"libvirt-1-storage","id":"sata0-0-2","bootindex":3}' \
-netdev '{"type":"tap","fd":"31","vhost":true,"vhostfd":"35","id":"hostnet0"}' \
-device '{"driver":"virtio-net-pci","netdev":"hostnet0","id":"net0","mac":"52:54:00:a2:6b:92","bus":"pci.1","addr":"0x0"}' \
-chardev pty,id=charserial0 \
-device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \
-chardev spicevmc,id=charchannel0,name=vdagent \
-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"com.redhat.spice.0"}' \
-chardev socket,id=chrtpm,path=/run/libvirt/qemu/swtpm/1-win11-swtpm.sock \
-tpmdev emulator,id=tpm-tpm0,chardev=chrtpm \
-device '{"driver":"tpm-crb","tpmdev":"tpm-tpm0","id":"tpm0"}' \
-device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \
-audiodev '{"id":"audio1","driver":"spice"}' \
-spice port=5900,addr=127.0.0.1,disable-ticketing=on,image-compression=off,seamless-migration=on \
-device '{"driver":"qxl-vga","id":"video0","max_outputs":1,"ram_size":67108864,"vram_size":67108864,"vram64_size_mb":0,"vgamem_mb":16,"bus":"pcie.0","addr":"0x1"}' \
-device '{"driver":"ich9-intel-hda","id":"sound0","bus":"pcie.0","addr":"0x1b"}' \
-device '{"driver":"hda-duplex","id":"sound0-codec0","bus":"sound0.0","cad":0,"audiodev":"audio1"}' \
-global ICH9-LPC.noreboot=off \
-watchdog-action reset \
-chardev spicevmc,id=charredir0,name=usbredir \
-device '{"driver":"usb-redir","chardev":"charredir0","id":"redir0","bus":"usb.0","port":"2"}' \
-chardev spicevmc,id=charredir1,name=usbredir \
-device '{"driver":"usb-redir","chardev":"charredir1","id":"redir1","bus":"usb.0","port":"3"}' \
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.5","addr":"0x0"}' \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
char device redirected to /dev/pts/1 (label charserial0)
2024-08-30T13:24:53.805454Z qemu-system-x86_64: warning: This family of AMD CPU doesn't support hyperthreading(2)
Please configure -smp options properly or try enabling topoext feature.
2024-08-30T13:27:59.137792Z qemu-system-x86_64: terminating on signal 15 from pid 3280 (/usr/bin/libvirtd)
2024-08-30 13:28:00.004+0000: shutting down, reason=shutdown
2024-08-30 13:28:00.121+0000: Starting external device: TPM Emulator.
/usr/bin/swtpm socket --ctrl type=unixio,path=/run/libvirt/qemu/swtpm/2-win11-swtpm.sock,mode=0600 --tpmstate dir=/var/lib/libvirt/swtpm/2679b72b-b24f-4e32-88ee-03bc41c931bd/tpm2,mode=0600 --log file=/var/log/swtpm/libvirt/qemu/win11-swtpm.log --terminate --tpm2
2024-08-30 13:28:00.148+0000: starting up libvirt version: 10.6.0, qemu version: 9.0.2, kernel: 6.10.6-arch1-1, hostname: archlinux.
LC_ALL=C \
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin \
USER=root \
HOME=/var/lib/libvirt/qemu/domain-2-win11 \
XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-2-win11/.local/share \
XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-2-win11/.cache \
XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-2-win11/.config \
/usr/bin/qemu-system-x86_64 \
-name guest=win11,debug-threads=on \
-S \
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-2-win11/master-key.aes"}' \
-blockdev '{"driver":"file","filename":"/usr/share/edk2/x64/OVMF_CODE.secboot.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \
-blockdev '{"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/win11_VARS.fd","node-name":"libvirt-pflash1-storage","read-only":false}' \
-machine pc-q35-9.0,usb=off,vmport=off,smm=on,dump-guest-core=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-storage,hpet=off,acpi=on \
-accel kvm \
-cpu host,migratable=on,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff \
-global driver=cfi.pflash01,property=secure,value=on \
-m size=30720000k \
-object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":31457280000}' \
-overcommit mem-lock=off \
-smp 12,sockets=1,dies=1,clusters=1,cores=6,threads=2 \
-uuid 2679b72b-b24f-4e32-88ee-03bc41c931bd \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=30,server=on,wait=off \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=localtime,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-no-shutdown \
-global ICH9-LPC.disable_s3=1 \
-global ICH9-LPC.disable_s4=1 \
-boot strict=on \
-device '{"driver":"pcie-root-port","port":16,"chassis":1,"id":"pci.1","bus":"pcie.0","multifunction":true,"addr":"0x2"}' \
-device '{"driver":"pcie-root-port","port":17,"chassis":2,"id":"pci.2","bus":"pcie.0","addr":"0x2.0x1"}' \
-device '{"driver":"pcie-root-port","port":18,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x2.0x2"}' \
-device '{"driver":"pcie-root-port","port":19,"chassis":4,"id":"pci.4","bus":"pcie.0","addr":"0x2.0x3"}' \
-device '{"driver":"pcie-root-port","port":20,"chassis":5,"id":"pci.5","bus":"pcie.0","addr":"0x2.0x4"}' \
-device '{"driver":"pcie-root-port","port":21,"chassis":6,"id":"pci.6","bus":"pcie.0","addr":"0x2.0x5"}' \
-device '{"driver":"pcie-root-port","port":22,"chassis":7,"id":"pci.7","bus":"pcie.0","addr":"0x2.0x6"}' \
-device '{"driver":"pcie-root-port","port":23,"chassis":8,"id":"pci.8","bus":"pcie.0","addr":"0x2.0x7"}' \
-device '{"driver":"pcie-root-port","port":24,"chassis":9,"id":"pci.9","bus":"pcie.0","multifunction":true,"addr":"0x3"}' \
-device '{"driver":"pcie-root-port","port":25,"chassis":10,"id":"pci.10","bus":"pcie.0","addr":"0x3.0x1"}' \
-device '{"driver":"pcie-root-port","port":26,"chassis":11,"id":"pci.11","bus":"pcie.0","addr":"0x3.0x2"}' \
-device '{"driver":"pcie-root-port","port":27,"chassis":12,"id":"pci.12","bus":"pcie.0","addr":"0x3.0x3"}' \
-device '{"driver":"pcie-root-port","port":28,"chassis":13,"id":"pci.13","bus":"pcie.0","addr":"0x3.0x4"}' \
-device '{"driver":"pcie-root-port","port":29,"chassis":14,"id":"pci.14","bus":"pcie.0","addr":"0x3.0x5"}' \
-device '{"driver":"qemu-xhci","p2":15,"p3":15,"id":"usb","bus":"pci.2","addr":"0x0"}' \
-device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.3","addr":"0x0"}' \
-blockdev '{"driver":"file","filename":"/var/lib/libvirt/images/win11.qcow2","node-name":"libvirt-3-storage","auto-read-only":true,"discard":"unmap","cache":{"direct":false,"no-flush":false}}' \
-blockdev '{"node-name":"libvirt-3-format","read-only":false,"discard":"unmap","cache":{"direct":false,"no-flush":false},"driver":"qcow2","file":"libvirt-3-storage","backing":null}' \
-device '{"driver":"virtio-blk-pci","bus":"pci.4","addr":"0x0","drive":"libvirt-3-format","id":"virtio-disk0","bootindex":2,"write-cache":"on"}' \
-blockdev '{"driver":"file","filename":"/home/explosive/Downloads/Win11_23H2_Turkish_x64v2.iso","node-name":"libvirt-2-storage","read-only":true}' \
-device '{"driver":"ide-cd","bus":"ide.1","drive":"libvirt-2-storage","id":"sata0-0-1","bootindex":1}' \
-blockdev '{"driver":"file","filename":"/home/explosive/Downloads/virtio-win-0.1.262.iso","node-name":"libvirt-1-storage","read-only":true}' \
-device '{"driver":"ide-cd","bus":"ide.2","drive":"libvirt-1-storage","id":"sata0-0-2","bootindex":3}' \
-netdev '{"type":"tap","fd":"31","vhost":true,"vhostfd":"35","id":"hostnet0"}' \
-device '{"driver":"virtio-net-pci","netdev":"hostnet0","id":"net0","mac":"52:54:00:a2:6b:92","bus":"pci.1","addr":"0x0"}' \
-chardev pty,id=charserial0 \
-device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \
-chardev spicevmc,id=charchannel0,name=vdagent \
-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"com.redhat.spice.0"}' \
-chardev socket,id=chrtpm,path=/run/libvirt/qemu/swtpm/2-win11-swtpm.sock \
-tpmdev emulator,id=tpm-tpm0,chardev=chrtpm \
-device '{"driver":"tpm-crb","tpmdev":"tpm-tpm0","id":"tpm0"}' \
-device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \
-audiodev '{"id":"audio1","driver":"spice"}' \
-spice port=5900,addr=127.0.0.1,disable-ticketing=on,image-compression=off,seamless-migration=on \
-device '{"driver":"qxl-vga","id":"video0","max_outputs":1,"ram_size":67108864,"vram_size":67108864,"vram64_size_mb":0,"vgamem_mb":16,"bus":"pcie.0","addr":"0x1"}' \
-device '{"driver":"ich9-intel-hda","id":"sound0","bus":"pcie.0","addr":"0x1b"}' \
-device '{"driver":"hda-duplex","id":"sound0-codec0","bus":"sound0.0","cad":0,"audiodev":"audio1"}' \
-global ICH9-LPC.noreboot=off \
-watchdog-action reset \
-chardev spicevmc,id=charredir0,name=usbredir \
-device '{"driver":"usb-redir","chardev":"charredir0","id":"redir0","bus":"usb.0","port":"2"}' \
-chardev spicevmc,id=charredir1,name=usbredir \
-device '{"driver":"usb-redir","chardev":"charredir1","id":"redir1","bus":"usb.0","port":"3"}' \
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.5","addr":"0x0"}' \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
char device redirected to /dev/pts/1 (label charserial0)
2024-08-30T13:28:00.237081Z qemu-system-x86_64: warning: This family of AMD CPU doesn't support hyperthreading(2)
Please configure -smp options properly or try enabling topoext feature.
2024-08-30T13:34:29.526402Z qemu-system-x86_64: terminating on signal 15 from pid 3280 (/usr/bin/libvirtd)
2024-08-30 13:34:31.212+0000: shutting down, reason=shutdown
2024-08-30 14:15:31.385+0000: Starting external device: TPM Emulator.
/usr/bin/swtpm socket --ctrl type=unixio,path=/run/libvirt/qemu/swtpm/1-win11-swtpm.sock,mode=0600 --tpmstate dir=/var/lib/libvirt/swtpm/2679b72b-b24f-4e32-88ee-03bc41c931bd/tpm2,mode=0600 --log file=/var/log/swtpm/libvirt/qemu/win11-swtpm.log --terminate --tpm2
2024-08-30 14:15:31.423+0000: starting up libvirt version: 10.6.0, qemu version: 9.0.2, kernel: 6.10.6-arch1-1, hostname: archlinux.
LC_ALL=C \
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin \
USER=root \
HOME=/var/lib/libvirt/qemu/domain-1-win11 \
XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-1-win11/.local/share \
XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-1-win11/.cache \
XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-1-win11/.config \
/usr/bin/qemu-system-x86_64 \
-name guest=win11,debug-threads=on \
-S \
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-1-win11/master-key.aes"}' \
-blockdev '{"driver":"file","filename":"/usr/share/edk2/x64/OVMF_CODE.secboot.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \
-blockdev '{"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/win11_VARS.fd","node-name":"libvirt-pflash1-storage","read-only":false}' \
-machine pc-q35-9.0,usb=off,vmport=off,smm=on,dump-guest-core=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-storage,hpet=off,acpi=on \
-accel kvm \
-cpu host,migratable=on,topoext=on,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff \
-global driver=cfi.pflash01,property=secure,value=on \
-m size=30720000k \
-object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":31457280000}' \
-overcommit mem-lock=off \
-smp 12,sockets=1,dies=1,clusters=1,cores=6,threads=2 \
-uuid 2679b72b-b24f-4e32-88ee-03bc41c931bd \
-display none \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=29,server=on,wait=off \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=localtime,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-no-shutdown \
-global ICH9-LPC.disable_s3=1 \
-global ICH9-LPC.disable_s4=1 \
-boot strict=on \
-device '{"driver":"pcie-root-port","port":16,"chassis":1,"id":"pci.1","bus":"pcie.0","multifunction":true,"addr":"0x2"}' \
-device '{"driver":"pcie-root-port","port":17,"chassis":2,"id":"pci.2","bus":"pcie.0","addr":"0x2.0x1"}' \
-device '{"driver":"pcie-root-port","port":18,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x2.0x2"}' \
-device '{"driver":"pcie-root-port","port":19,"chassis":4,"id":"pci.4","bus":"pcie.0","addr":"0x2.0x3"}' \
-device '{"driver":"pcie-root-port","port":20,"chassis":5,"id":"pci.5","bus":"pcie.0","addr":"0x2.0x4"}' \
-device '{"driver":"pcie-root-port","port":21,"chassis":6,"id":"pci.6","bus":"pcie.0","addr":"0x2.0x5"}' \
-device '{"driver":"pcie-root-port","port":22,"chassis":7,"id":"pci.7","bus":"pcie.0","addr":"0x2.0x6"}' \
-device '{"driver":"pcie-root-port","port":23,"chassis":8,"id":"pci.8","bus":"pcie.0","addr":"0x2.0x7"}' \
-device '{"driver":"pcie-root-port","port":24,"chassis":9,"id":"pci.9","bus":"pcie.0","multifunction":true,"addr":"0x3"}' \
-device '{"driver":"pcie-root-port","port":25,"chassis":10,"id":"pci.10","bus":"pcie.0","addr":"0x3.0x1"}' \
-device '{"driver":"pcie-root-port","port":26,"chassis":11,"id":"pci.11","bus":"pcie.0","addr":"0x3.0x2"}' \
-device '{"driver":"pcie-root-port","port":27,"chassis":12,"id":"pci.12","bus":"pcie.0","addr":"0x3.0x3"}' \
-device '{"driver":"pcie-root-port","port":28,"chassis":13,"id":"pci.13","bus":"pcie.0","addr":"0x3.0x4"}' \
-device '{"driver":"pcie-root-port","port":29,"chassis":14,"id":"pci.14","bus":"pcie.0","addr":"0x3.0x5"}' \
-device '{"driver":"pcie-root-port","port":8,"chassis":15,"id":"pci.15","bus":"pcie.0","addr":"0x1"}' \
-device '{"driver":"qemu-xhci","p2":15,"p3":15,"id":"usb","bus":"pci.2","addr":"0x0"}' \
-device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.3","addr":"0x0"}' \
-blockdev '{"driver":"file","filename":"/var/lib/libvirt/images/win11.qcow2","node-name":"libvirt-3-storage","auto-read-only":true,"discard":"unmap","cache":{"direct":false,"no-flush":false}}' \
-blockdev '{"node-name":"libvirt-3-format","read-only":false,"discard":"unmap","cache":{"direct":false,"no-flush":false},"driver":"qcow2","file":"libvirt-3-storage","backing":null}' \
-device '{"driver":"virtio-blk-pci","bus":"pci.4","addr":"0x0","drive":"libvirt-3-format","id":"virtio-disk0","bootindex":2,"write-cache":"on"}' \
-blockdev '{"driver":"file","filename":"/home/explosive/Downloads/Win11_23H2_Turkish_x64v2.iso","node-name":"libvirt-2-storage","read-only":true}' \
-device '{"driver":"ide-cd","bus":"ide.1","drive":"libvirt-2-storage","id":"sata0-0-1","bootindex":1}' \
-blockdev '{"driver":"file","filename":"/home/explosive/Downloads/virtio-win-0.1.262.iso","node-name":"libvirt-1-storage","read-only":true}' \
-device '{"driver":"ide-cd","bus":"ide.2","drive":"libvirt-1-storage","id":"sata0-0-2","bootindex":3}' \
-netdev '{"type":"tap","fd":"31","vhost":true,"vhostfd":"34","id":"hostnet0"}' \
-device '{"driver":"virtio-net-pci","netdev":"hostnet0","id":"net0","mac":"52:54:00:a2:6b:92","bus":"pci.1","addr":"0x0"}' \
-chardev pty,id=charserial0 \
-device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \
-chardev socket,id=chrtpm,path=/run/libvirt/qemu/swtpm/1-win11-swtpm.sock \
-tpmdev emulator,id=tpm-tpm0,chardev=chrtpm \
-device '{"driver":"tpm-crb","tpmdev":"tpm-tpm0","id":"tpm0"}' \
-audiodev '{"id":"audio1","driver":"none"}' \
-global ICH9-LPC.noreboot=off \
-watchdog-action reset \
-device '{"driver":"vfio-pci","host":"0000:0b:00.1","id":"hostdev0","bus":"pci.6","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:0b:00.0","id":"hostdev1","bus":"pci.7","addr":"0x0","romfile":"/var/lib/libvirt/vgabios/patched.rom"}' \
-device '{"driver":"vfio-pci","host":"0000:08:00.0","id":"hostdev2","bus":"pci.8","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:02:00.1","id":"hostdev3","bus":"pci.9","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:0d:00.1","id":"hostdev4","bus":"pci.10","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:0d:00.0","id":"hostdev5","bus":"pci.11","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:0c:00.0","id":"hostdev6","bus":"pci.12","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:0d:00.3","id":"hostdev7","bus":"pci.13","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:0d:00.4","id":"hostdev8","bus":"pci.14","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:00:03.0","id":"hostdev9","bus":"pci.15","addr":"0x0"}' \
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.5","addr":"0x0"}' \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
char device redirected to /dev/pts/0 (label charserial0)
2024-08-30T14:15:34.684349Z qemu-system-x86_64: -device {"driver":"vfio-pci","host":"0000:0b:00.0","id":"hostdev1","bus":"pci.7","addr":"0x0","romfile":"/var/lib/libvirt/vgabios/patched.rom"}: failed to find romfile "/var/lib/libvirt/vgabios/patched.rom"
2024-08-30 14:15:34.788+0000: shutting down, reason=failed
[/CODE]
[CODE title="libvirtd.log"]2024-08-30 12:35:48.827+0000: 2976: info : libvirt version: 10.6.0
2024-08-30 12:35:48.827+0000: 2976: info : hostname: archlinux.
2024-08-30 12:35:48.827+0000: 2976: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 12:39:30.936+0000: 3970: info : libvirt version: 10.6.0
2024-08-30 12:39:30.936+0000: 3970: info : hostname: archlinux.
2024-08-30 12:39:30.936+0000: 3970: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 12:44:22.525+0000: 6079: info : libvirt version: 10.6.0
2024-08-30 12:44:22.525+0000: 6079: info : hostname: archlinux.
2024-08-30 12:44:22.525+0000: 6079: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 12:44:37.215+0000: 6129: info : libvirt version: 10.6.0
2024-08-30 12:44:37.215+0000: 6129: info : hostname: archlinux.
2024-08-30 12:44:37.215+0000: 6129: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 12:45:59.203+0000: 6783: info : libvirt version: 10.6.0
2024-08-30 12:45:59.203+0000: 6783: info : hostname: archlinux.
2024-08-30 12:45:59.203+0000: 6783: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 13:01:31.884+0000: 7661: info : libvirt version: 10.6.0
2024-08-30 13:01:31.884+0000: 7661: info : hostname: archlinux.
2024-08-30 13:01:31.884+0000: 7661: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 13:03:26.697+0000: 7979: info : libvirt version: 10.6.0
2024-08-30 13:03:26.697+0000: 7979: info : hostname: archlinux.
2024-08-30 13:03:26.697+0000: 7979: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 13:07:36.630+0000: 21366: info : libvirt version: 10.6.0
2024-08-30 13:07:36.630+0000: 21366: info : hostname: archlinux.
2024-08-30 13:07:36.630+0000: 21366: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 13:11:30.048+0000: 699: info : libvirt version: 10.6.0
2024-08-30 13:11:30.048+0000: 699: info : hostname: archlinux.
2024-08-30 13:11:30.048+0000: 699: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 13:44:53.414+0000: 701: info : libvirt version: 10.6.0
2024-08-30 13:44:53.414+0000: 701: info : hostname: archlinux.
2024-08-30 13:44:53.414+0000: 701: warning : virNetDaemonRun:873 : Make forcefull daemon shutdown.
2024-08-30 13:53:43.086+0000: 3546: info : libvirt version: 10.6.0
2024-08-30 13:53:43.086+0000: 3546: info : hostname: archlinux.
2024-08-30 13:53:43.086+0000: 3546: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 14:04:31.207+0000: 5417: info : libvirt version: 10.6.0
2024-08-30 14:04:31.207+0000: 5417: info : hostname: archlinux.
2024-08-30 14:04:31.207+0000: 5417: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 14:06:39.667+0000: 5419: error : qemuValidateDomainChrSourceDef:2041 : unsupported configuration: chardev 'spicevmc' not supported without spice graphics.
2024-08-30 14:15:25.433+0000: 5415: error : virNetSocketReadWire:1781 : End of file while reading data: Input/output error.
2024-08-30 14:15:25.447+0000: 5415: error : virNetSocketReadWire:1781 : End of file while reading data: Input/output error.
2024-08-30 14:15:34.787+0000: 6350: error : qemuMonitorIORead:396 : Unable to read from monitor: Connection reset by peer.
2024-08-30 14:15:34.788+0000: 6350: error : qemuProcessReportLogError:1929 : internal error: QEMU unexpectedly closed the monitor (vm='win11'): 2024-08-30T14:15:34.684349Z qemu-system-x86_64: -device {"driver":"vfio-pci","host":"0000:0b:00.0","id":"hostdev1","bus":"pci.7","addr":"0x0","romfile":"/var/lib/libvirt/vgabios/patched.rom"}: failed to find romfile "/var/lib/libvirt/vgabios/patched.rom"
2024-08-30 14:16:05.288+0000: 5418: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats[/CODE]
[CODE title="custom_hooks.log"]08/30/2024 17:15:25 : Beginning of Startup!
1149 plasmashell.
08/30/2024 17:15:25 : Display Manager is KDE, running KDE clause!
08/30/2024 17:15:25 : Display Manager = display-manager
08/30/2024 17:15:25 : Unbinding Console 1
/usr/local/bin/vfio-startup: line 136: kill_yusuf_processes_except_ssh: command not found.
0b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c3)
08/30/2024 17:15:25 : System has an AMD GPU.
/usr/local/bin/vfio-startup: line 160: echo: write error: No such device.
modprobe: FATAL: Module drm_kms_helper is builtin.
modprobe: FATAL: Module drm is builtin.
08/30/2024 17:15:25 : AMD GPU Drivers Unloaded.
08/30/2024 17:15:25 : End of Startup!
08/30/2024 17:15:35 : Beginning of Teardown!
grep: /tmp/vfio-is-nvidia: No such file or directory.
08/30/2024 17:15:35 : Loading AMD GPU Drivers.
08/30/2024 17:15:35 : AMD GPU Drivers Loaded.
/usr/bin/systemctl
08/30/2024 17:15:35 : Var has been collected from file: display-manager
08/30/2024 17:15:35 : Rebinding console 1
08/30/2024 17:15:35 : End of Teardown!
[/CODE]
[CODE title="Qemu Win11 Log"]2024-08-30 13:24:53.704+0000: Starting external device: TPM Emulator.
/usr/bin/swtpm socket --ctrl type=unixio,path=/run/libvirt/qemu/swtpm/1-win11-swtpm.sock,mode=0600 --tpmstate dir=/var/lib/libvirt/swtpm/2679b72b-b24f-4e32-88ee-03bc41c931bd/tpm2,mode=0600 --log file=/var/log/swtpm/libvirt/qemu/win11-swtpm.log --terminate --tpm2
2024-08-30 13:24:53.741+0000: starting up libvirt version: 10.6.0, qemu version: 9.0.2, kernel: 6.10.6-arch1-1, hostname: archlinux.
LC_ALL=C \
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin \
USER=root \
HOME=/var/lib/libvirt/qemu/domain-1-win11 \
XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-1-win11/.local/share \
XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-1-win11/.cache \
XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-1-win11/.config \
/usr/bin/qemu-system-x86_64 \
-name guest=win11,debug-threads=on \
-S \
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-1-win11/master-key.aes"}' \
-blockdev '{"driver":"file","filename":"/usr/share/edk2/x64/OVMF_CODE.secboot.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \
-blockdev '{"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/win11_VARS.fd","node-name":"libvirt-pflash1-storage","read-only":false}' \
-machine pc-q35-9.0,usb=off,vmport=off,smm=on,dump-guest-core=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-storage,hpet=off,acpi=on \
-accel kvm \
-cpu host,migratable=on,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff \
-global driver=cfi.pflash01,property=secure,value=on \
-m size=30720000k \
-object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":31457280000}' \
-overcommit mem-lock=off \
-smp 12,sockets=1,dies=1,clusters=1,cores=6,threads=2 \
-uuid 2679b72b-b24f-4e32-88ee-03bc41c931bd \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=30,server=on,wait=off \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=localtime,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-no-shutdown \
-global ICH9-LPC.disable_s3=1 \
-global ICH9-LPC.disable_s4=1 \
-boot strict=on \
-device '{"driver":"pcie-root-port","port":16,"chassis":1,"id":"pci.1","bus":"pcie.0","multifunction":true,"addr":"0x2"}' \
-device '{"driver":"pcie-root-port","port":17,"chassis":2,"id":"pci.2","bus":"pcie.0","addr":"0x2.0x1"}' \
-device '{"driver":"pcie-root-port","port":18,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x2.0x2"}' \
-device '{"driver":"pcie-root-port","port":19,"chassis":4,"id":"pci.4","bus":"pcie.0","addr":"0x2.0x3"}' \
-device '{"driver":"pcie-root-port","port":20,"chassis":5,"id":"pci.5","bus":"pcie.0","addr":"0x2.0x4"}' \
-device '{"driver":"pcie-root-port","port":21,"chassis":6,"id":"pci.6","bus":"pcie.0","addr":"0x2.0x5"}' \
-device '{"driver":"pcie-root-port","port":22,"chassis":7,"id":"pci.7","bus":"pcie.0","addr":"0x2.0x6"}' \
-device '{"driver":"pcie-root-port","port":23,"chassis":8,"id":"pci.8","bus":"pcie.0","addr":"0x2.0x7"}' \
-device '{"driver":"pcie-root-port","port":24,"chassis":9,"id":"pci.9","bus":"pcie.0","multifunction":true,"addr":"0x3"}' \
-device '{"driver":"pcie-root-port","port":25,"chassis":10,"id":"pci.10","bus":"pcie.0","addr":"0x3.0x1"}' \
-device '{"driver":"pcie-root-port","port":26,"chassis":11,"id":"pci.11","bus":"pcie.0","addr":"0x3.0x2"}' \
-device '{"driver":"pcie-root-port","port":27,"chassis":12,"id":"pci.12","bus":"pcie.0","addr":"0x3.0x3"}' \
-device '{"driver":"pcie-root-port","port":28,"chassis":13,"id":"pci.13","bus":"pcie.0","addr":"0x3.0x4"}' \
-device '{"driver":"pcie-root-port","port":29,"chassis":14,"id":"pci.14","bus":"pcie.0","addr":"0x3.0x5"}' \
-device '{"driver":"qemu-xhci","p2":15,"p3":15,"id":"usb","bus":"pci.2","addr":"0x0"}' \
-device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.3","addr":"0x0"}' \
-blockdev '{"driver":"file","filename":"/var/lib/libvirt/images/win11.qcow2","node-name":"libvirt-3-storage","auto-read-only":true,"discard":"unmap","cache":{"direct":false,"no-flush":false}}' \
-blockdev '{"node-name":"libvirt-3-format","read-only":false,"discard":"unmap","cache":{"direct":false,"no-flush":false},"driver":"qcow2","file":"libvirt-3-storage","backing":null}' \
-device '{"driver":"virtio-blk-pci","bus":"pci.4","addr":"0x0","drive":"libvirt-3-format","id":"virtio-disk0","bootindex":2,"write-cache":"on"}' \
-blockdev '{"driver":"file","filename":"/home/explosive/Downloads/Win11_23H2_Turkish_x64v2.iso","node-name":"libvirt-2-storage","read-only":true}' \
-device '{"driver":"ide-cd","bus":"ide.1","drive":"libvirt-2-storage","id":"sata0-0-1","bootindex":1}' \
-blockdev '{"driver":"file","filename":"/home/explosive/Downloads/virtio-win-0.1.262.iso","node-name":"libvirt-1-storage","read-only":true}' \
-device '{"driver":"ide-cd","bus":"ide.2","drive":"libvirt-1-storage","id":"sata0-0-2","bootindex":3}' \
-netdev '{"type":"tap","fd":"31","vhost":true,"vhostfd":"35","id":"hostnet0"}' \
-device '{"driver":"virtio-net-pci","netdev":"hostnet0","id":"net0","mac":"52:54:00:a2:6b:92","bus":"pci.1","addr":"0x0"}' \
-chardev pty,id=charserial0 \
-device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \
-chardev spicevmc,id=charchannel0,name=vdagent \
-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"com.redhat.spice.0"}' \
-chardev socket,id=chrtpm,path=/run/libvirt/qemu/swtpm/1-win11-swtpm.sock \
-tpmdev emulator,id=tpm-tpm0,chardev=chrtpm \
-device '{"driver":"tpm-crb","tpmdev":"tpm-tpm0","id":"tpm0"}' \
-device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \
-audiodev '{"id":"audio1","driver":"spice"}' \
-spice port=5900,addr=127.0.0.1,disable-ticketing=on,image-compression=off,seamless-migration=on \
-device '{"driver":"qxl-vga","id":"video0","max_outputs":1,"ram_size":67108864,"vram_size":67108864,"vram64_size_mb":0,"vgamem_mb":16,"bus":"pcie.0","addr":"0x1"}' \
-device '{"driver":"ich9-intel-hda","id":"sound0","bus":"pcie.0","addr":"0x1b"}' \
-device '{"driver":"hda-duplex","id":"sound0-codec0","bus":"sound0.0","cad":0,"audiodev":"audio1"}' \
-global ICH9-LPC.noreboot=off \
-watchdog-action reset \
-chardev spicevmc,id=charredir0,name=usbredir \
-device '{"driver":"usb-redir","chardev":"charredir0","id":"redir0","bus":"usb.0","port":"2"}' \
-chardev spicevmc,id=charredir1,name=usbredir \
-device '{"driver":"usb-redir","chardev":"charredir1","id":"redir1","bus":"usb.0","port":"3"}' \
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.5","addr":"0x0"}' \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
char device redirected to /dev/pts/1 (label charserial0)
2024-08-30T13:24:53.805454Z qemu-system-x86_64: warning: This family of AMD CPU doesn't support hyperthreading(2)
Please configure -smp options properly or try enabling topoext feature.
2024-08-30T13:27:59.137792Z qemu-system-x86_64: terminating on signal 15 from pid 3280 (/usr/bin/libvirtd)
2024-08-30 13:28:00.004+0000: shutting down, reason=shutdown
2024-08-30 13:28:00.121+0000: Starting external device: TPM Emulator.
/usr/bin/swtpm socket --ctrl type=unixio,path=/run/libvirt/qemu/swtpm/2-win11-swtpm.sock,mode=0600 --tpmstate dir=/var/lib/libvirt/swtpm/2679b72b-b24f-4e32-88ee-03bc41c931bd/tpm2,mode=0600 --log file=/var/log/swtpm/libvirt/qemu/win11-swtpm.log --terminate --tpm2
2024-08-30 13:28:00.148+0000: starting up libvirt version: 10.6.0, qemu version: 9.0.2, kernel: 6.10.6-arch1-1, hostname: archlinux.
LC_ALL=C \
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin \
USER=root \
HOME=/var/lib/libvirt/qemu/domain-2-win11 \
XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-2-win11/.local/share \
XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-2-win11/.cache \
XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-2-win11/.config \
/usr/bin/qemu-system-x86_64 \
-name guest=win11,debug-threads=on \
-S \
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-2-win11/master-key.aes"}' \
-blockdev '{"driver":"file","filename":"/usr/share/edk2/x64/OVMF_CODE.secboot.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \
-blockdev '{"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/win11_VARS.fd","node-name":"libvirt-pflash1-storage","read-only":false}' \
-machine pc-q35-9.0,usb=off,vmport=off,smm=on,dump-guest-core=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-storage,hpet=off,acpi=on \
-accel kvm \
-cpu host,migratable=on,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff \
-global driver=cfi.pflash01,property=secure,value=on \
-m size=30720000k \
-object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":31457280000}' \
-overcommit mem-lock=off \
-smp 12,sockets=1,dies=1,clusters=1,cores=6,threads=2 \
-uuid 2679b72b-b24f-4e32-88ee-03bc41c931bd \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=30,server=on,wait=off \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=localtime,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-no-shutdown \
-global ICH9-LPC.disable_s3=1 \
-global ICH9-LPC.disable_s4=1 \
-boot strict=on \
-device '{"driver":"pcie-root-port","port":16,"chassis":1,"id":"pci.1","bus":"pcie.0","multifunction":true,"addr":"0x2"}' \
-device '{"driver":"pcie-root-port","port":17,"chassis":2,"id":"pci.2","bus":"pcie.0","addr":"0x2.0x1"}' \
-device '{"driver":"pcie-root-port","port":18,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x2.0x2"}' \
-device '{"driver":"pcie-root-port","port":19,"chassis":4,"id":"pci.4","bus":"pcie.0","addr":"0x2.0x3"}' \
-device '{"driver":"pcie-root-port","port":20,"chassis":5,"id":"pci.5","bus":"pcie.0","addr":"0x2.0x4"}' \
-device '{"driver":"pcie-root-port","port":21,"chassis":6,"id":"pci.6","bus":"pcie.0","addr":"0x2.0x5"}' \
-device '{"driver":"pcie-root-port","port":22,"chassis":7,"id":"pci.7","bus":"pcie.0","addr":"0x2.0x6"}' \
-device '{"driver":"pcie-root-port","port":23,"chassis":8,"id":"pci.8","bus":"pcie.0","addr":"0x2.0x7"}' \
-device '{"driver":"pcie-root-port","port":24,"chassis":9,"id":"pci.9","bus":"pcie.0","multifunction":true,"addr":"0x3"}' \
-device '{"driver":"pcie-root-port","port":25,"chassis":10,"id":"pci.10","bus":"pcie.0","addr":"0x3.0x1"}' \
-device '{"driver":"pcie-root-port","port":26,"chassis":11,"id":"pci.11","bus":"pcie.0","addr":"0x3.0x2"}' \
-device '{"driver":"pcie-root-port","port":27,"chassis":12,"id":"pci.12","bus":"pcie.0","addr":"0x3.0x3"}' \
-device '{"driver":"pcie-root-port","port":28,"chassis":13,"id":"pci.13","bus":"pcie.0","addr":"0x3.0x4"}' \
-device '{"driver":"pcie-root-port","port":29,"chassis":14,"id":"pci.14","bus":"pcie.0","addr":"0x3.0x5"}' \
-device '{"driver":"qemu-xhci","p2":15,"p3":15,"id":"usb","bus":"pci.2","addr":"0x0"}' \
-device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.3","addr":"0x0"}' \
-blockdev '{"driver":"file","filename":"/var/lib/libvirt/images/win11.qcow2","node-name":"libvirt-3-storage","auto-read-only":true,"discard":"unmap","cache":{"direct":false,"no-flush":false}}' \
-blockdev '{"node-name":"libvirt-3-format","read-only":false,"discard":"unmap","cache":{"direct":false,"no-flush":false},"driver":"qcow2","file":"libvirt-3-storage","backing":null}' \
-device '{"driver":"virtio-blk-pci","bus":"pci.4","addr":"0x0","drive":"libvirt-3-format","id":"virtio-disk0","bootindex":2,"write-cache":"on"}' \
-blockdev '{"driver":"file","filename":"/home/explosive/Downloads/Win11_23H2_Turkish_x64v2.iso","node-name":"libvirt-2-storage","read-only":true}' \
-device '{"driver":"ide-cd","bus":"ide.1","drive":"libvirt-2-storage","id":"sata0-0-1","bootindex":1}' \
-blockdev '{"driver":"file","filename":"/home/explosive/Downloads/virtio-win-0.1.262.iso","node-name":"libvirt-1-storage","read-only":true}' \
-device '{"driver":"ide-cd","bus":"ide.2","drive":"libvirt-1-storage","id":"sata0-0-2","bootindex":3}' \
-netdev '{"type":"tap","fd":"31","vhost":true,"vhostfd":"35","id":"hostnet0"}' \
-device '{"driver":"virtio-net-pci","netdev":"hostnet0","id":"net0","mac":"52:54:00:a2:6b:92","bus":"pci.1","addr":"0x0"}' \
-chardev pty,id=charserial0 \
-device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \
-chardev spicevmc,id=charchannel0,name=vdagent \
-device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"com.redhat.spice.0"}' \
-chardev socket,id=chrtpm,path=/run/libvirt/qemu/swtpm/2-win11-swtpm.sock \
-tpmdev emulator,id=tpm-tpm0,chardev=chrtpm \
-device '{"driver":"tpm-crb","tpmdev":"tpm-tpm0","id":"tpm0"}' \
-device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \
-audiodev '{"id":"audio1","driver":"spice"}' \
-spice port=5900,addr=127.0.0.1,disable-ticketing=on,image-compression=off,seamless-migration=on \
-device '{"driver":"qxl-vga","id":"video0","max_outputs":1,"ram_size":67108864,"vram_size":67108864,"vram64_size_mb":0,"vgamem_mb":16,"bus":"pcie.0","addr":"0x1"}' \
-device '{"driver":"ich9-intel-hda","id":"sound0","bus":"pcie.0","addr":"0x1b"}' \
-device '{"driver":"hda-duplex","id":"sound0-codec0","bus":"sound0.0","cad":0,"audiodev":"audio1"}' \
-global ICH9-LPC.noreboot=off \
-watchdog-action reset \
-chardev spicevmc,id=charredir0,name=usbredir \
-device '{"driver":"usb-redir","chardev":"charredir0","id":"redir0","bus":"usb.0","port":"2"}' \
-chardev spicevmc,id=charredir1,name=usbredir \
-device '{"driver":"usb-redir","chardev":"charredir1","id":"redir1","bus":"usb.0","port":"3"}' \
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.5","addr":"0x0"}' \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
char device redirected to /dev/pts/1 (label charserial0)
2024-08-30T13:28:00.237081Z qemu-system-x86_64: warning: This family of AMD CPU doesn't support hyperthreading(2)
Please configure -smp options properly or try enabling topoext feature.
2024-08-30T13:34:29.526402Z qemu-system-x86_64: terminating on signal 15 from pid 3280 (/usr/bin/libvirtd)
2024-08-30 13:34:31.212+0000: shutting down, reason=shutdown
2024-08-30 14:15:31.385+0000: Starting external device: TPM Emulator.
/usr/bin/swtpm socket --ctrl type=unixio,path=/run/libvirt/qemu/swtpm/1-win11-swtpm.sock,mode=0600 --tpmstate dir=/var/lib/libvirt/swtpm/2679b72b-b24f-4e32-88ee-03bc41c931bd/tpm2,mode=0600 --log file=/var/log/swtpm/libvirt/qemu/win11-swtpm.log --terminate --tpm2
2024-08-30 14:15:31.423+0000: starting up libvirt version: 10.6.0, qemu version: 9.0.2, kernel: 6.10.6-arch1-1, hostname: archlinux.
LC_ALL=C \
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin \
USER=root \
HOME=/var/lib/libvirt/qemu/domain-1-win11 \
XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-1-win11/.local/share \
XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-1-win11/.cache \
XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-1-win11/.config \
/usr/bin/qemu-system-x86_64 \
-name guest=win11,debug-threads=on \
-S \
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-1-win11/master-key.aes"}' \
-blockdev '{"driver":"file","filename":"/usr/share/edk2/x64/OVMF_CODE.secboot.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \
-blockdev '{"driver":"file","filename":"/var/lib/libvirt/qemu/nvram/win11_VARS.fd","node-name":"libvirt-pflash1-storage","read-only":false}' \
-machine pc-q35-9.0,usb=off,vmport=off,smm=on,dump-guest-core=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-storage,hpet=off,acpi=on \
-accel kvm \
-cpu host,migratable=on,topoext=on,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff \
-global driver=cfi.pflash01,property=secure,value=on \
-m size=30720000k \
-object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":31457280000}' \
-overcommit mem-lock=off \
-smp 12,sockets=1,dies=1,clusters=1,cores=6,threads=2 \
-uuid 2679b72b-b24f-4e32-88ee-03bc41c931bd \
-display none \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=29,server=on,wait=off \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=localtime,driftfix=slew \
-global kvm-pit.lost_tick_policy=delay \
-no-shutdown \
-global ICH9-LPC.disable_s3=1 \
-global ICH9-LPC.disable_s4=1 \
-boot strict=on \
-device '{"driver":"pcie-root-port","port":16,"chassis":1,"id":"pci.1","bus":"pcie.0","multifunction":true,"addr":"0x2"}' \
-device '{"driver":"pcie-root-port","port":17,"chassis":2,"id":"pci.2","bus":"pcie.0","addr":"0x2.0x1"}' \
-device '{"driver":"pcie-root-port","port":18,"chassis":3,"id":"pci.3","bus":"pcie.0","addr":"0x2.0x2"}' \
-device '{"driver":"pcie-root-port","port":19,"chassis":4,"id":"pci.4","bus":"pcie.0","addr":"0x2.0x3"}' \
-device '{"driver":"pcie-root-port","port":20,"chassis":5,"id":"pci.5","bus":"pcie.0","addr":"0x2.0x4"}' \
-device '{"driver":"pcie-root-port","port":21,"chassis":6,"id":"pci.6","bus":"pcie.0","addr":"0x2.0x5"}' \
-device '{"driver":"pcie-root-port","port":22,"chassis":7,"id":"pci.7","bus":"pcie.0","addr":"0x2.0x6"}' \
-device '{"driver":"pcie-root-port","port":23,"chassis":8,"id":"pci.8","bus":"pcie.0","addr":"0x2.0x7"}' \
-device '{"driver":"pcie-root-port","port":24,"chassis":9,"id":"pci.9","bus":"pcie.0","multifunction":true,"addr":"0x3"}' \
-device '{"driver":"pcie-root-port","port":25,"chassis":10,"id":"pci.10","bus":"pcie.0","addr":"0x3.0x1"}' \
-device '{"driver":"pcie-root-port","port":26,"chassis":11,"id":"pci.11","bus":"pcie.0","addr":"0x3.0x2"}' \
-device '{"driver":"pcie-root-port","port":27,"chassis":12,"id":"pci.12","bus":"pcie.0","addr":"0x3.0x3"}' \
-device '{"driver":"pcie-root-port","port":28,"chassis":13,"id":"pci.13","bus":"pcie.0","addr":"0x3.0x4"}' \
-device '{"driver":"pcie-root-port","port":29,"chassis":14,"id":"pci.14","bus":"pcie.0","addr":"0x3.0x5"}' \
-device '{"driver":"pcie-root-port","port":8,"chassis":15,"id":"pci.15","bus":"pcie.0","addr":"0x1"}' \
-device '{"driver":"qemu-xhci","p2":15,"p3":15,"id":"usb","bus":"pci.2","addr":"0x0"}' \
-device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.3","addr":"0x0"}' \
-blockdev '{"driver":"file","filename":"/var/lib/libvirt/images/win11.qcow2","node-name":"libvirt-3-storage","auto-read-only":true,"discard":"unmap","cache":{"direct":false,"no-flush":false}}' \
-blockdev '{"node-name":"libvirt-3-format","read-only":false,"discard":"unmap","cache":{"direct":false,"no-flush":false},"driver":"qcow2","file":"libvirt-3-storage","backing":null}' \
-device '{"driver":"virtio-blk-pci","bus":"pci.4","addr":"0x0","drive":"libvirt-3-format","id":"virtio-disk0","bootindex":2,"write-cache":"on"}' \
-blockdev '{"driver":"file","filename":"/home/explosive/Downloads/Win11_23H2_Turkish_x64v2.iso","node-name":"libvirt-2-storage","read-only":true}' \
-device '{"driver":"ide-cd","bus":"ide.1","drive":"libvirt-2-storage","id":"sata0-0-1","bootindex":1}' \
-blockdev '{"driver":"file","filename":"/home/explosive/Downloads/virtio-win-0.1.262.iso","node-name":"libvirt-1-storage","read-only":true}' \
-device '{"driver":"ide-cd","bus":"ide.2","drive":"libvirt-1-storage","id":"sata0-0-2","bootindex":3}' \
-netdev '{"type":"tap","fd":"31","vhost":true,"vhostfd":"34","id":"hostnet0"}' \
-device '{"driver":"virtio-net-pci","netdev":"hostnet0","id":"net0","mac":"52:54:00:a2:6b:92","bus":"pci.1","addr":"0x0"}' \
-chardev pty,id=charserial0 \
-device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \
-chardev socket,id=chrtpm,path=/run/libvirt/qemu/swtpm/1-win11-swtpm.sock \
-tpmdev emulator,id=tpm-tpm0,chardev=chrtpm \
-device '{"driver":"tpm-crb","tpmdev":"tpm-tpm0","id":"tpm0"}' \
-audiodev '{"id":"audio1","driver":"none"}' \
-global ICH9-LPC.noreboot=off \
-watchdog-action reset \
-device '{"driver":"vfio-pci","host":"0000:0b:00.1","id":"hostdev0","bus":"pci.6","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:0b:00.0","id":"hostdev1","bus":"pci.7","addr":"0x0","romfile":"/var/lib/libvirt/vgabios/patched.rom"}' \
-device '{"driver":"vfio-pci","host":"0000:08:00.0","id":"hostdev2","bus":"pci.8","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:02:00.1","id":"hostdev3","bus":"pci.9","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:0d:00.1","id":"hostdev4","bus":"pci.10","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:0d:00.0","id":"hostdev5","bus":"pci.11","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:0c:00.0","id":"hostdev6","bus":"pci.12","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:0d:00.3","id":"hostdev7","bus":"pci.13","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:0d:00.4","id":"hostdev8","bus":"pci.14","addr":"0x0"}' \
-device '{"driver":"vfio-pci","host":"0000:00:03.0","id":"hostdev9","bus":"pci.15","addr":"0x0"}' \
-device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.5","addr":"0x0"}' \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
char device redirected to /dev/pts/0 (label charserial0)
2024-08-30T14:15:34.684349Z qemu-system-x86_64: -device {"driver":"vfio-pci","host":"0000:0b:00.0","id":"hostdev1","bus":"pci.7","addr":"0x0","romfile":"/var/lib/libvirt/vgabios/patched.rom"}: failed to find romfile "/var/lib/libvirt/vgabios/patched.rom"
2024-08-30 14:15:34.788+0000: shutting down, reason=failed
[/CODE]
[CODE title="libvirtd.log"]2024-08-30 12:35:48.827+0000: 2976: info : libvirt version: 10.6.0
2024-08-30 12:35:48.827+0000: 2976: info : hostname: archlinux.
2024-08-30 12:35:48.827+0000: 2976: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 12:39:30.936+0000: 3970: info : libvirt version: 10.6.0
2024-08-30 12:39:30.936+0000: 3970: info : hostname: archlinux.
2024-08-30 12:39:30.936+0000: 3970: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 12:44:22.525+0000: 6079: info : libvirt version: 10.6.0
2024-08-30 12:44:22.525+0000: 6079: info : hostname: archlinux.
2024-08-30 12:44:22.525+0000: 6079: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 12:44:37.215+0000: 6129: info : libvirt version: 10.6.0
2024-08-30 12:44:37.215+0000: 6129: info : hostname: archlinux.
2024-08-30 12:44:37.215+0000: 6129: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 12:45:59.203+0000: 6783: info : libvirt version: 10.6.0
2024-08-30 12:45:59.203+0000: 6783: info : hostname: archlinux.
2024-08-30 12:45:59.203+0000: 6783: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 13:01:31.884+0000: 7661: info : libvirt version: 10.6.0
2024-08-30 13:01:31.884+0000: 7661: info : hostname: archlinux.
2024-08-30 13:01:31.884+0000: 7661: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 13:03:26.697+0000: 7979: info : libvirt version: 10.6.0
2024-08-30 13:03:26.697+0000: 7979: info : hostname: archlinux.
2024-08-30 13:03:26.697+0000: 7979: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 13:07:36.630+0000: 21366: info : libvirt version: 10.6.0
2024-08-30 13:07:36.630+0000: 21366: info : hostname: archlinux.
2024-08-30 13:07:36.630+0000: 21366: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 13:11:30.048+0000: 699: info : libvirt version: 10.6.0
2024-08-30 13:11:30.048+0000: 699: info : hostname: archlinux.
2024-08-30 13:11:30.048+0000: 699: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 13:44:53.414+0000: 701: info : libvirt version: 10.6.0
2024-08-30 13:44:53.414+0000: 701: info : hostname: archlinux.
2024-08-30 13:44:53.414+0000: 701: warning : virNetDaemonRun:873 : Make forcefull daemon shutdown.
2024-08-30 13:53:43.086+0000: 3546: info : libvirt version: 10.6.0
2024-08-30 13:53:43.086+0000: 3546: info : hostname: archlinux.
2024-08-30 13:53:43.086+0000: 3546: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 14:04:31.207+0000: 5417: info : libvirt version: 10.6.0
2024-08-30 14:04:31.207+0000: 5417: info : hostname: archlinux.
2024-08-30 14:04:31.207+0000: 5417: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats
2024-08-30 14:06:39.667+0000: 5419: error : qemuValidateDomainChrSourceDef:2041 : unsupported configuration: chardev 'spicevmc' not supported without spice graphics.
2024-08-30 14:15:25.433+0000: 5415: error : virNetSocketReadWire:1781 : End of file while reading data: Input/output error.
2024-08-30 14:15:25.447+0000: 5415: error : virNetSocketReadWire:1781 : End of file while reading data: Input/output error.
2024-08-30 14:15:34.787+0000: 6350: error : qemuMonitorIORead:396 : Unable to read from monitor: Connection reset by peer.
2024-08-30 14:15:34.788+0000: 6350: error : qemuProcessReportLogError:1929 : internal error: QEMU unexpectedly closed the monitor (vm='win11'): 2024-08-30T14:15:34.684349Z qemu-system-x86_64: -device {"driver":"vfio-pci","host":"0000:0b:00.0","id":"hostdev1","bus":"pci.7","addr":"0x0","romfile":"/var/lib/libvirt/vgabios/patched.rom"}: failed to find romfile "/var/lib/libvirt/vgabios/patched.rom"
2024-08-30 14:16:05.288+0000: 5418: error : virConnectGetAllDomainStats:12655 : this function is not supported by the connection driver: virConnectGetAllDomainStats[/CODE]