qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Bug 1626972] Re: [PATCH] util: secure memfd_create fal


From: Rafael David Tinoco
Subject: Re: [Qemu-devel] [Bug 1626972] Re: [PATCH] util: secure memfd_create fallback mechanism
Date: Tue, 4 Oct 2016 10:34:38 -0300

True. 

What about having a single config parameter as a place to put all vhost logs 
for all drives for a single instance ? Remove the memfd implementation with all 
the memfd shared_memory option ? Replace it with a open+unlink+ftruncate+mmap 
approach only.

This way every device would get its own log file and vhost-user backends would 
be able to get its file descriptors. (and, of course, allow the security 
drivers to do their jobs). 

>> On Oct 04, 2016, at 10:25, Daniel P. Berrange <address@hidden> wrote:
>> 
>> Hmm, is there a reason why it is shared? That seems to make an assumption
>> that all vhost-user backends would be managed by the same external process.
>> While that may be the common case today, it doesn't feel like a reasonable
>> assumption to make long term. IOW it feels wiser to have it set per-NIC
>> unless I'm missing something important that means it must be shared ?
> 




reply via email to

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