{"id":1407,"date":"2020-02-04T07:31:50","date_gmt":"2020-02-04T07:31:50","guid":{"rendered":"http:\/\/general.sio57.info\/wp\/?p=1407"},"modified":"2023-10-10T18:25:06","modified_gmt":"2023-10-10T18:25:06","slug":"virtualisation-imbriquee","status":"publish","type":"post","link":"https:\/\/general.sio57.info\/wp\/?p=1407","title":{"rendered":"Virtualisation imbriqu\u00e9e"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/general.sio57.info\/wp\/wp-content\/uploads\/2020\/02\/inception.jpg\" alt=\"\" class=\"wp-image-1410\" width=\"154\" height=\"202\" srcset=\"https:\/\/general.sio57.info\/wp\/wp-content\/uploads\/2020\/02\/inception.jpg 362w, https:\/\/general.sio57.info\/wp\/wp-content\/uploads\/2020\/02\/inception-229x300.jpg 229w\" sizes=\"auto, (max-width: 154px) 100vw, 154px\" \/><figcaption>Inception<\/figcaption><\/figure>\n\n\n\n<p> La virtualisation imbriqu\u00e9e est une  fonctionnalit\u00e9 qui vous permet d\u2019ex\u00e9cuter un autre hyperviseur \u00e0 l\u2019int\u00e9rieur d\u2019une  machine virtuelle (VM).<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Par exemple, on peut faire tourner hyper-v sous vmware wk ou esx, ou hyper-v sous hyper-v ou encore virtual box dans hyper-v<\/p>\n\n\n\n<p><\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Sous Windows Hyper-V pour installer soit un autre Hyper-v, soit Virtual Box soit VmWare Workstation, il suffit de : <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Cr\u00e9er une machine virtuelle. <\/li><li>L&rsquo;\u00e9teindre.<\/li><li>Ex\u00e9cutez la commande suivante sur l\u2019h\u00f4te Hyper-V physique. Cela permet d\u2019activer la virtualisation imbriqu\u00e9e de la machine virtuelle.<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>Set-VMProcessor -VMName &lt;Le nom de la VM concern\u00e9e&gt; -ExposeVirtualizationExtensions $true\n<\/code><\/pre>\n\n\n\n<p>Ne pas activer la m\u00e9moire dynamique et activer l&rsquo;usurpation MAC<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/general.sio57.info\/wp\/wp-content\/uploads\/2021\/03\/Capture.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"676\" height=\"274\" src=\"https:\/\/general.sio57.info\/wp\/wp-content\/uploads\/2021\/03\/Capture.jpg\" alt=\"\" class=\"wp-image-1484\" srcset=\"https:\/\/general.sio57.info\/wp\/wp-content\/uploads\/2021\/03\/Capture.jpg 676w, https:\/\/general.sio57.info\/wp\/wp-content\/uploads\/2021\/03\/Capture-300x122.jpg 300w\" sizes=\"auto, (max-width: 676px) 100vw, 676px\" \/><\/a><\/figure>\n\n\n\n<p>En powershell : <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#disable dynamic memory\nSet-VMMemory -VMName $vm -DynamicMemoryEnabled $false\n\n#enable mac spoofing\nGet-VMNetworkAdapter -VMName $vm | Set-VMNetworkAdapter -MacAddressSpoofing On<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\"><li>D\u00e9marrez l&rsquo;ordinateur virtuel.<\/li><li>Installez le syst\u00e8me choisit sur la machine virtuelle, comme vous le feriez sur un serveur physique.<\/li><\/ol>\n\n\n\n<p class=\"has-vivid-cyan-blue-background-color has-background\">Sur VmWare Workstation, il faut suivre ce tuto  <a href=\"https:\/\/www.it-connect.fr\/installer-hyper-v-sur-vmware-workstation-10\">https:\/\/www.it-connect.fr\/installer-hyper-v-sur-vmware-workstation-10 <\/a><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Un lien pour virtualiser un ESX dans Hyper-V <a href=\"https:\/\/dscottraynsford.wordpress.com\/2016\/04\/22\/install-a-vmware-esxi-6-0-hypervisor-in-a-hyper-v-vm\/comment-page-2\/\">https:\/\/dscottraynsford.wordpress.com\/2016\/04\/22\/install-a-vmware-esxi-6-0-hypervisor-in-a-hyper-v-vm\/comment-page-2\/<\/a><\/p>\n\n\n\n<p>Par contre, je n&rsquo;ai pas trouv\u00e9 l&rsquo;astuce pour faire fonctionner VmWare Workstation dans une vm windows nested.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>La virtualisation imbriqu\u00e9e est une fonctionnalit\u00e9 qui vous permet d\u2019ex\u00e9cuter un autre hyperviseur \u00e0 l\u2019int\u00e9rieur d\u2019une machine virtuelle (VM). Par exemple, on peut faire tourner hyper-v sous vmware wk ou esx, ou hyper-v sous hyper-v ou encore virtual box dans hyper-v<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[182,83,82,27,104,99,39],"tags":[174,140],"class_list":["post-1407","post","type-post","status-publish","format-standard","hentry","category-b2","category-utilisateurs","category-materiel","category-sisr1","category-trucs-astuces","category-virtualisation","category-windows","tag-nested","tag-virtualisation"],"_links":{"self":[{"href":"https:\/\/general.sio57.info\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/general.sio57.info\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/general.sio57.info\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/general.sio57.info\/wp\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/general.sio57.info\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1407"}],"version-history":[{"count":7,"href":"https:\/\/general.sio57.info\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1407\/revisions"}],"predecessor-version":[{"id":1485,"href":"https:\/\/general.sio57.info\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1407\/revisions\/1485"}],"wp:attachment":[{"href":"https:\/\/general.sio57.info\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/general.sio57.info\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/general.sio57.info\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}