When the VM is freezing I can see 100% disk activity in my Windows 10 22H2 task manager on the disk where the VM disk image is located. In my case the disk is maxing out at about 300MB/s read rate at about 0% write rate though.
I could track down the issue to a potential problem with SSD trim support.
To save disk space I did enable trim on the virtual disk:
Code: Select all
vboxmanage storageattach "vmname" --storagectl "SATA" --port 0 --device 0 --discard off
Is anyone able to confirm the issue or even point me to fix/workaround?
I think those "stalled VMs at max disk activity" events appear more frequently since VBox 7 and seems unrelated to any other VM setting or even the guest addons installed as I am getting freezes no matter if guest addons are installed, which version or even when they are not installed at all.