834c572 tools: Introduce new client generic module vsh

Authored and Committed by Erik Skultety 8 years ago
    tools: Introduce new client generic module vsh
    
    In order to share as much virsh' logic as possible with upcomming
    virt-admin client we need to split virsh logic into virsh specific and
    client generic features.
    
    Since majority of virsh methods should be generic enough to be used by
    other clients, it's much easier to rename virsh specific data to virshX
    than doing this vice versa. It moved generic virsh commands (including info
    and opts structures) to generic module vsh.c.
    
    Besides renaming methods and structures, this patch also involves introduction
    of a client specific control structure being referenced as private data in the
    original control structure, introduction of a new global vsh Initializer,
    which currently doesn't do much, but there is a potential for added
    functionality in the future.
    Lastly it introduced client hooks which are especially necessary during
    client connecting phase.
    
        
file modified
+1 -1
file modified
+2 -1
file modified
+1 -0
file modified
+32 -0
file modified
+1 -0
file modified
+4 -0
file modified
+7 -6
file modified
+4 -4
file modified
+104 -98
file modified
+2 -2
file modified
+583 -547
file modified
+8 -7
file modified
+76 -55
file modified
+61 -49
file modified
+6 -6
file modified
+70 -64
file modified
+5 -5
file modified
+36 -29
file modified
+34 -29
file modified
+5 -5
file modified
+69 -61
file modified
+5 -5
file modified
+27 -24
file modified
+79 -76
file modified
+66 -61
file modified
+7 -7
file modified
+185 -3033
file modified
+31 -448
file added
+2995
file added
+568