]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: guest_memfd: pass error up from filemap_grab_folio
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 14 Feb 2024 16:31:43 +0000 (11:31 -0500)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 May 2024 17:11:45 +0000 (13:11 -0400)
commit70623723778a5156a03bc6e601be5df8c1fddb75
tree43aeaaf2c7a43f24f430acac3184e34cba669316
parent1d23040caa8bef867572ae814b5f8b5fa44eccd3
KVM: guest_memfd: pass error up from filemap_grab_folio

Some SNP ioctls will require the page not to be in the pagecache, and as such they
will want to return EEXIST to userspace.  Start by passing the error up from
filemap_grab_folio.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
virt/kvm/guest_memfd.c