If you think we need it, okay, but it seems maybe this function would only have very limited use in only a few tests.  My opinion is we should make common functions only for operation which will be used by more than three tests.  Otherwise, if it's a really big and complicated thing, it's okay to place it inside <code>virttest/utils_test.py</code>.  But for small stuff, it's good enough to just copy-paste between tests if it is not needed very much.