[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5 7/7] Use qemu_put_buffer_async for guest memo
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH v5 7/7] Use qemu_put_buffer_async for guest memory pages |
Date: |
Fri, 05 Apr 2013 17:42:29 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 |
Il 05/04/2013 17:39, Kevin Wolf ha scritto:
>> > The solution could be to make bdrv_load_vmstate take an iov/iovcnt pair.
> Ah, so you're saying that instead of linearising the buffer it breaks up
> the requests in tiny pieces?
Only for RAM (header/page/header/page...), because the page comes
straight from the guest memory. Device state is still buffered and fast.
> Implementing vectored bdrv_load/save_vmstate should be easy in theory.
>
>> > Alternatively, you can try the attached patch. I haven't yet tested it
>> > though, and won't be able to do so today.
> Attempted to write to buffer while read buffer is not empty
>
> Program received signal SIGABRT, Aborted.
Second try.
Paolo
savevm-performance.patch
Description: Text Data