[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PULL 00/48] ivshmem series
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PULL 00/48] ivshmem series |
Date: |
Fri, 9 Oct 2015 14:47:20 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 09/10/2015 14:45, Marc-André Lureau wrote:
> Hi
>
> ----- Original Message -----
>> Hello!
>>
>>> file_ram_alloc() only allocates with temporary files, even when using
>>> share=true.
>>
>> Yes. I wonder, what's the purpose of share=true then.
>
> Paolo added it, I am not sure either.
It is needed for use with vhost-user. If the file descriptor you pass
to the vhost-user server is mapped with MAP_PRIVATE, the vhost-user
server will not get the guest's memory contents. At least I think so. :)
Paolo
- [Qemu-devel] [PULL 41/48] tests: add ivshmem qtest, (continued)
- [Qemu-devel] [PULL 41/48] tests: add ivshmem qtest, marcandre . lureau, 2015/10/08
- [Qemu-devel] [PULL 35/48] docs: update ivshmem device spec, marcandre . lureau, 2015/10/08
- [Qemu-devel] [PULL 30/48] ivshmem: reset mask on device reset, marcandre . lureau, 2015/10/08
- [Qemu-devel] [PULL 10/48] ivshmem: remove last exit(1), marcandre . lureau, 2015/10/08
- Re: [Qemu-devel] [PULL 00/48] ivshmem series, Pavel Fedin, 2015/10/09
- Re: [Qemu-devel] [PULL 00/48] ivshmem series, Pavel Fedin, 2015/10/10