Peter Krempa 70e608918e virsh: Improve checking for connection when running commands
Almost each virsh command uses the function vshConnectionUsability
before doing anything, to check if the connection is "alive".  Commands
that don't need an conection are already conveniently marked with
VSH_CMD_FLAG_NOCONNECT. We can automaticaly check for the connection
before calling any remote command so we don't forget to do so.

This patch also upgrades the connection check to use virConnectIsAlive
along with the current approach.
2012-08-31 16:22:22 +02:00
..
2012-07-23 10:50:50 +08:00
2012-08-21 00:23:12 -06:00
2012-08-20 07:04:10 -06:00
2012-08-27 14:35:38 +08:00
2012-08-20 23:51:29 -06:00
2012-08-21 00:11:29 -06:00
2012-08-21 00:11:29 -06:00
2012-08-21 00:16:35 -06:00
2012-08-21 00:16:35 -06:00
2012-08-21 00:23:12 -06:00
2012-08-21 00:23:12 -06:00
2012-08-21 00:05:53 -06:00