mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +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>
|
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
|
* 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->memory = ret.memory;
|
||||||
info->nrVirtCpu = ret.nr_virt_cpu;
|
info->nrVirtCpu = ret.nr_virt_cpu;
|
||||||
info->cpuTime = ret.cpu_time;
|
info->cpuTime = ret.cpu_time;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2440,6 +2441,7 @@ get_nonnull_network (virConnectPtr conn, remote_nonnull_network network)
|
|||||||
static void
|
static void
|
||||||
make_nonnull_domain (remote_nonnull_domain *dom_dst, virDomainPtr dom_src)
|
make_nonnull_domain (remote_nonnull_domain *dom_dst, virDomainPtr dom_src)
|
||||||
{
|
{
|
||||||
|
dom_dst->id = dom_src->id;
|
||||||
dom_dst->name = dom_src->name;
|
dom_dst->name = dom_src->name;
|
||||||
memcpy (dom_dst->uuid, dom_src->uuid, VIR_UUID_BUFLEN);
|
memcpy (dom_dst->uuid, dom_src->uuid, VIR_UUID_BUFLEN);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user