diff --git a/ChangeLog b/ChangeLog index 9d13e710ca7a43f77ffbe48ba4e46a37f486cdb2..c537c4eb6b7d9632a1f09ff5f20772dee181a986 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 66487be624f4e7b479fda7ea00cc268a624f7484..e9c879b9a7be61bbc07eacf51c1e2784ed983002 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); }