Move the runas user at execution time
authorGuido Trotter <ultrotter@google.com>
Tue, 30 Mar 2010 15:37:02 +0000 (16:37 +0100)
committerGuido Trotter <ultrotter@google.com>
Wed, 31 Mar 2010 14:59:35 +0000 (15:59 +0100)
commitcef348682f51d0ef6a6f65105213ccd1c36f31ea
tree90511ecc97556d403ad0af12964254d06cc0c488
parent33664046cec846b0b6d9d439b781e466398060ee
Move the runas user at execution time

Everything still works the same way, but the user is calculated each
time we start kvm, rather than stored in the config file. This makes it
easier to implement the "pool" security model.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/hypervisor/hv_kvm.py