How can I configure VirtualBox to route all network access of a guest OS through TOR? My host system is running Linux, and I've already set up TOR on it.
What you're describing is a tor middlebox. There seems to already be documentation on how to do this.
This might be different depending on what network manager you use.