<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic KVM on T1040RDB in T-Series</title>
    <link>https://community.nxp.com/t5/T-Series/KVM-on-T1040RDB/m-p/465167#M467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run qemu/kvm on a T1040RDB (ppc, 64bit) board using Yocto and bitbake. According to &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Ffreescale.sdlproducts.com%2FLiveContent%2Fcontent%2Fen-US%2FQorIQ_SDK_1.9%2FGUID-BEF3E4E5-BA38-403D-88B0-628AE48F5370%23docid%3DGUID-6B2647CC-0DE6-482F-865D-6F7565ECCFB8%26filename%3DGUID-6B2647CC-0DE6-482F-865D-6F7565ECCFB8.xml%26inner_id%3D%26query%3D%26scope%3D%26tid%3D%26resource%3D%26addHistory%3Dtrue%26toc%3Dfalse%26eventType%3DlcContent.loadDocGUID-6B2647CC-0DE6-482F-865D-6F7565ECCFB8" rel="nofollow" target="_blank"&gt;documentation&lt;/A&gt;, KVM is disabled in the kernel build.&lt;/P&gt;&lt;P&gt;Although when i browse through the .bb and bbappend files i find this, in meta-virtualization/recipes-kernel/linux/linux-yocto_3.14.bbappend.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;KERNEL_FEATURES_append = " features/kvm/qemu-kvm-enable.scc"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;module_autoload_kvm = "kvm"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;module_autoload_kvm-amd = "kvm-amd"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;module_autoload_kvm-intel = "kvm-intel"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Doesn't this enable KVM in the kernel??&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, i tried to bitbake qorliq-linux and fsl-image-virt and load them onto my board, and tried --enable-kvm from qemu-system, but it tells me the KVM is not found?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using &lt;EM&gt;bitbake -c menuconfig linux-qoriq &lt;/EM&gt;to alter the kernel-build settings too but this command just finishes without ever showing me a menu.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What are the appropriate steps to build a kernel for T1040RDB (64bit) that allows KVM guests?&lt;/P&gt;&lt;P&gt;Thanks already&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;edit: i attached a file with output from T1040RDB boot&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337219"&gt;output.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Mar 2016 15:12:49 GMT</pubDate>
    <dc:creator>piddy</dc:creator>
    <dc:date>2016-03-09T15:12:49Z</dc:date>
    <item>
      <title>KVM on T1040RDB</title>
      <link>https://community.nxp.com/t5/T-Series/KVM-on-T1040RDB/m-p/465167#M467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to run qemu/kvm on a T1040RDB (ppc, 64bit) board using Yocto and bitbake. According to &lt;A _jive_internal="true" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Ffreescale.sdlproducts.com%2FLiveContent%2Fcontent%2Fen-US%2FQorIQ_SDK_1.9%2FGUID-BEF3E4E5-BA38-403D-88B0-628AE48F5370%23docid%3DGUID-6B2647CC-0DE6-482F-865D-6F7565ECCFB8%26filename%3DGUID-6B2647CC-0DE6-482F-865D-6F7565ECCFB8.xml%26inner_id%3D%26query%3D%26scope%3D%26tid%3D%26resource%3D%26addHistory%3Dtrue%26toc%3Dfalse%26eventType%3DlcContent.loadDocGUID-6B2647CC-0DE6-482F-865D-6F7565ECCFB8" rel="nofollow" target="_blank"&gt;documentation&lt;/A&gt;, KVM is disabled in the kernel build.&lt;/P&gt;&lt;P&gt;Although when i browse through the .bb and bbappend files i find this, in meta-virtualization/recipes-kernel/linux/linux-yocto_3.14.bbappend.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;KERNEL_FEATURES_append = " features/kvm/qemu-kvm-enable.scc"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;module_autoload_kvm = "kvm"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;module_autoload_kvm-amd = "kvm-amd"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;module_autoload_kvm-intel = "kvm-intel"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Doesn't this enable KVM in the kernel??&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, i tried to bitbake qorliq-linux and fsl-image-virt and load them onto my board, and tried --enable-kvm from qemu-system, but it tells me the KVM is not found?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using &lt;EM&gt;bitbake -c menuconfig linux-qoriq &lt;/EM&gt;to alter the kernel-build settings too but this command just finishes without ever showing me a menu.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What are the appropriate steps to build a kernel for T1040RDB (64bit) that allows KVM guests?&lt;/P&gt;&lt;P&gt;Thanks already&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;edit: i attached a file with output from T1040RDB boot&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-337219"&gt;output.txt.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 15:12:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/KVM-on-T1040RDB/m-p/465167#M467</guid>
      <dc:creator>piddy</dc:creator>
      <dc:date>2016-03-09T15:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: KVM on T1040RDB</title>
      <link>https://community.nxp.com/t5/T-Series/KVM-on-T1040RDB/m-p/465168#M468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no file of the name qemu-kvm-enable.scc in the SDK. Even if&lt;/P&gt;&lt;P&gt;the recipe you mentioned is included (not sure) it does not do anything.&lt;/P&gt;&lt;P&gt;Yes, you have to add KVM support by hand as specified here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.freescale.com/external-link.jspa?url=https%3A%2F%2Ffreescale.sdlproducts.com%2FLiveContent%2Fcontent%2Fen-US%2FQorIQ_SDK_1.9%2FGUID-9BCF19E8-1207-4A8C-B75D-C77D69D8C14A" rel="nofollow" target="_blank"&gt;https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK_1.9/GUID-9BCF19E8-1207-4A8C-B75D-C77D69D8C14A&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your host does not display a menuconfig window, there is something&lt;/P&gt;&lt;P&gt;wrong with your host Linux. The suggestions are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Use a supported host Linux distribution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.freescale.com/external-link.jspa?url=https%3A%2F%2Ffreescale.sdlproducts.com%2FLiveContent%2Fcontent%2Fen-US%2FQorIQ_SDK_1.9%2FGUID-F7DA2C52-D302-4A57-A83D-2F89F66ACDE3" rel="nofollow" target="_blank"&gt;https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK_1.9/GUID-F7DA2C52-D302-4A57-A83D-2F89F66ACDE3&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Work in X11 environment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Check this article for tuning recommendations:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.freescale.com/external-link.jspa?url=https%3A%2F%2Ffreescale.sdlproducts.com%2FLiveContent%2Fcontent%2Fen-US%2FQorIQ_SDK_1.9%2FGUID-8C4D9C9C-BC81-488D-B2E8-B6494908CF5D" rel="nofollow" target="_blank"&gt;https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK_1.9/GUID-8C4D9C9C-BC81-488D-B2E8-B6494908CF5D&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, the documentation you found is valid and unversal for &lt;/P&gt;&lt;P&gt;all PowerPC based processors supported by the SDK. There is no&lt;/P&gt;&lt;P&gt;specific KVM how-to for your processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Platon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2016 16:57:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/KVM-on-T1040RDB/m-p/465168#M468</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2016-03-09T16:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: KVM on T1040RDB</title>
      <link>https://community.nxp.com/t5/T-Series/KVM-on-T1040RDB/m-p/465169#M469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks alot ! I managed to work around the menuconfig problem. It seems specific to yocto 1.7 on Fedora? I wasn't sure if i was doing something wrong but doesn't seem like it.&lt;/P&gt;&lt;P&gt;I can tweak the kernel now and deploy images, although KVM is now complaining about "This KVM version does not support PAPR", not sure what is happening but i will look into it now, hope it's just a build option i forgot. (edit, yes i just forget to add CPU type :smileywink: seems to work now).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if other people have problems with bitbake menuconfig in Yocto 1.7 though&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 08:38:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/KVM-on-T1040RDB/m-p/465169#M469</guid>
      <dc:creator>piddy</dc:creator>
      <dc:date>2016-03-16T08:38:46Z</dc:date>
    </item>
  </channel>
</rss>

