mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 17:34:18 +03:00
Fixed marshalling of id on wire
This commit is contained in:
parent
8fe24e137f
commit
a6a6c9860c
@ -1,3 +1,8 @@
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user