gnt-instance console: Use query instead of opcode
authorMichael Hanselmann <hansmi@google.com>
Fri, 22 Jul 2011 06:14:39 +0000 (08:14 +0200)
committerMichael Hanselmann <hansmi@google.com>
Fri, 22 Jul 2011 10:29:06 +0000 (12:29 +0200)
commitd6f46b6a94799ef328ed1fd8617e8241b25c4fe7
treed656a0ce663cc2e8ff6173db0cfb3153a82ff608
parentdbfde874c0f6cd686f48b4799bd13e1abcb030df
gnt-instance console: Use query instead of opcode

This means opening the console no longer requires the instance lock,
allowing it to be used during long-running operations (e.g. replacing a
disk).

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/client/gnt_instance.py