[libvirt] [PATCH] Fix xs_unwatch() to correctly pass the token

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

 



# HG changeset patch
# User john.levon@xxxxxxx
# Date 1231958879 28800
# Node ID 672cdb87a32fb0b275bb7cdc9abb9c2d506ec1b0
# Parent  46dc909bda5b20d11f08d1516f21c05f27b6648f
Fix xs_unwatch() to correctly pass the token

Signed-off-by: John Levon <john.levon@xxxxxxx>

diff --git a/src/xs_internal.c b/src/xs_internal.c
--- a/src/xs_internal.c
+++ b/src/xs_internal.c
@@ -1106,7 +1106,7 @@ int xenStoreRemoveWatch(virConnectPtr co
 
             if (!xs_unwatch(priv->xshandle,
                        list->watches[i]->path,
-                       list->watches[i]->path))
+                       list->watches[i]->token))
             {
                 DEBUG0("WARNING: Could not remove watch");
                 /* Not fatal, continue */

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]