From 9cffaad22b39238dd737db819b453f84775b0cb9 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Tue, 14 Aug 2007 12:29:40 +0000 Subject: [PATCH] * src/proxy_internal.c: fix the UUID lookup though proxy, by actually sending the UUID string in the request! Daniel --- ChangeLog | 5 +++++ src/proxy_internal.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3969e85da4..3ccf5ecd5a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Aug 14 14:32:51 CEST 2007 Daniel Veillard + + * 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 * src/virsh.c: patch from Atsushi SAKAI fixing schedinfo synopsys diff --git a/src/proxy_internal.c b/src/proxy_internal.c index 9b2aebc3a8..aadc018221 100644 --- a/src/proxy_internal.c +++ b/src/proxy_internal.c @@ -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);