<?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 Re:Enclave.config.xml in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Enclave-config-xml/m-p/1508276#M5822</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Hello LittleQ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Thanks for your information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Let me check with relevant team and I'll update you at the earliest.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Wan&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 26 Jul 2023 02:36:29 GMT</pubDate>
    <dc:creator>Wan_Intel</dc:creator>
    <dc:date>2023-07-26T02:36:29Z</dc:date>
    <item>
      <title>Enclave.config.xml</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Enclave-config-xml/m-p/1507520#M5818</link>
      <description>&lt;P&gt;Hello! Recently, I used WAMR. I changed&amp;nbsp;Enclave.config.xml,and got some error.&lt;/P&gt;&lt;P&gt;First, the original&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Enclave.config.xml&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;is as follows:&lt;/P&gt;&lt;DIV class=""&gt;&lt;PRE&gt;&amp;lt;!-- Please refer to User's Guide for the explanation of each field --&amp;gt;
&amp;lt;EnclaveConfiguration&amp;gt;
  &amp;lt;ProdID&amp;gt;0&amp;lt;/ProdID&amp;gt;
  &amp;lt;ISVSVN&amp;gt;0&amp;lt;/ISVSVN&amp;gt;
  &amp;lt;StackMaxSize&amp;gt;0x100000&amp;lt;/StackMaxSize&amp;gt;
  &amp;lt;HeapMaxSize&amp;gt;0x8000000&amp;lt;/HeapMaxSize&amp;gt;
  &amp;lt;ReservedMemMaxSize&amp;gt;0x1000000&amp;lt;/ReservedMemMaxSize&amp;gt;
  &amp;lt;ReservedMemExecutable&amp;gt;1&amp;lt;/ReservedMemExecutable&amp;gt;
  &amp;lt;TCSNum&amp;gt;10&amp;lt;/TCSNum&amp;gt;
  &amp;lt;TCSPolicy&amp;gt;1&amp;lt;/TCSPolicy&amp;gt;
  &amp;lt;DisableDebug&amp;gt;0&amp;lt;/DisableDebug&amp;gt;
  &amp;lt;MiscSelect&amp;gt;0&amp;lt;/MiscSelect&amp;gt;
  &amp;lt;MiscMask&amp;gt;0xFFFFFFFF&amp;lt;/MiscMask&amp;gt;
&amp;lt;/EnclaveConfiguration&amp;gt;&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;I tried these behavious:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;I didn't modify the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Enclave.config.xml, and used command&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;make SGX_PRERELEASE=1 SGX_DEBUG=0 SGX_MODE=HW. The result is no error.&lt;/LI&gt;&lt;LI&gt;I only modified&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;MiscSelect&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;option to 1, and used command&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;make SGX_PRERELEASE=1 SGX_DEBUG=0 SGX_MODE=HW&lt;SPAN&gt;. The result is as follows:&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;DIV class=""&gt;&lt;PRE&gt;Failed to create enclave from enclave.signed.so, error code: 1
Fail to initialize enclave.&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;The sgxsdk I used is the version of 2.19. I run the Cxx11SGXDemo in the linux-sgx. I only modified&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;MiscSelect&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;option to 1, and used command&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;make SGX_PRERELEASE=1 SGX_DEBUG=0 SGX_MODE=HW. The result is no error.&lt;BR /&gt;Does it mean that WAMR doesn't support SGX2?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 09:13:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Enclave-config-xml/m-p/1507520#M5818</guid>
      <dc:creator>littleQ</dc:creator>
      <dc:date>2023-07-24T09:13:50Z</dc:date>
    </item>
    <item>
      <title>Re:Enclave.config.xml</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Enclave-config-xml/m-p/1507887#M5819</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Hello LittleQ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Thanks for reaching out to us.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;May I know what Operating System and Kernel version are you using on your machine?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;You may check with &lt;/SPAN&gt;&lt;SPAN style="font-family: courier; font-size: 16px;"&gt;uname -r&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px;"&gt; command and &lt;/SPAN&gt;&lt;SPAN style="font-family: courier; font-size: 16px;"&gt;lsb_release -a&lt;/SPAN&gt;&lt;SPAN style="font-size: 16px;"&gt; command.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Wan&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 25 Jul 2023 02:12:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Enclave-config-xml/m-p/1507887#M5819</guid>
      <dc:creator>Wan_Intel</dc:creator>
      <dc:date>2023-07-25T02:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Re:Enclave.config.xml</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Enclave-config-xml/m-p/1507924#M5820</link>
      <description>&lt;P&gt;My kernel version is: 6.1.31-060131-generic.&lt;/P&gt;&lt;P&gt;Distributor ID: Ubuntu&lt;BR /&gt;Description: Ubuntu 22.04.2 LTS&lt;BR /&gt;Release: 22.04&lt;BR /&gt;Codename: jammy&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 06:10:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Enclave-config-xml/m-p/1507924#M5820</guid>
      <dc:creator>littleQ</dc:creator>
      <dc:date>2023-07-25T06:10:51Z</dc:date>
    </item>
    <item>
      <title>Re:Enclave.config.xml</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Enclave-config-xml/m-p/1508276#M5822</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Hello LittleQ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Thanks for your information.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Let me check with relevant team and I'll update you at the earliest.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Wan&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 26 Jul 2023 02:36:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Enclave-config-xml/m-p/1508276#M5822</guid>
      <dc:creator>Wan_Intel</dc:creator>
      <dc:date>2023-07-26T02:36:29Z</dc:date>
    </item>
    <item>
      <title>Re:Enclave.config.xml</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Enclave-config-xml/m-p/1510344#M5830</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Hello LittleQ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Thanks for your patience.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;We've received feedback from the relevant team.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Could you please try the following steps and see if the issue can be resolved?&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 16px;"&gt;Run the following command in your terminal&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class="ql-indent-1"&gt;&lt;SPAN style="font-size: 16px; font-family: courier;"&gt;cpuid | grep SGX2&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-size: 16px;"&gt;Build the kernel that allows EDMM with the following GitHub page:&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class="ql-indent-1"&gt;&lt;SPAN style="font-size: 16px;"&gt;&lt;A href="https://github.com/intel/sgx-emm" target="_blank"&gt;https://github.com/intel/sgx-emm&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="ql-indent-1"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class="ql-indent-1"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Wan&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Aug 2023 06:54:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Enclave-config-xml/m-p/1510344#M5830</guid>
      <dc:creator>Wan_Intel</dc:creator>
      <dc:date>2023-08-02T06:54:44Z</dc:date>
    </item>
    <item>
      <title>Re:Enclave.config.xml</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Enclave-config-xml/m-p/1513620#M5852</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Hello LittleQ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Thanks for your question.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;If you need additional information from Intel, please submit a new question as this thread will no longer be monitored.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 16px;"&gt;Wan&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 13 Aug 2023 01:46:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Enclave-config-xml/m-p/1513620#M5852</guid>
      <dc:creator>Wan_Intel</dc:creator>
      <dc:date>2023-08-13T01:46:59Z</dc:date>
    </item>
  </channel>
</rss>

