That would come down to the individual soldier's heart, wouldn't it? I do not know how many slaveowners vs. sharecroppers and small farmers did the fighting, but I would venture a guess that in most wars, the wealthier men (i.e. the plantation owners) can find more ways to avoid service.
I guess that depends on whether we are talking about soldiers rights or states rights.