Or, better, to Linux... That is what I am doing.Here's a thought for you:
Why not upgrade the XP box to Windows 7?
I don't want to go to Win 10, and my last Windows machine which still runs Win 8.1, as soon as it gets klunky, will get a Linux installed. But for the moment it still runs fine with 8.1, so I leave it as is.
As they say, if it ain't broke, don't fix it.
The nice thing with virtual machines is that the base OS of the computer may be anything (Windows, Linux or MacOS) and you can still run your favorite applications inside the virtual machine with any OS you like - may it be MS-DOS, Windows 95, XP or 7...