﻿{"id":130,"date":"2018-01-18T15:02:15","date_gmt":"2018-01-18T07:02:15","guid":{"rendered":"http:\/\/simon.ice.com.tw\/?p=130"},"modified":"2018-01-18T15:02:15","modified_gmt":"2018-01-18T07:02:15","slug":"xenserver-nested","status":"publish","type":"post","link":"https:\/\/old.ice.com.tw\/?p=130","title":{"rendered":"Xenserver nested"},"content":{"rendered":"<p>Disclaimer done, lets start to play: To enable nested virtualization, go to the XenServer console (e.g. in XenCenter) and find out the UUID of the VM you want to permit being a virtualization host:<\/p>\n<pre># xe vm-list<\/pre>\n<p>Go through the list and remember the first characters of your VM\u00b4s UUID. After making sure the VM is powered down,\u00a0turn on nested hardware virtualization. Enter your VM\u2019s UUID instead of &lt;UUID&gt;. After typing the first characters, you can hit TAB to auto-complete:<\/p>\n<pre># xe vm-param-set uuid=&lt;UUID&gt; platform:exp-nested-hvm=true<\/pre>\n<p>Boot the VM and check if the virtual processor reports hardware virtualization\u00a0(\u201cvmx\u201d) capabilities. In Linux this might look like this:<\/p>\n<pre># cat \/proc\/cpuinfo \r\nprocessor : 0\r\nvendor_id : GenuineIntel\r\ncpu family : 6\r\nmodel : 60\r\nmodel name : Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz\r\n[\u2026]\r\nflags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx rdtscp lm constant_tsc rep_good nopl pni pclmulqdq <b>vmx<\/b> ssse3 cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes rdrand hypervisor lahf_lm abm tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 smep bmi2 erms invpcid\r\n[\u2026]<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Disclaimer done, lets start to play: To enable nested v &hellip; <a href=\"https:\/\/old.ice.com.tw\/?p=130\" class=\"more-link\">\u95b1\u8b80\u5168\u6587<span class=\"screen-reader-text\">\u3008Xenserver nested\u3009<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-130","post","type-post","status-publish","format-standard","hentry","category-xenserver"],"_links":{"self":[{"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/130","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=130"}],"version-history":[{"count":1,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/130\/revisions"}],"predecessor-version":[{"id":131,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=\/wp\/v2\/posts\/130\/revisions\/131"}],"wp:attachment":[{"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=130"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=130"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/old.ice.com.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=130"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}