From a6a6c9860cc5ec0e768ef1cfdd844888c5aa2214 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Thu, 21 Jun 2007 15:38:20 +0000 Subject: [PATCH] Fixed marshalling of id on wire --- ChangeLog | 5 +++++ src/remote_internal.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 9d13e710ca..c537c4eb6b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jun 21 11:35:00 EST 2007 Daniel P. Berrange + + * src/remote_interal.c: fix marshalling of 'id' field for + virDomainPtr objects on the wire + Thu Jun 21 16:59:02 CEST 2007 Daniel Veillard * virsh.1 docs/virsh.pod docs/Makefile.am: updated the pod file diff --git a/src/remote_internal.c b/src/remote_internal.c index 66487be624..e9c879b9a7 100644 --- a/src/remote_internal.c +++ b/src/remote_internal.c @@ -1357,6 +1357,7 @@ remoteDomainGetInfo (virDomainPtr domain, virDomainInfoPtr info) info->memory = ret.memory; info->nrVirtCpu = ret.nr_virt_cpu; info->cpuTime = ret.cpu_time; + return 0; } @@ -2440,6 +2441,7 @@ get_nonnull_network (virConnectPtr conn, remote_nonnull_network network) static void make_nonnull_domain (remote_nonnull_domain *dom_dst, virDomainPtr dom_src) { + dom_dst->id = dom_src->id; dom_dst->name = dom_src->name; memcpy (dom_dst->uuid, dom_src->uuid, VIR_UUID_BUFLEN); } -- GitLab