[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZiJ69KnDcYabiUwi@google.com>
Date: Fri, 19 Apr 2024 07:08:52 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Xu Yilun <yilun.xu@...ux.intel.com>
Cc: Isaku Yamahata <isaku.yamahata@...el.com>, Paolo Bonzini <pbonzini@...hat.com>,
linux-kernel@...r.kernel.org, kvm@...r.kernel.org, xiaoyao.li@...el.com,
binbin.wu@...ux.intel.com, rick.p.edgecombe@...el.com,
isaku.yamahata@...ux.intel.com
Subject: Re: [PATCH 2/7] KVM: Add KVM_MAP_MEMORY vcpu ioctl to pre-populate
guest memory
On Fri, Apr 19, 2024, Xu Yilun wrote:
> > > +#ifdef CONFIG_KVM_GENERIC_MAP_MEMORY
> > > + case KVM_CAP_MAP_MEMORY:
> > > + if (!kvm)
> > > + return 1;
> > > + /* Leave per-VM implementation to kvm_vm_ioctl_check_extension(). */
> >
> > nitpick:
> > fallthough;
>
> A little tricky. 'break;' should be more straightforward.
+1, though it's a moot point as Paolo dropped this code in v4.
Powered by blists - more mailing lists