* src/proxy_internal.c: fix the UUID lookup though proxy, by

actually sending the UUID string in the request!
Daniel
This commit is contained in:
Daniel Veillard 2007-08-14 12:29:40 +00:00
parent f39e1b8860
commit 9cffaad22b
2 changed files with 7 additions and 0 deletions

View File

@ -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> Tue Aug 14 09:10:51 CEST 2007 Daniel Veillard <veillard@redhat.com>
* src/virsh.c: patch from Atsushi SAKAI fixing schedinfo synopsys * src/virsh.c: patch from Atsushi SAKAI fixing schedinfo synopsys

View File

@ -852,6 +852,8 @@ xenProxyLookupByUUID(virConnectPtr conn, const unsigned char *uuid)
memset(&req, 0, sizeof(virProxyPacket)); memset(&req, 0, sizeof(virProxyPacket));
req.command = VIR_PROXY_LOOKUP_UUID; req.command = VIR_PROXY_LOOKUP_UUID;
req.len = sizeof(virProxyPacket) + VIR_UUID_BUFLEN; req.len = sizeof(virProxyPacket) + VIR_UUID_BUFLEN;
memcpy(&req.extra.str[0], uuid, VIR_UUID_BUFLEN);
ret = xenProxyCommand(conn, (virProxyPacketPtr) &req, &req, 0); ret = xenProxyCommand(conn, (virProxyPacketPtr) &req, &req, 0);
if (ret < 0) { if (ret < 0) {
xenProxyClose(conn); xenProxyClose(conn);