remote: proxy control requests on running VMs to right host
[invirt/packages/invirt-remote.git] / files / usr / sbin / sipb-xen-remote-proxy
index cb81f08..91dceda 100755 (executable)
@@ -13,6 +13,11 @@ esac
 case "$TYPE/$SERVICE" in
     web/listvms )
        shift; sipb-xen-remote-listvms "$@" ;;
+    control/create )
+       remctl black-mesa remote "$TYPE" "$@" ;;
+    control/* )
+       # Everything but create must go where the VM is already running.
+       sipb-xen-remote-control "$@" ;;
     * )
        remctl black-mesa remote "$TYPE" "$@" ;;
 esac