]> xenbits.xensource.com Git - libvirt.git/commitdiff
* src/proxy_internal.c: fix the UUID lookup though proxy, by
authorDaniel Veillard <veillard@redhat.com>
Tue, 14 Aug 2007 12:29:40 +0000 (12:29 +0000)
committerDaniel Veillard <veillard@redhat.com>
Tue, 14 Aug 2007 12:29:40 +0000 (12:29 +0000)
  actually sending the UUID string in the request!
Daniel

ChangeLog
src/proxy_internal.c

index 3969e85da45e19c9e61ad7fd6fccd400efb0bc97..3ccf5ecd5ae2ea1b2f38717ead35099f6e6f61d7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Aug 14 14:32:51 CEST 2007 Daniel Veillard <veillard@redhat.com>
+
+       * src/proxy_internal.c: fix the UUID lookup though proxy, by
+         actually sending the UUID string in the request!
+
 Tue Aug 14 09:10:51 CEST 2007 Daniel Veillard <veillard@redhat.com>
 
        * src/virsh.c: patch from Atsushi SAKAI fixing schedinfo synopsys
index 9b2aebc3a8b198259a9b5d5864ae1c86383b261a..aadc0182217133d826fc1efc3b9077d1235ab882 100644 (file)
@@ -852,6 +852,8 @@ xenProxyLookupByUUID(virConnectPtr conn, const unsigned char *uuid)
     memset(&req, 0, sizeof(virProxyPacket));
     req.command = VIR_PROXY_LOOKUP_UUID;
     req.len = sizeof(virProxyPacket) + VIR_UUID_BUFLEN;
+    memcpy(&req.extra.str[0], uuid, VIR_UUID_BUFLEN);
+
     ret = xenProxyCommand(conn, (virProxyPacketPtr) &req, &req, 0);
     if (ret < 0) {
         xenProxyClose(conn);