Re: [Qemu-devel] [PATCH v3 8/9] Use qemu_put_buffer_no_copy for guest memory pages

2013-03-21 Thread Michael S. Tsirkin
On Thu, Mar 21, 2013 at 08:08:58PM +0200, Orit Wasserman wrote: > On 03/21/2013 07:37 PM, Juan Quintela wrote: > > Orit Wasserman wrote: > >> This will remove an unneeded copy of guest memory pages. > >> For the page header and device state we still copy the data to the > >> static buffer the othe

Re: [Qemu-devel] [PATCH v3 8/9] Use qemu_put_buffer_no_copy for guest memory pages

2013-03-21 Thread Orit Wasserman
On 03/21/2013 07:37 PM, Juan Quintela wrote: > Orit Wasserman wrote: >> This will remove an unneeded copy of guest memory pages. >> For the page header and device state we still copy the data to the >> static buffer the other option is to allocate the memory on demand >> which is more expensive. >

Re: [Qemu-devel] [PATCH v3 8/9] Use qemu_put_buffer_no_copy for guest memory pages

2013-03-21 Thread Juan Quintela
Orit Wasserman wrote: > This will remove an unneeded copy of guest memory pages. > For the page header and device state we still copy the data to the > static buffer the other option is to allocate the memory on demand > which is more expensive. > > Signed-off-by: Orit Wasserman > --- > arch_ini

Re: [Qemu-devel] [PATCH v3 8/9] Use qemu_put_buffer_no_copy for guest memory pages

2013-03-21 Thread Michael S. Tsirkin
On Thu, Mar 21, 2013 at 06:05:39PM +0200, Orit Wasserman wrote: > This will remove an unneeded copy of guest memory pages. > For the page header and device state we still copy the data to the > static buffer the other option is to allocate the memory on demand > which is more expensive. > > Signed

[Qemu-devel] [PATCH v3 8/9] Use qemu_put_buffer_no_copy for guest memory pages

2013-03-21 Thread Orit Wasserman
This will remove an unneeded copy of guest memory pages. For the page header and device state we still copy the data to the static buffer the other option is to allocate the memory on demand which is more expensive. Signed-off-by: Orit Wasserman --- arch_init.c | 2 +- savevm.c| 2 +- 2 file