Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp352778rdf; Fri, 3 Nov 2023 02:43:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGaqDJyUXHz3iyVMwPLd6DC1KO5b/8BxEmI3OwaXumD5QP0pnSCVlYG0PZmFreEgu3oOLR6 X-Received: by 2002:a17:90a:49c5:b0:27d:b22b:fb89 with SMTP id l5-20020a17090a49c500b0027db22bfb89mr15877481pjm.35.1699004583019; Fri, 03 Nov 2023 02:43:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699004583; cv=none; d=google.com; s=arc-20160816; b=F57cCYZBzr03gArbuPZwtr0G5K32aXIN0SNfU5SEG/5P4ptJOMIq1bDMbgs4X9dlTu awtNFHITX8Jxbn7dRJ7bE6XR/h5cKi/MuTkHO+ui5TwotRP8TkLzCktBmZ87TD+0HGiQ qIwH+usqoculb/kfXoGl2I123d3ywG2CABzbcuNf8ZBXxPBfbtD9o4bUEVASdIBQeBgc IKiDLZMTcOXsMB2zY9YhrZwJq61Er2xIaY6xUkmCFViT8hKkQ0dtKfLi3QtcqaLCH7xB 8Mfpt1/6jS1qm5B3awS/+zCrzGJnllJFjDe4qQGefmAmWUOceQyjWLUCZYJsUG1++Vmr YY/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=KR3uUy+lpOtuK74sFvr5LpDDKafluOWW+OG46f9Hrzo=; fh=xK+wiX2TTq7O2X4TlNj4MXVc7h6ma8eyuy1Ur/RMLHE=; b=zfXHN76dXMNNhFp1sW+NIQn5O+1PcpNl5m8X50o6eKNm7diNTfv3SMYqXiIeQd8NhC vvcwfDUIIX4BdoretXBdXDE7UoAQx58YRvO21SfdMlOsC86Bwii+3gjvxJPUqDrFHtqG CpSvidtynDW4phqo8c3fDEwravCMEZ55BNw1BwmBS0XvkoPVMc/wXNHnKV3q9VT7L+7X X9W3AmH9PW456KVtnapxlNbVXNDPFxbspL/STr35kGJLzmTT3RHXJ4U/NxNJwHslccAH xC/Jp5oXTFJY/Cc6PRb8EM57yiLp9JI448P3Ru8+zfBtKmVb0u1aExdq64I/uTnxU//u v8gA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="m3pY6/b6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id d2-20020a17090ad98200b002801b7112f5si1371245pjv.86.2023.11.03.02.43.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 02:43:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="m3pY6/b6"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 8584983896C8; Fri, 3 Nov 2023 02:43:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347242AbjKCJnA (ORCPT + 99 others); Fri, 3 Nov 2023 05:43:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347156AbjKCJm6 (ORCPT ); Fri, 3 Nov 2023 05:42:58 -0400 Received: from mail-qv1-xf2a.google.com (mail-qv1-xf2a.google.com [IPv6:2607:f8b0:4864:20::f2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98A8E1BD for ; Fri, 3 Nov 2023 02:42:55 -0700 (PDT) Received: by mail-qv1-xf2a.google.com with SMTP id 6a1803df08f44-6754b4091b6so10453616d6.3 for ; Fri, 03 Nov 2023 02:42:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1699004574; x=1699609374; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=KR3uUy+lpOtuK74sFvr5LpDDKafluOWW+OG46f9Hrzo=; b=m3pY6/b6G3YJERrdwBROFGfs5vr++Ag9hIpC6AAjKkhtJXm9uyP0ggYk8B+Ncaexyi 3clt65KmCVXky6OZlcnHlPn5CBIJ5h5Al88i5bKZT8sSQL2TCwba4/MhlCWokMY1azOz ioUmsNt3uOeSfXRT/RNkfb9NjcquWEVecFRd1f/o2OEHYi/rHv8JxELdmEPVGnNLZsGo 0AGMi1aai1wST8hQZLah3xLA0lAhJ8zcBae3ytuJFPlCi24Rg96s59nTckrQlFamimQq KsgRNNnYrH1pISVyAHX8N8HStVQx403Shxi+vRdDUruxeWHNenFbCLAhuWK4qibWEP00 OwdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699004574; x=1699609374; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KR3uUy+lpOtuK74sFvr5LpDDKafluOWW+OG46f9Hrzo=; b=GL3daE8Ui205wuuSBtFV1SXdy3vugs9CS0lfl3L+w9yDOIv4almRCizNc451umu++W mPZvcF7dmzavuyVzVgPwdqAm+Jt8SivqrqBuhHtj45fBhbfPDU7pe72ONLd8cHBk+Brq sXmngtAV3Q683f6kOdMt0dHnQjHInrVi6j/axtYSrT/YDcdQV9q3gzHGpjbeCH0U+QIE 1BnzuKYAoa+dEF34b6/uvoG0CRCHUQ8zS3idNKXkXHI9iPRLi2Ws6XYSrc810Z6LpSPP ND1WVOZ5TcbuyGrNv3MpxXL0uIadvG1aIr1tTixg4lr05UnMkKHGM34Qcv0T8wIvLh7k FQwA== X-Gm-Message-State: AOJu0YwOBgAFYbMcCg5JCa1S2PVHBjf6xj8BfV7xPqfi197ulJctrWwo FkISTiAHgPnGylkoWaosqYrDDKCB1RVAFkkyc2MecQ== X-Received: by 2002:a05:6214:401c:b0:66d:34a8:3ed0 with SMTP id kd28-20020a056214401c00b0066d34a83ed0mr22048546qvb.26.1699004574544; Fri, 03 Nov 2023 02:42:54 -0700 (PDT) MIME-Version: 1.0 References: <20231027182217.3615211-1-seanjc@google.com> <20231027182217.3615211-17-seanjc@google.com> In-Reply-To: <20231027182217.3615211-17-seanjc@google.com> From: Fuad Tabba Date: Fri, 3 Nov 2023 09:42:17 +0000 Message-ID: Subject: Re: [PATCH v13 16/35] KVM: Add KVM_CREATE_GUEST_MEMFD ioctl() for guest-specific backing memory To: Sean Christopherson Cc: Paolo Bonzini , Marc Zyngier , Oliver Upton , Huacai Chen , Michael Ellerman , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexander Viro , Christian Brauner , "Matthew Wilcox (Oracle)" , Andrew Morton , kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Xiaoyao Li , Xu Yilun , Chao Peng , Jarkko Sakkinen , Anish Moorthy , David Matlack , Yu Zhang , Isaku Yamahata , =?UTF-8?B?TWlja2HDq2wgU2FsYcO8bg==?= , Vlastimil Babka , Vishal Annapurve , Ackerley Tng , Maciej Szmigiero , David Hildenbrand , Quentin Perret , Michael Roth , Wang , Liam Merwick , Isaku Yamahata , "Kirill A . Shutemov" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 03 Nov 2023 02:43:01 -0700 (PDT) Hi, ... > diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst > index e2252c748fd6..e82c69d5e755 100644 > --- a/Documentation/virt/kvm/api.rst > +++ b/Documentation/virt/kvm/api.rst ... > +4.141 KVM_CREATE_GUEST_MEMFD > +---------------------------- > + > +:Capability: KVM_CAP_GUEST_MEMFD > +:Architectures: none > +:Type: vm ioctl > +:Parameters: struct struct kvm_create_guest_memfd(in) One struct too many. Cheers, /fuad