[libvirt] [PATCH 4/6] remote-driver: Add domainMemoryStats support

2009-12-18 Thread Adam Litke
Use a dynamically sized xdr_array to pass memory stats on the wire. This supports the addition of future memory stats and reduces the message size since only supported statistics are returned. Signed-off-by: Adam Litke To: Daniel Veillard Cc: Daniel P. Berrange Cc: libvirt list --- daemon/re

[libvirt] [PATCH 4/6] remote-driver: Add domainMemoryStats support

2009-12-17 Thread Adam Litke
Use a dynamically sized xdr_array to pass memory stats on the wire. This supports the addition of future memory stats and reduces the message size since only supported statistics are returned. Signed-off-by: Adam Litke To: libvirt list Cc: Daniel Veillard Cc: Daniel P. Berrange --- daemon/re

Re: [libvirt] [PATCH 4/6] remote-driver: Add domainMemoryStats support

2009-12-17 Thread Daniel P. Berrange
On Fri, Dec 11, 2009 at 03:26:15PM -0500, Adam Litke wrote: > Use a dynamically sized xdr_array to pass memory stats on the wire. This > supports the addition of future memory stats and reduces the message size > since > only supported statistics are returned. > +/* Allocate return buffer. W

[libvirt] [PATCH 4/6] remote-driver: Add domainMemoryStats support

2009-12-11 Thread Adam Litke
Use a dynamically sized xdr_array to pass memory stats on the wire. This supports the addition of future memory stats and reduces the message size since only supported statistics are returned. Signed-off-by: Adam Litke To: libvirt list --- daemon/remote.c | 56 ++