It is possible that a way could be found to save your primary residence. It depends on a number of things, including whether there is equity in your home, and if so, how much and whether it fits within the allowable exemptions in your state. If there is no equity or if the equity fits within allowable exemptions, you may be able to reaffirm the first mrtgage, and either reaffirm or strip off the secnd mortgage.
You should consult an experienced consumer bankruptcy attorney in your state to discuss in detail. The answers depend on case-specific details.Ask a similar question
I do not practice bankruptcy law, but based upon what I do know regarding the subject, I find it very unlikely that in a Chapter 7 filing that you would be able to retain what you describe as Home A, a rental property with some equity.
For more detailed information and possible alternatives, you should arrange for a consultation with a Virginia bankruptcy attorney.
M.E. Hendrickson, Esq.
Alexandria, Virginia 22314