[PATCH v13 15/35] fs: Export anon_inode_getfile_secure() for use by KVM

Paolo Bonzini pbonzini at redhat.com
Mon Oct 30 10:30:51 PDT 2023


On 10/27/23 20:21, Sean Christopherson wrote:
> Export anon_inode_getfile_secure() so that it can be used by KVM to 
> create and manage file-based guest memory without need a fullblow 

without introducing a full-blown

Otherwise,

Reviewed-by: Paolo Bonzini <pbonzini at redhat.com>

Paolo

> filesystem. The "standard" anon_inode_getfd() doesn't work for KVM's use 
> case as KVM needs a unique inode for each file, e.g. to be able to 
> independently manage the size and lifecycle of a given file.




More information about the linux-riscv mailing list