I think the only way this is going to be legit is if you transfer the compaq xp licence to the virtual machine, and run some other OS as the host, assuming the compaq came with an oem xp licence. VMware has a setting which can allow preactivation, but I don't know about virtualbox.