Click the + next to DVD / CD Drives, left click the drive name, right click, click remove, confirm then reboot
If the drive works with the XP CD, reboot to set up to change the boot order to CD Rom then hard drive, press F10 to save, type Y to confirm then press enter, the XP CD should be in the drive, look for press any key to load from CD