autotest/virt-test — pull request #1631 by zqad (2014-04-25 07:08:43+00:00)
Title: remote_build: Avoid remote primitives for "localhost"

This is a bit of an RFQ commit (although, I would like it if it was merged :-) ). On one hand, it goes against the 'remote_build' name, but on the other hand it's just an optimization for TCs that want to build the same binary on both host and target. Some TCs use SSH to connect to localhost, which would be equally good, but given the different prompts, usernames and passwords, I felt that this behavior just add unnecessary complexity to the build: More .cfg:s needs to be updated, the prompts might be different, etc. I have tested this functionality using a rewritten tsc_drift TC in tp-qemu, that I have not yet pushed as I would like to see what people think of this approach first.
To make sure that this feature is viewed as an optimization and not a primary goal, I added a short note in the documentation as well.

Thanks,
/Jonas