From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sean Christopherson Date: Fri, 18 Aug 2023 16:03:41 -0700 Subject: [RFC PATCH v11 28/29] KVM: selftests: Add basic selftest for guest_memfd() In-Reply-To: References: <20230718234512.1690985-29-seanjc@google.com> Message-ID: List-Id: To: kvm-riscv@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Mon, Aug 07, 2023, Ackerley Tng wrote: > Sean Christopherson writes: > > + ret = fallocate(fd, FALLOC_FL_KEEP_SIZE, total_size + page_size, page_size); > > + TEST_ASSERT(ret, "fallocate beginning at total_size should fail"); > > This should be > > TEST_ASSERT(ret, "fallocate beginning after total_size should fail"); Roger that, I'll push a fixup commit directly to kvm-x86/guest_memfd. Thanks!