On Tue, Aug 31, 2010 at 11:20:42AM +0100, Matthew Booth wrote:
>+#define PROGRESS_MESSAGE_SIZE 24
We really should be calculating this value automatically somehow. Is
there any structure we can measure the size of?
Not that I'm aware of. However the size of the wire format (which is
what we are measuring here) is defined in several RFCs and effectively
unchangable, provided the struct itself doesn't change.
I will make all the other changes in the revised patch, coming up.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://et.redhat.com/~rjones/libguestfs/
See what it can do:
http://et.redhat.com/~rjones/libguestfs/recipes.html