TRIM is handled by the host OS so should not be an issue running XP in a VM on a modern host PC. Maybe some slight wear still vs modern OS?
That was my view too.
One also does some registry entries:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction]
"Enable"="N"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\OptimalLayout]
"EnableAutoLayout"=dword:00000000
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"NtfsDisableLastAccessUpdate"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Memory Management\PrefetchParameters]
"EnablePrefetcher"=dword:00000000
and I suspect not doing these might explain XP issues with SSDs. The data point for that is that there were XP laptops with SSDs and those laptops didn't pack up.
The key is the drive handles all the maintenance.
So I thought, and you can calculate how many TB can be theoretically written to say a 256GB SSD before every block has reached the ~10k write limit and thus no more writes are possible, but SSDs definitely do not work that way. There is more to it.