static int lq_on(const char *vm_name, const char *src, uint32_t seqno, void *priv) { VALIDATE(priv); printf("[libvirt-qmf] ON operation on %s\n", vm_name); return do_lq_request((lq_info *)priv, vm_name, "create"); }
static int lq_status(const char *vm_name, void *priv) { VALIDATE(priv); printf("[libvirt-qmf] STATUS operation on %s\n", vm_name); return do_lq_request((lq_info *)priv, vm_name, "state"); }
static int lq_off(const char *vm_name, const char *src, uint32_t seqno, void *priv) { VALIDATE(priv); printf("[libvirt-qpid] OFF operation on %s\n", vm_name); return do_lq_request((lq_info *)priv, vm_name, "destroy"); return 1; }