|
From: | Anthony Liguori |
Subject: | [Qemu-devel] Re: [RFC PATCH 04/20] Make QEMUFile buf expandable, and introduce qemu_realloc_buffer() and qemu_clear_buffer(). |
Date: | Fri, 23 Apr 2010 08:26:03 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 |
On 04/23/2010 04:53 AM, Avi Kivity wrote:
On 04/21/2010 08:57 AM, Yoshiaki Tamura wrote:Currently buf size is fixed at 32KB. It would be useful if it could be flexible.Why is this needed? The real buffering is in the kernel anyways; this is only used to reduce the number of write() syscalls.
With vmstate, we really shouldn't need to do this magic anymore as an optimization.
Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |