<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 24, 2017 at 10:46 PM, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, May 24, 2017 at 7:40 PM, Bruce Ashfield<br>
<div><div class="h5">&lt;<a href="mailto:bruce.ashfield@gmail.com">bruce.ashfield@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Tue, May 23, 2017 at 3:36 PM, Bruce Ashfield &lt;<a href="mailto:bruce.ashfield@gmail.com">bruce.ashfield@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Mon, May 22, 2017 at 1:06 PM, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com">raj.khem@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; &gt;&gt; +SRC_URI += &quot;file://drm.cfg&quot;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; If anything gets added to the default configurations, they need to go<br>
&gt;&gt;&gt; &gt; into<br>
&gt;&gt;&gt; &gt; the kernel-cache<br>
&gt;&gt;&gt; &gt; and then be included by the relevant kernel types there.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt; &gt; If you want, I can take care of switching things to that format.<br>
&gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; yes please.<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Will do. I&#39;ll make it available to all active kernel versions + future<br>
&gt;&gt; ones.<br>
&gt;<br>
&gt;<br>
&gt; As it turns out, we already have a similar fragment for vmware guests:<br>
&gt;<br>
&gt; cfg/vmware-guest.cfg<br>
&gt;<br>
&gt; --------------------<br>
&gt;<br>
&gt; CONFIG_VMWARE_BALLOON=m<br>
&gt;<br>
&gt; CONFIG_VMWARE_PVSCSI=y<br>
&gt;<br>
&gt; CONFIG_VMWARE_VMCI=m<br>
&gt;<br>
&gt; CONFIG_VSOCKETS=m<br>
&gt;<br>
&gt; CONFIG_VMWARE_VMCI_VSOCKETS=m<br>
&gt;<br>
&gt; CONFIG_VMXNET3=y<br>
&gt;<br>
&gt; CONFIG_DRM_VMWGFX=m<br>
&gt;<br>
&gt; CONFIG_DRM_VMWGFX_FBCON=y<br>
&gt;<br>
&gt; CONFIG_FUSION=y<br>
&gt;<br>
&gt; CONFIG_FUSION_SPI=y<br>
&gt;<br>
&gt; CONFIG_FUSION_FC=y<br>
&gt;<br>
&gt; CONFIG_FUSION_SAS=y<br>
&gt;<br>
&gt; CONFIG_FUSION_MAX_SGE=128<br>
&gt;<br>
&gt; CONFIG_FUSION_CTL=y<br>
&gt;<br>
&gt; CONFIG_FUSION_LAN=y<br>
&gt;<br>
&gt; CONFIG_FUSION_LOGGING=y<br>
&gt;<br>
&gt; CONFIG_SCSI_MPT2SAS=y<br>
&gt;<br>
&gt; CONFIG_SCSI_MPT2SAS_MAX_SGE=<wbr>128<br>
&gt;<br>
&gt; CONFIG_SCSI_MPT2SAS_LOGGING=y<br>
&gt;<br>
&gt; CONFIG_SCSI_MPT3SAS=y<br>
&gt;<br>
&gt; CONFIG_SCSI_MPT3SAS_MAX_SGE=<wbr>128<br>
&gt;<br>
&gt; CONFIG_SCSI_MPT3SAS_LOGGING=y<br>
&gt;<br>
&gt; -------------<br>
&gt;<br>
&gt; To stay consistent with that naming, I&#39;ll call this virtual-box-guest.cfg,<br>
&gt; and it can be enabled<br>
&gt; via KERNEL_FEATURES when needed.<br>
&gt;<br>
&gt; I&#39;m hesitant to globally enable it, since we don&#39;t need those modules on all<br>
&gt; linux-yocto<br>
&gt; kernels, just ones that are going to run on virtual box.<br>
&gt;<br>
&gt; I could enable them for qemux86*, since those already have virtio configs<br>
&gt; enabled by<br>
&gt; default and these have a similar goal.<br>
&gt;<br>
&gt; Thoughts ? I&#39;d like to make sure that sounds reasonable, before spending the<br>
&gt; time to<br>
&gt; make the changes and test.<br>
&gt;<br>
<br>
</div></div>I would suggest to enable them by default since these are modules they<br>
dont impact the size of kernel itself. Then we can use recommends to<br>
choose them in machine configs.<br></blockquote><div><br></div><div>We&#39;ve never done that before, there&#39;s hundreds of modules we could turn on </div><div>just in case, but instead only enable them for machines that can actually use</div><div>them.</div><div><br></div><div>Many users use the meta package for modules and expect the build to be as</div><div>minimal as possible.</div><div><br></div><div>So I&#39;m balancing both those use cases.</div><div><br></div><div>I&#39;ll complete the fragment and we can enable it in a second commit to keep the</div><div>options open.</div><div><br></div><div>Bruce</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
&gt; Bruce<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; Cheers,<br>
&gt;&gt;<br>
&gt;&gt; Bruce<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; &quot;Thou shalt not follow the NULL pointer, for chaos and madness await thee<br>
&gt;&gt; at its end&quot;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; &quot;Thou shalt not follow the NULL pointer, for chaos and madness await thee at<br>
&gt; its end&quot;<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">&quot;Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end&quot;</div>
</div></div>