Prior to the war states both North and South began authorizing volunteer militia commands. These differed from statutory militia in a number of ways which could be detailed if anyone was interested. Volunteer militia companies like the "Washington Artillery" of New Orleans formed the basis of early Confederate military commands. If trained, armed and disciplined units like these had not been available in 1861, the Southern states could not have supported an effective defense. The Confederacy would have been overwhelmed in a matter of months.
Let me address your other point about Black Confederate units being raised in Virginia. Everyone should be aware that during March 1865 Confederate officers from every state petitioned the War Department for authority to recruit Negro companies, battalions and regiments, not just Virginia. Countless other letters must have been written and addressed to the War Department after the fall of Petersburg. We don't know how far they got with organization before the war ended, but there are plenty of petitions.