{"id":257238,"date":"2022-11-17T09:00:47","date_gmt":"2022-11-17T01:00:47","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=257238"},"modified":"2022-11-12T23:38:28","modified_gmt":"2022-11-12T15:38:28","slug":"linux-nested-virtualization","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-nested-virtualization.html","title":{"rendered":"\u5fae\u8f6f\u4e4bLinux\u5d4c\u5957\u5f0f\u865a\u62df\u5316"},"content":{"rendered":"

\u200b<\/p>\n\n\n\n
\u5bfc\u8bfb<\/td>\n\u5d4c\u5957\u865a\u62df\u5316\u5141\u8bb8\u7528\u6237\u5728\u53e6\u4e00\u4e2a Hyper-V \u865a\u62df\u673a\u5185\u8fd0\u884c\u865a\u62df\u673a\uff08VM\uff09\u3002\u6240\u4ee5\uff0c\u5982\u679c\u8fd9\u4e2a\u8865\u4e01\u5f88\u5feb\u5c31\u80fd\u6210\u529f\u5408\u5e76\uff0c\u6bd4\u5982\u5728 Linux \u5185\u6838 6.2 \u7248\u672c\u4e2d\u53ca\u65f6\u5408\u5e76\uff0c\u90a3\u4e48\u5f88\u5feb\u7528\u6237\u5c31\u53ef\u4ee5\u5728 Linux \u4e2d\u8fd0\u884c\u591a\u4e2a Windows \u5b9e\u4f8b\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u5fae\u8f6f\u6b63\u5728\u4e3a Linux \u5e26\u6765\u8fd0\u884c\u5d4c\u5957\u5f0f\u7ba1\u7406\u7a0b\u5e8f\uff08Hyper-V\uff09\u6216\u5d4c\u5957\u5f0f\u865a\u62df\u5316\u7684\u80fd\u529b\u3002\u5fae\u8f6f Linux \u9ad8\u7ea7\u5de5\u7a0b\u5e08 \u200b\u200bJinank Jain\u200b\u200b \u8fd1\u671f\u53d1\u5e03\u4e86\u4e00\u7cfb\u5217\u5173\u4e8e\u8be5\u529f\u80fd\u7684\u8865\u4e01\u3002<\/p>\n

\"\"<\/p>\n

\u8be5\u7cfb\u5217\u8865\u4e01\u8ba1\u5212\u589e\u52a0\u5bf9\u8fd0\u884c\u5d4c\u5957\u7684\u5fae\u8f6f Hypervisor \u7684\u652f\u6301\u3002\u5728\u5d4c\u5957\u5fae\u8f6f Hypervisor \u7684\u60c5\u51b5\u4e0b\uff0c\u6709\u4e00\u4e9b\u7279\u6743\u7684 hypercalls \u9700\u8981\u8d70 L0 Hypervisor \u800c\u4e0d\u662f L1 Hypervisor\u3002\u8be5\u8865\u4e01\u7cfb\u5217\u57fa\u672c\u4e0a\u53ef\u4ee5\u8bc6\u522b\u8fd9\u6837\u7684\u8d85\u8c03\u7528\uff0c\u5e76\u7528\u5d4c\u5957\u7684\u8d85\u8c03\u7528\u53d6\u4ee3\u5b83\u4eec\u3002<\/p>\n

    mshv: \u589e\u52a0\u5bf9\u68c0\u6d4b\u5d4c\u5957\u7684 hypervisor \u7684\u652f\u6301<\/ol>\n
      hv\uff1a\u5728\u5d4c\u5957\u6839\u5206\u533a\u7684\u60c5\u51b5\u4e0b\u8bbe\u7f6e synic \u5bc4\u5b58\u5668<\/ol>\n
        hv: \u589e\u52a0\u63a5\u53e3\u6765\u505a\u5d4c\u5957\u7684\u8d85\u8c03\u7528<\/ol>\n
          hv: \u4e3a\u5d4c\u5957\u7684\u6839\u5206\u533a\u542f\u7528 vmbus \u9a71\u52a8<\/ol>\n
            hv, mshv : \u6539\u53d8\u5d4c\u5957\u6839\u5206\u533a\u7684\u4e2d\u65ad\u5411\u91cf<\/ol>\n

            \u200b\u5d4c\u5957\u865a\u62df\u5316\u5141\u8bb8\u7528\u6237\u5728\u53e6\u4e00\u4e2a Hyper-V \u865a\u62df\u673a\u5185\u8fd0\u884c\u865a\u62df\u673a\uff08VM\uff09\u3002\u6240\u4ee5\uff0c\u5982\u679c\u8fd9\u4e2a\u8865\u4e01\u5f88\u5feb\u5c31\u80fd\u6210\u529f\u5408\u5e76\uff0c\u6bd4\u5982\u5728 Linux \u5185\u6838 6.2 \u7248\u672c\u4e2d\u53ca\u65f6\u5408\u5e76\uff0c\u90a3\u4e48\u5f88\u5feb\u7528\u6237\u5c31\u53ef\u4ee5\u5728 Linux \u4e2d\u8fd0\u884c\u591a\u4e2a Windows \u5b9e\u4f8b\u3002<\/p>\n

            \u5d4c\u5957\u5f0f\u865a\u62df\u5316\u901a\u5e38\u662f\u4e3a\u4f01\u4e1a\u8bbe\u8ba1\u7684\uff0c\u800c\u5fae\u8f6f\u4e5f\u80af\u5b9a\u5728\u6dfb\u52a0\u8be5\u529f\u80fd\u65f6\u8003\u8651\u5230\u4e86\u8fd9\u4e9b\u56e0\u7d20\u3002\u5bf9\u4e8e\u666e\u901a\u7528\u6237\u6765\u8bf4\uff0c\u8fd9\u4e5f\u662f\u6709\u8da3\u7684\u4f53\u9a8c\u3002<\/p>\n

            \u5d4c\u5957\u865a\u62df\u5316\u662f\u6307\u6a21\u62df\u786c\u4ef6\u865a\u62df\u5316\u6269\u5c55\u63d2\u4ef6\u7684 Hyper-v \u865a\u62df\u673a\u76d1\u63a7\u7a0b\u5e8f\u3002\u8fd9\u4e9b\u4eff\u771f\u6269\u5c55\u53ef\u4f9b\u5176\u4ed6\u865a\u62df\u5316\u8f6f\u4ef6\u4f7f\u7528 (\u4f8b\u5982\uff0c\u5d4c\u5957\u865a\u62df\u673a\u76d1\u63a7\u7a0b\u5e8f) \u5728 Hyper-v \u5e73\u53f0\u4e0a\u8fd0\u884c\u3002\u6b64\u529f\u80fd\u4ec5\u9002\u7528\u4e8e\u6765\u5bbe\u5206\u533a\u3002\u5fc5\u987b\u6309\u865a\u62df\u673a\u542f\u7528\u6b64\u529f\u80fd\u3002Windows \u6839\u5206\u533a\u4e0d\u652f\u6301\u5d4c\u5957\u865a\u62df\u5316\u3002<\/p>\n

            \"\"<\/p>\n

            \u4e0e\u88f8\u673a\u76f8\u6bd4\uff0c\u5728\u865a\u62df\u673a\u4e2d\u8fd0\u884c\u65f6\uff0c\u865a\u62df\u673a\u76d1\u63a7\u7a0b\u5e8f\u53ef\u4ee5\u663e\u8457\u63d0\u9ad8\u6027\u80fd\u3002\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528 L0 \u865a\u62df\u673a\u76d1\u63a7\u7a0b\u5e8f\u63d0\u4f9b\u7684\u542f\u7528\u63a5\u53e3\uff0c\u5c06 L1 \u865a\u62df\u673a\u76d1\u63a7\u7a0b\u5e8f\u4f18\u5316\u4e3a\u5728 Hyper-v VM \u4e2d\u8fd0\u884c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

            \u200b \u5fae\u8f6f\u6b63\u5728\u4e3a Linux \u5e26\u6765\u8fd0\u884c\u5d4c\u5957\u5f0f\u7ba1\u7406\u7a0b\u5e8f\uff08Hyper-V\uff09\u6216\u5d4c\u5957\u5f0f\u865a\u62df\u5316\u7684\u80fd\u529b\u3002\u5fae\u8f6f Linux \u9ad8 […]<\/p>\n","protected":false},"author":1329,"featured_media":257242,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-257238","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/257238","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1329"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=257238"}],"version-history":[{"count":3,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/257238\/revisions"}],"predecessor-version":[{"id":257343,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/257238\/revisions\/257343"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/257242"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=257238"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=257238"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=257238"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}