]> xenbits.xensource.com Git - libvirt.git/commit
remote handler for virDomainGetCPUStats()
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Sat, 28 Jan 2012 06:21:31 +0000 (15:21 +0900)
committerEric Blake <eblake@redhat.com>
Sat, 28 Jan 2012 18:09:31 +0000 (11:09 -0700)
commitc6ec021b3c19c3ecc97d60d35b12eaa0b94da701
tree01a401f3c9a0df900803b704bdda2cace7920993
parent5c6651fea2a5af304af91ce081eb559c7249f0a9
remote handler for virDomainGetCPUStats()

Unlike other users of virTypedParameter with RPC, this interface
can return zero-filled entries because the interface assumes
2 dimensional array. We compress these entries out from the
server when generating the over-the-wire contents, then reconstitute
them in the client.

Signed-off-by: Eric Blake <eblake@redhat.com>
daemon/remote.c
src/libvirt.c
src/remote/remote_driver.c
src/remote/remote_protocol.x
src/remote_protocol-structs