Unless the carpet can be bleached, it would be very difficult to disinfect the carpet. Parvovirus is very hardy in the environment. Only bleach would completely kill the virus. Clean the carpet with a strong ammmonia, soap, vinegar solution, possibly a colorsafe bleach. Wait at least a month for the virus to die off, before introducing a new dog.