svchost is taking 100% cpu. is this a virus or xp issue?

That is "service host". It is not a svchost.exe that is taking 100% of your CPU time, but one of the services that are running.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.