On 12/09/2013 07:10 AM, Amos Kong wrote: > This patch makes the buffer size configurable, the max > buffer size is 65536. > > -object rng-egd,chardev=chr0,id=rng0,buf_size=1024 > > Signed-off-by: Amos Kong > --- > backends/rng-egd.c | 24 +++++++++++++++++++++--- > 1 file changed, 21 insertions(+), 3 deletions(-) > @@ -281,6 +298,7 @@ static void rng_egd_init(Object *obj) > object_property_add_str(obj, "chardev", > rng_egd_get_chardev, rng_egd_set_chardev, > NULL); > + object_property_add_str(obj, "buf_size", NULL, rng_egd_set_buf_size, NULL); > } Will libvirt ever need to set this property? And is it easily discoverable whether qemu supports or lacks this property? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org