Re: [PATCH 2/7] KVM: Add KVM_MAP_MEMORY vcpu ioctl to pre-populate guest memory
From: Xu Yilun
Date: Fri Apr 19 2024 - 10:08:34 EST
> > +#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@xxxxxxxxx>
>