[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH 11 of 15 v4] blktap3/libblktapctl: Introduce tap-ctl-detach



Sends a message to a tapdisk process to detach from the VBD. Timeout was
disabled by XenServer, I assume it proved too small.

Signed-off-by: Thanos Makatos <thanos.makatos@xxxxxxxxxx>

---
Changed since v3:
  * Introduced patch in patch series.

diff --git a/tools/blktap2/control/tap-ctl-detach.c 
b/tools/blktap3/control/tap-ctl-detach.c
copy from tools/blktap2/control/tap-ctl-detach.c
copy to tools/blktap3/control/tap-ctl-detach.c
--- a/tools/blktap2/control/tap-ctl-detach.c
+++ b/tools/blktap3/control/tap-ctl-detach.c
@@ -43,7 +43,7 @@ tap_ctl_detach(const int id, const int m
        message.type = TAPDISK_MESSAGE_DETACH;
        message.cookie = minor;
 
-       err = tap_ctl_connect_send_and_receive(id, &message, 5);
+       err = tap_ctl_connect_send_and_receive(id, &message, NULL);
        if (err)
                return err;
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.