If your question was "can you get a (spousal) visa if you have hiv?"
[having hiv makes it difficult to become a resident of the united states --
if you have hiv, you cannot get a visa unless you can get a waiver.
A waiver might be granted if you are spouse/parent/child of a us citizen, for example. You would also have to prove you can pay for medical treatment, and you have to show you know enough about hiv not to infect others.
If you are already in the us legally, you cannot be deported for getting hiv. But if you leave the country, you can be kept from returning -- even if you have a work permit ("green card").
If you think you might be hiv positive and want to enter the us permanently, you need to contact a us immigration lawyer experienced in hiv matters. For more information about legal representation, contact the los angeles gay & lesbian community services center's legal services department at 1.213.993.7670 (vox).]
(http://www.Aegis.Com/topics/2usa.Html)
now as for getting a visa regardless of if you have hiv, yes you can get one if you are going to marry an american citizen, but there are certain requirements you must meet before arriving, and you must maintain those requirements once you are here. My brother's wife was a mexican citizen, and even though she met all the requirements, it still took about 9 months for her to get here.