qemu-devel
[Top][All Lists]
Advanced

[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 15:07:18 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0


On 09/10/2015 15:02, Pavel Fedin wrote:
>> 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. :)
>
> Aha, so it actually tested only when file descriptor is passed from
> outside, and not file name, isn't it?

When it's passed _to_ outside (via SCM_RIGHTS).  But yes, the file name
doesn't matter in this case.

Thanks,

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]