提交 a6a6c986 编写于 作者: D Daniel P. Berrange

Fixed marshalling of id on wire

上级 8fe24e13
Thu Jun 21 11:35:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
* 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 <veillard@redhat.com>
* virsh.1 docs/virsh.pod docs/Makefile.am: updated the pod file
......
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册