Zeke13z Posted June 12, 2023 Share Posted June 12, 2023 Hello everyone. I think I made a pretty easy and stupid mistake this afternoon. This VM of mine has been rock solid over the last couple months until today a game using Easy Anti Cheat that got updated today and broke compatibility giving an error of "This game cannot run on a virtual machine". I had seen a while back there were some workarounds and the first option I saw was to disable HyperV through the "Turn windows features on or off" option when searching the start bar. It required a reboot to take effect so I booted it and after 5 minutes of black screen I tried forcing a power down/up seeing nothing.  I tried essentially manually editing my XML file to revert this change to no avail, then attempting to copy an XML from another Windows 10 VM which neither resulted in a successful boot. I'm kind of lost where to proceed from here. Being only somewhat smart, this VM wasn't used for anything I can't recover from, but the amount of work that went into setting it up to my liking over the past few months, it would be disheartening to hear it's FUBAR. Is the VDisk recoverable? The VM itself? I feel pretty stupid right now. I'm relatively fresh to Unraid and the VM scene post 2022, last time I messed with VM's was in 2009. Any help would be appreciated. I'm going to post the XML (of the original VM) & the VM Logs after attempting to boot from it. Logs: -blockdev '{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"}' \ -device '{"driver":"ide-cd","bus":"sata0.0","drive":"libvirt-2-format","id":"sata0-0-0","bootindex":2}' \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.229-1.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \ -device '{"driver":"ide-cd","bus":"sata0.1","drive":"libvirt-1-format","id":"sata0-0-1"}' \ -netdev tap,fd=37,id=hostnet0 \ -device '{"driver":"virtio-net","netdev":"hostnet0","id":"net0","mac":"52:54:00:66:75:d4","bus":"pci.0","addr":"0x2"}' \ -chardev pty,id=charserial0 \ -device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \ -chardev socket,id=charchannel0,fd=35,server=on,wait=off \ -device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \ -device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \ -audiodev '{"id":"audio1","driver":"none"}' \ -device '{"driver":"vfio-pci","host":"0000:01:00.0","id":"hostdev0","bus":"pci.0","addr":"0x6"}' \ -device '{"driver":"vfio-pci","host":"0000:03:00.0","id":"hostdev1","bus":"pci.0","addr":"0x8"}' \ -device '{"driver":"vfio-pci","host":"0000:07:00.0","id":"hostdev2","bus":"pci.0","addr":"0x9"}' \ -device '{"driver":"vfio-pci","host":"0000:09:00.0","id":"hostdev3","bus":"pci.0","addr":"0xa"}' \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on char device redirected to /dev/pts/0 (label charserial0) 2023-06-12T20:09:10.917312Z qemu-system-x86_64: terminating on signal 15 from pid 8834 (/usr/sbin/libvirtd) 2023-06-12 20:09:14.320+0000: shutting down, reason=destroyed 2023-06-12 20:17:36.290+0000: starting up libvirt version: 8.7.0, qemu version: 7.1.0, kernel: 5.19.17-Unraid, hostname: Tower LC_ALL=C \ PATH=/bin:/sbin:/usr/bin:/usr/sbin \ HOME='/var/lib/libvirt/qemu/domain-7-Windows 10' \ XDG_DATA_HOME='/var/lib/libvirt/qemu/domain-7-Windows 10/.local/share' \ XDG_CACHE_HOME='/var/lib/libvirt/qemu/domain-7-Windows 10/.cache' \ XDG_CONFIG_HOME='/var/lib/libvirt/qemu/domain-7-Windows 10/.config' \ /usr/local/sbin/qemu \ -name 'guest=Windows 10,debug-threads=on' \ -S \ -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-7-Windows 10/master-key.aes"}' \ -blockdev '{"driver":"file","filename":"/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.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":"/etc/libvirt/qemu/nvram/0b9888e9-5e0a-4f1d-077a-67b357050ee6_VARS-pure-efi.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \ -machine pc-i440fx-7.1,usb=off,dump-guest-core=off,mem-merge=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format \ -accel kvm \ -cpu host,migratable=on,hv-time=on,kvm=off,host-cache-info=on,l3-cache=off \ -m 24064 \ -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":25232932864}' \ -overcommit mem-lock=off \ -smp 10,sockets=1,dies=1,cores=5,threads=2 \ -uuid 0b9888e9-5e0a-4f1d-077a-67b357050ee6 \ -smbios 'type=0,vendor=American Megatrends International,, LLC.,version=6.03,date=02/16/2023,release=5.27' \ -smbios 'type=1,manufacturer=ASRock,product=Z790 Pro RS,version=To Be Filled By O.E.M.,serial=To Be Filled By O.E.M.,sku=To Be Filled By O.E.M.,family=To Be Filled By O.E.M.' \ -smbios 'type=2,manufacturer=ASRock,product=Z790 Pro RS,serial=M80-FB013100099' \ -smbios 'type=3,manufacturer=To Be Filled By O.E.M.,version=To Be Filled By O.E.M.,serial=To Be Filled By O.E.M.,asset=To Be Filled By O.E.M.,sku=To Be Filled By O.E.M.' \ -smbios 'type=11,value=To Be Filled By O.E.M. ' \ -display none \ -no-user-config \ -nodefaults \ -chardev socket,id=charmonitor,fd=36,server=on,wait=off \ -mon chardev=charmonitor,id=monitor,mode=control \ -rtc base=localtime \ -no-hpet \ -no-shutdown \ -boot strict=on \ -device '{"driver":"ich9-usb-ehci1","id":"usb","bus":"pci.0","addr":"0x7.0x7"}' \ -device '{"driver":"ich9-usb-uhci1","masterbus":"usb.0","firstport":0,"bus":"pci.0","multifunction":true,"addr":"0x7"}' \ -device '{"driver":"ich9-usb-uhci2","masterbus":"usb.0","firstport":2,"bus":"pci.0","addr":"0x7.0x1"}' \ -device '{"driver":"ich9-usb-uhci3","masterbus":"usb.0","firstport":4,"bus":"pci.0","addr":"0x7.0x2"}' \ -device '{"driver":"ahci","id":"sata0","bus":"pci.0","addr":"0x3"}' \ -device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.0","addr":"0x4"}' \ -blockdev '{"driver":"file","filename":"/mnt/user/domains/Windows 10/vdisk1.img","node-name":"libvirt-3-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-3-storage"}' \ -device '{"driver":"virtio-blk-pci","bus":"pci.0","addr":"0x5","drive":"libvirt-3-format","id":"virtio-disk2","bootindex":1,"write-cache":"on"}' \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/Win10_22H2_English_x64.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"}' \ -device '{"driver":"ide-cd","bus":"sata0.0","drive":"libvirt-2-format","id":"sata0-0-0","bootindex":2}' \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.229-1.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \ -device '{"driver":"ide-cd","bus":"sata0.1","drive":"libvirt-1-format","id":"sata0-0-1"}' \ -netdev tap,fd=37,id=hostnet0 \ -device '{"driver":"virtio-net","netdev":"hostnet0","id":"net0","mac":"52:54:00:66:75:d4","bus":"pci.0","addr":"0x2"}' \ -chardev pty,id=charserial0 \ -device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \ -chardev socket,id=charchannel0,fd=35,server=on,wait=off \ -device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \ -device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \ -audiodev '{"id":"audio1","driver":"none"}' \ -device '{"driver":"vfio-pci","host":"0000:01:00.0","id":"hostdev0","bus":"pci.0","addr":"0x6"}' \ -device '{"driver":"vfio-pci","host":"0000:03:00.0","id":"hostdev1","bus":"pci.0","addr":"0x8"}' \ -device '{"driver":"vfio-pci","host":"0000:07:00.0","id":"hostdev2","bus":"pci.0","addr":"0x9"}' \ -device '{"driver":"vfio-pci","host":"0000:09:00.0","id":"hostdev3","bus":"pci.0","addr":"0xa"}' \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on char device redirected to /dev/pts/2 (label charserial0) XML <?xml version='1.0' encoding='UTF-8'?> <domain type='kvm'>  <name>Windows 10</name>  <uuid>0b9888e9-5e0a-4f1d-077a-67b357050ee6</uuid>  <metadata>   <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>  </metadata>  <memory unit='KiB'>24641536</memory>  <currentMemory unit='KiB'>24641536</currentMemory>  <memoryBacking>   <nosharepages/>  </memoryBacking>  <vcpu placement='static'>10</vcpu>  <cputune>   <vcpupin vcpu='0' cpuset='2'/>   <vcpupin vcpu='1' cpuset='3'/>   <vcpupin vcpu='2' cpuset='4'/>   <vcpupin vcpu='3' cpuset='5'/>   <vcpupin vcpu='4' cpuset='6'/>   <vcpupin vcpu='5' cpuset='7'/>   <vcpupin vcpu='6' cpuset='8'/>   <vcpupin vcpu='7' cpuset='9'/>   <vcpupin vcpu='8' cpuset='10'/>   <vcpupin vcpu='9' cpuset='11'/>  </cputune>  <resource>   <partition>/machine</partition>  </resource>  <os>   <type arch='x86_64' machine='pc-i440fx-7.1'>hvm</type>   <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>   <nvram>/etc/libvirt/qemu/nvram/0b9888e9-5e0a-4f1d-077a-67b357050ee6_VARS-pure-efi.fd</nvram>   <smbios mode='host'/>  </os>  <features>   <acpi/>   <apic/>   <kvm>    <hidden state='on'/>   </kvm>  </features>  <cpu mode='host-passthrough' check='none' migratable='on'>   <topology sockets='1' dies='1' cores='5' threads='2'/>   <cache mode='passthrough'/>  </cpu>  <clock offset='localtime'>   <timer name='hypervclock' present='yes'/>   <timer name='hpet' present='no'/>  </clock>  <on_poweroff>destroy</on_poweroff>  <on_reboot>restart</on_reboot>  <on_crash>restart</on_crash>  <devices>   <emulator>/usr/local/sbin/qemu</emulator>   <disk type='file' device='disk'>    <driver name='qemu' type='raw' cache='writeback'/>    <source file='/mnt/user/domains/Windows 10/vdisk1.img'/>    <target dev='hdc' bus='virtio'/>    <boot order='1'/>    <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>   </disk>   <disk type='file' device='cdrom'>    <driver name='qemu' type='raw'/>    <source file='/mnt/user/isos/Win10_22H2_English_x64.iso'/>    <target dev='hda' bus='sata'/>    <readonly/>    <boot order='2'/>    <address type='drive' controller='0' bus='0' target='0' unit='0'/>   </disk>   <disk type='file' device='cdrom'>    <driver name='qemu' type='raw'/>    <source file='/mnt/user/isos/virtio-win-0.1.229-1.iso'/>    <target dev='hdb' bus='sata'/>    <readonly/>    <address type='drive' controller='0' bus='0' target='0' unit='1'/>   </disk>   <controller type='pci' index='0' model='pci-root'/>   <controller type='sata' index='0'>    <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>   </controller>   <controller type='virtio-serial' index='0'>    <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>   </controller>   <controller type='usb' index='0' model='ich9-ehci1'>    <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>   </controller>   <controller type='usb' index='0' model='ich9-uhci1'>    <master startport='0'/>    <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>   </controller>   <controller type='usb' index='0' model='ich9-uhci2'>    <master startport='2'/>    <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>   </controller>   <controller type='usb' index='0' model='ich9-uhci3'>    <master startport='4'/>    <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>   </controller>   <interface type='bridge'>    <mac address='52:54:00:66:75:d4'/>    <source bridge='br0'/>    <model type='virtio-net'/>    <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>   </interface>   <serial type='pty'>    <target type='isa-serial' port='0'>     <model name='isa-serial'/>    </target>   </serial>   <console type='pty'>    <target type='serial' port='0'/>   </console>   <channel type='unix'>    <target type='virtio' name='org.qemu.guest_agent.0'/>    <address type='virtio-serial' controller='0' bus='0' port='1'/>   </channel>   <input type='tablet' bus='usb'>    <address type='usb' bus='0' port='1'/>   </input>   <input type='mouse' bus='ps2'/>   <input type='keyboard' bus='ps2'/>   <audio id='1' type='none'/>   <hostdev mode='subsystem' type='pci' managed='yes'>    <driver name='vfio'/>    <source>     <address domain='0x0000' bus='0x01' slot='0x00' function='0x0'/>    </source>    <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>   </hostdev>   <hostdev mode='subsystem' type='pci' managed='yes'>    <driver name='vfio'/>    <source>     <address domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>    </source>    <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>   </hostdev>   <hostdev mode='subsystem' type='pci' managed='yes'>    <driver name='vfio'/>    <source>     <address domain='0x0000' bus='0x07' slot='0x00' function='0x0'/>    </source>    <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>   </hostdev>   <hostdev mode='subsystem' type='pci' managed='yes'>    <driver name='vfio'/>    <source>     <address domain='0x0000' bus='0x09' slot='0x00' function='0x0'/>    </source>    <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>   </hostdev>   <memballoon model='none'/>  </devices>  <seclabel type='dynamic' model='dac' relabel='yes'/> </domain> Quote Link to comment
JackSafari Posted June 19, 2023 Share Posted June 19, 2023 I am having a similar or exact same thing occurring on a stable VM that has been running for over 1 year. I am still looking to find a solution. I posted my details here.   Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.