Messages in this thread | | | Date | Fri, 19 Apr 2024 21:59:11 +0800 | From | Xu Yilun <> | Subject | Re: [PATCH 2/7] KVM: Add KVM_MAP_MEMORY vcpu ioctl to pre-populate guest memory |
| |
> > +#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.
Thanks, Yilun
> > > #endif > > default: > > break; > > -- > > 2.43.0 > > > > > > > > -- > Isaku Yamahata <isaku.yamahata@intel.com> >
| |