{"id":595,"date":"2012-06-14T00:00:19","date_gmt":"2012-06-13T16:00:19","guid":{"rendered":"http:\/\/www.dogeye.net\/?p=595"},"modified":"2012-06-14T00:00:19","modified_gmt":"2012-06-13T16:00:19","slug":"595","status":"publish","type":"post","link":"https:\/\/ykyi.net\/?p=595","title":{"rendered":"\u600e\u4e48\u7f16\u8bd1,\u6784\u5efa,\u5b89\u88c5,\u4f7f\u7528WinKVM"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \">WinKVM&nbsp;:&nbsp;Windows&nbsp;kernel-based&nbsp;Virtual&nbsp;Machine<\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \">&nbsp;<\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \">WinKVM Windows\u4e0b\u53f0\u4e0b\u57fa\u4e8e\u5185\u6838\u7684\u865a\u62df\u673a(Linux\u7684KVM\u7684windows\u79fb\u690d)<\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \">&nbsp;<\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<h2 class=\"p0\" style=\"margin-bottom: 0pt; margin-top: 0pt; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \">\u600e\u4e48\u7f16\u8bd1\uff0c\u6784\u5efaWinKVM<\/span><\/h2>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \">&nbsp;<\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-family: 'Bitstream Vera Sans Mono'; font-size: 12.5pt; \">\u8fd9\u7bc7\u65b9\u7ae0\u4f1a\u544a\u8bc9\u4f60\u5982\u4f55\u7f16\u8bd1WinKVM.<\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-family: 'Bitstream Vera Sans Mono'; font-size: 12.5pt; \">\u4f60\u5fc5\u987b\u5148\u51c6\u5907\u597d\u4e09\u4ef6\u4e1c\u897f\u3002<\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">1. \u53bb\u5230<\/span><\/font><span style=\"color: rgb(0, 0, 255); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><a href=\"http:\/\/www.cygwin.com\/\">http:\/\/www.cygwin.com\/<\/a>&nbsp;<\/span><span style=\"font-size: 17px; color: rgb(51, 51, 51); font-family: 'Bitstream Vera Sans Mono'; \">\u4e0b\u8f7d\u5b89\u88c5Cygwin\u3002\u6ce8\u610f\u5b89\u88c5\u65f6\u9009\u597dgcc-3.x rsync, zlib\u548cawk.<\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">2. \u5efa\u8bae\u7528Visual Studio 2008\u4e13\u4e1a\u7248\uff0c\u4f60\u4e5f\u53ef\u4ee5\u4f7f\u7528Visual Studio Express\u7248\u3002<\/span><\/font><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-family: 'Bitstream Vera Sans Mono'; font-size: 12.5pt; \">3. Windows DDK, \u672c\u6587\u4f7f\u7528<\/span><span style=\"color: rgb(51, 51, 51); font-family: 'Bitstream Vera Sans Mono'; font-size: 12.5pt; \">The&nbsp;Microsoft<\/span><font face=\"Times New Roman\" style=\"color: rgb(51, 51, 51); font-size: 12.5pt; \">&reg;&nbsp;<\/font><font face=\"Bitstream Vera Sans Mono\" style=\"color: rgb(51, 51, 51); font-family: 'Bitstream Vera Sans Mono'; font-size: 12.5pt; \">Windows&nbsp;Server<\/font><font face=\"Times New Roman\" style=\"color: rgb(51, 51, 51); font-size: 12.5pt; \">&trade;&nbsp;<\/font><font face=\"Bitstream Vera Sans Mono\" style=\"color: rgb(51, 51, 51); font-family: 'Bitstream Vera Sans Mono'; font-size: 12.5pt; \">2003&nbsp;Service&nbsp;Pack&nbsp;1&nbsp;(SP1)&nbsp;DDK\u3002<\/font><\/p>\n<pre class=\"p0\" style=\"margin-bottom: 0pt; margin-top: 0pt; \"><span style=\"color: rgb(51, 51, 51); font-family: 'Bitstream Vera Sans Mono'; font-size: 12.5pt; \">\u5fc5\u987b\u5148\u4e0b\u8f7d\u5e76\u5b89\u88c5\u597d\u8fd9\u4e09\u5927\u4ef6\uff01\u5443\uff0c\u5f53\u7136\uff01WinKVM\u7684\u4ee3\u7801\u5fc5\u987b\u4e0b\u8f7d\u597d\u4e86\u3002<\/span><span style=\"font-size:18px;\"><a href=\"https:\/\/github.com\/ddk50\/winkvm\/\">https:\/\/github.com\/ddk50\/winkvm\/<\/a><\/span><\/pre>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \">&nbsp;<\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"font-size: 17px; color: rgb(51, 51, 51); font-family: 'Bitstream Vera Sans Mono'; \">\u5728\u52a8\u624b\u7f16\u8bd1\u4e4b\u524d\uff0c\u5148\u8bbe\u7f6e\u597d\u597d\u7f16\u8bd1\u73af\u5883\u3002\u6dfb\u52a0\u73af\u5883\u53d8\u91cf<\/span><span style=\"color: rgb(51, 51, 51); font-family: 'Bitstream Vera Sans Mono'; font-size: 17px; \">BASEDIR2K3,\u6307\u5411\u4f60\u7684DDK\u5b89\u88c5\u7684\u76ee\u5f55\u3002Visual Studio\u4f7f\u7528\u8fd9\u4e2a\u73af\u5883\u53d8\u91cf\u6784\u5efa\u9a71\u52a8\u7a0b\u5e8f<\/span><span style=\"color: rgb(51, 51, 51); font-family: 'Bitstream Vera Sans Mono'; font-size: 17px; \">WinKVM<\/span><span style=\"color: rgb(51, 51, 51); font-family: 'Bitstream Vera Sans Mono'; font-size: 17px; \">\u3002<\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">\u597d\u5427\uff0c\u52a8\u624b\u5e72\u6d3b\u5427\uff01WinKVM\u7684\u6784\u5efa\u8fc7\u7a0b\u6709\u4e00\u70b9\u9ebb\u70e6\u3002<\/span><\/font><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">\u4e09\u6837\u4e1c\u897f\u5fc5\u987b\u5206\u5f00\u6784\u5efa\u3002<\/span><\/font><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><strong><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">STEP ONE: <\/span><\/font><\/strong><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">\u5148\u6784\u5efa kvmctldll: cd\u5230vcproj\/user\/kvmctldll\u76ee\u5f55\uff0c\u53cc\u51fbkvmctldll.vcproj\u6253\u5f00\u5de5\u7a0b,\u70b9\u51fbbuild\u3002\u7ed3\u675f\u540e\u5230vcproj\/bin\u76ee\u5f55\u4e0b\u67e5\u770b\u6709\u6ca1\u6709kvmctldll.dll\u6587\u4ef6\u3002\u5982\u679c\u6709\uff0c\u90a3\u606d\u559c\u4f60\uff0c\u7b2c\u4e00\u6b65\u6210\u529f\u4e86\u3002<\/span><\/font><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\"><strong>STEP TWO:<\/strong> <\/span><\/font><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">\u4f7f\u7528Cygwin\u73af\u5883\u7f16\u8bd1KVM\u7684\u539f\u751f\u7248\u672c\u3002<\/span><\/font><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \">cd&nbsp;kvm\/kernel&nbsp;&nbsp;## \u8f6c\u5230kvm\/kernel\u76ee\u5f55\u3002<\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \">make&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;## \u5982\u679c\u4f60\u5f97\u5230\uff1aunrecognized emulation mode:elf_i386\u3002\u4e0d\u8981\u614c\u5f20\uff0c\u8fd9\u4e0d\u662f\u4e00\u4e2a\u9519\u8bef\u3002<\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \">make&nbsp;cpobjs &nbsp;&nbsp;<\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><strong><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \">STEP THREE:&nbsp;<\/span><\/strong><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \">\u6253\u5f00<\/span><span style=\"color: rgb(51, 51, 51); font-family: 'Bitstream Vera Sans Mono'; font-size: 12.5pt; \">\u5230vcproj\/kernel\/winkvm.vcproj\uff0c\u7f16\u8bd1\u6784\u5efaWinKVM\u9a71\u52a8\u3002<\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">\u5230vcproj\/bin\u76ee\u5f55\u4e0b\u67e5\u770b\u6709\u6ca1\u6709\u6210\u529f\u3002\u5982\u679c\u6709\u751f\u6210winkvmstab.sys\uff0c\u5219\u6210\u529f\u4e86\u3002<\/span><\/font><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><strong><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">STEP FOUR:<\/span><\/font><\/strong><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \">\u6700\u540e\uff0c\u8981\u5728cygwin\u73af\u5883\u4e0b\u6784\u5efaQEMU\u3002\u5982\u4e0b\uff1a<\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \">cd&nbsp;kvm\/winkvm-qemu<\/span><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \">.\/configure&nbsp;&#8211;prefix=path\/to\/installation&nbsp;&#8211;enable-kvm&nbsp;&#8211;target-list=i386-softmmu&nbsp;&#8211;disable-kqemu<\/span><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \">make<\/span><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \">make&nbsp;install<\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \">&nbsp;<\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \">&nbsp;<\/p>\n<h2 class=\"p0\" style=\"margin-bottom: 0pt; margin-top: 0pt; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \">\u600e\u4e48\u4f7f\u7528WinKVM<\/span><\/h2>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \">&nbsp;<\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">\u5fc5\u987b\u5148\u7533\u660e\uff0c\u5728\u5b89\u88c5\u597dWinKVM\u4ee5\u540e\uff0c\u4f60\u7684\u64cd\u4f5c\u7cfb\u7edf\u53ef\u80fd\u5f88\u4e0d\u7a33\u5b9a\u5594\uff01\u56e0\u4e3aWinKVM\u8fd8\u53ea\u662f\u4e00\u4e2aalpha\u7248\u672c\u3002<\/span><\/font><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">\u53e6\u5916\uff01\u4e00\u5b9a\u4e0d\u80fd\u5728\u591a\u5904\u7406\u5668\u7684\u7cfb\u7edf\u4e0a\u8fd0\u884c~\u5982\u679c\u4f60\u7684\u673a\u5668\u662f\u591a\u5904\u7406\u5668\u6216\u8005\u591a\u5185\u6838\u7684\uff0c\u5fc5\u987b\u5728\u542f\u52a8\u9636\u6bb5\u542f\u7528\u5355\u5185\u6838\u6a21\u5f0f\u3002\u89c1\u672c\u6587\u6700\u540e\u600e\u4e48\u8fdb\u5165\u5355\u5185\u6838\u6a21\u5f0f\u3002<\/span><\/font><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">\u5148\u5230<\/span><\/font><span style=\"color: rgb(0, 0, 255); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><a href=\"http:\/\/github.com\/ddk50\/winkvm\/downloads\">http:\/\/github.com\/ddk50\/winkvm\/downloads<\/a><\/span><span style=\"color: rgb(51, 51, 51); font-family: 'Bitstream Vera Sans Mono'; font-size: 12.5pt; \">\u4e0b\u8f7dWinKVM\u7684\u7f16\u8bd1\u597d\u7684\u4e8c\u8fdb\u5236\u9a71\u52a8\u5e76\u65b9\u4fbf\u65b9\u88c5\u7684\u76f8\u5f53\u6587\u4ef6\u3002<\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-family: 'Bitstream Vera Sans Mono'; font-size: 12.5pt; \">\u7136\u540e, \u6267\u884c\u4e0b\u8f7d\u597d\u7684 DIP_gui.exe,\u8fd9\u4e2a\u7a0b\u5e8f\u4f1a\u5e2e\u52a9\u4f60\u5b89\u88c5\u597dWinKVM\u3002\u70b9\u51fb&ldquo;&#8230;&rdquo;\u6309\u94ae\uff0c\u518d\u9009\u4e2dwinkvmstab.sys\u9a71\u52a8\u6587\u4ef6\uff0c\u6700\u540e\u70b9\u51fb&ldquo;Install&rdquo;\u5c31\u5f00\u59cb\u5b89\u88c5\u4e86\u3002\u5b89\u88c5\u8fc7\u7a0b\u53ef\u80fd\u4f1a\u82b1\u8d39\u4e00\u70b9\u65f6\u95f4\u3002\u5982\u679c\u4f60\u8981\u5378\u8f7d\u9a71\u52a8\u7684\u8bdd\uff0c\u540c\u6837\u70b9\u51fb&#39;&#8230;&#39;\u6309\u94ae\u540e\uff0c\u518d\u9009&#39;Uninstall&#39;\u3002<\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">\u6700\u540e\u4e00\u6b65\uff0c\u53cc\u51fb&quot;WinKVM.bat&quot;\u6279\u5904\u7406\u6587\u4ef6\u6267\u884cWinKVM\u3002<\/span><\/font><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \">&nbsp;<\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><span style=\"color: rgb(51, 51, 51); font-size: 12.5pt; font-family: 'Bitstream Vera Sans Mono'; \"><o:p><\/o:p><\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \">&nbsp;<\/p>\n<h2 class=\"p0\" style=\"margin-bottom: 0pt; margin-top: 0pt; \">\u6709\u7ae5\u978b\u95ee\uff0c\u54e5\u7684cpu\u662f\u591a\u6838\u554a\uff0c\u600e\u4e48\u8bbe\u7f6e\u4ece\u5355\u6838\u6a21\u5f0f\u542f\u52a8\u554a\uff1f\uff1f\uff1f\uff1f<\/h2>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \">&nbsp;<\/p>\n<p class=\"p0\" style=\"margin-bottom:0pt; margin-top:0pt; text-autospace:ideograph-other; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">\u90a3\u672c\u5ea7\u5c31\u544a\u8bc9\u4f60\u600e\u4e48\u8f6c\u6362\u5230\u5355\u6838\u6a21\u5f0f(single-core mode)\u542f\u52a8windows\u3002<\/span><\/font><\/p>\n<p class=\"p0\" style=\"margin-bottom: 0pt; margin-top: 0pt; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">1. \u6309win+r, \u8f93\u5165cmd\u56de\u8f66\u3002 (\u5373\u542f\u52a8windows\u7684\u63a7\u5236\u53f0\uff0c\u4f60\u53ef\u4ee5\u7528\u5176\u5b83\u65b9\u5f0f\u6253\u5f00windows\u7684\u63a7\u5236\u53f0)<\/span><\/font><\/p>\n<p class=\"p0\" style=\"margin-bottom: 0pt; margin-top: 0pt; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">2. cd c:\\<\/span><\/font><\/p>\n<p class=\"p0\" style=\"margin-bottom: 0pt; margin-top: 0pt; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">3. attrib -h -r -s boot.ini (\u8fd9\u6837\u624d\u80fd\u770b\u5230c\u9a71\u52a8\u5668\u4e0b\u7684boot.ini\u6587\u4ef6)<\/span><\/font><\/p>\n<p class=\"p0\" style=\"margin-bottom: 0pt; margin-top: 0pt; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">4. \u7528\u8d44\u6e90\u7ba1\u7406\u5668\u8f6c\u5230c\u76d8\u6839\u76ee\u5f55\uff0c\u968f\u4fbf\u7528\u4ec0\u4e48\u6587\u672c\u7f16\u8f91\u5668\u53c2\u7167\u4e0b\u9762\u4e00\u884c\u7f16\u8f91boot.ini\u6587\u4ef6\u3002<\/span><\/font><\/p>\n<p class=\"p0\" style=\"margin-bottom: 0pt; margin-top: 0pt; \"><span style=\"color: rgb(51, 51, 51); font-family: 'Bitstream Vera Sans Mono'; font-size: 17px; \">multi(0)disk(0)rdisk(0)partition(1)\\WINDOWS=&quot;Microsoft&nbsp;Windows&nbsp;XP&nbsp;Professional&nbsp;(onecpumode)&quot;&nbsp;\/noexecute=optin&nbsp;\/fastdetect&nbsp;\/onecpu<\/span><\/p>\n<p class=\"p0\" style=\"margin-bottom: 0pt; margin-top: 0pt; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">5. attrib +h +r +s boot.ini (\u5982\u679c\u4f60\u4e0d\u6015\u9ebb\u70e6\u518d\u628aboot.ini\u9ed8\u8ba4\u7684\u7cfb\u7edf\u5c5e\u6027\uff0c\u9690\u85cf\u5c5e\u6027\uff0c\u53ea\u8bfb\u5c5e\u6027\u518d\u52a0\u56de\u53bb\u5427\uff01)<\/span><\/font><\/p>\n<p class=\"p0\" style=\"margin-bottom: 0pt; margin-top: 0pt; \"><font color=\"#333333\" face=\"Bitstream Vera Sans Mono\"><span style=\"font-size: 17px;\">\u91cd\u542f\u673a\u5668\uff0c\u53ef\u4ee5\u8fdb\u5165\u5355\u6838\u6a21\u5f0f\u5566(single-core mode)\uff01<\/span><\/font><\/p>\n<p>copyright ykyi.net<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; WinKVM&nbsp;:&nbsp;Windows&nbsp;kernel-based&nbsp;Virtual&nbsp;Machine &nbsp; WinKVM Windows\u4e0b\u53f0\u4e0b\u57fa\u4e8e\u5185\u6838\u7684\u865a\u62df\u673a(Linux\u7684KVM\u7684windows\u79fb\u690d) &nbsp; \u600e\u4e48\u7f16\u8bd1\uff0c\u6784\u5efaWinKVM &nbsp; \u8fd9\u7bc7\u65b9\u7ae0\u4f1a\u544a\u8bc9\u4f60\u5982\u4f55\u7f16\u8bd1WinKVM. \u4f60\u5fc5\u987b\u5148\u51c6\u5907\u597d\u4e09\u4ef6\u4e1c\u897f\u3002 1. \u53bb\u5230http:\/\/www.cygwin.com\/&nbsp;\u4e0b\u8f7d\u5b89\u88c5Cygwin\u3002\u6ce8\u610f\u5b89\u88c5\u65f6\u9009\u597dgcc-3.x rsync, zlib\u548cawk. 2. \u5efa\u8bae\u7528Visual Studio 2008\u4e13\u4e1a\u7248\uff0c\u4f60\u4e5f\u53ef\u4ee5\u4f7f\u7528Visual Studio Express\u7248\u3002 3. Windows DDK, \u672c\u6587\u4f7f\u7528The&nbsp;Microsoft&reg;&nbsp;Windows&nbsp;Server&trade;&nbsp;2003&nbsp;Service&nbsp;Pack&nbsp;1&nbsp;(SP1)&nbsp;DDK\u3002 \u5fc5\u987b\u5148\u4e0b\u8f7d\u5e76\u5b89\u88c5\u597d\u8fd9\u4e09\u5927\u4ef6\uff01\u5443\uff0c\u5f53\u7136\uff01WinKVM\u7684\u4ee3\u7801\u5fc5\u987b\u4e0b\u8f7d\u597d\u4e86\u3002https:\/\/github.com\/ddk50\/winkvm\/ &nbsp; \u5728\u52a8\u624b\u7f16\u8bd1\u4e4b\u524d\uff0c\u5148\u8bbe\u7f6e\u597d\u597d\u7f16\u8bd1\u73af\u5883\u3002\u6dfb\u52a0\u73af\u5883\u53d8\u91cfBASEDIR2K3,\u6307\u5411\u4f60\u7684DDK\u5b89\u88c5\u7684\u76ee\u5f55\u3002Visual Studio\u4f7f\u7528\u8fd9\u4e2a\u73af\u5883\u53d8\u91cf\u6784\u5efa\u9a71\u52a8\u7a0b\u5e8fWinKVM\u3002 \u597d\u5427\uff0c\u52a8\u624b\u5e72\u6d3b\u5427\uff01WinKVM\u7684\u6784\u5efa\u8fc7\u7a0b\u6709\u4e00\u70b9\u9ebb\u70e6\u3002 \u4e09\u6837\u4e1c\u897f\u5fc5\u987b\u5206\u5f00\u6784\u5efa\u3002 STEP ONE: \u5148\u6784\u5efa kvmctldll: cd\u5230vcproj\/user\/kvmctldll\u76ee\u5f55\uff0c\u53cc\u51fbkvmctldll.vcproj\u6253\u5f00\u5de5\u7a0b,\u70b9\u51fbbuild\u3002\u7ed3\u675f\u540e\u5230vcproj\/bin\u76ee\u5f55\u4e0b\u67e5\u770b\u6709\u6ca1\u6709kvmctldll.dll\u6587\u4ef6\u3002\u5982\u679c\u6709\uff0c\u90a3\u606d\u559c\u4f60\uff0c\u7b2c\u4e00\u6b65\u6210\u529f\u4e86\u3002 STEP TWO: \u4f7f\u7528Cygwin\u73af\u5883\u7f16\u8bd1KVM\u7684\u539f\u751f\u7248\u672c\u3002 cd&nbsp;kvm\/kernel&nbsp;&nbsp;## \u8f6c\u5230kvm\/kernel\u76ee\u5f55\u3002 make&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;## \u5982\u679c\u4f60\u5f97\u5230\uff1aunrecognized emulation mode:elf_i386\u3002\u4e0d\u8981\u614c\u5f20\uff0c\u8fd9\u4e0d\u662f\u4e00\u4e2a\u9519\u8bef\u3002 make&nbsp;cpobjs &nbsp;&nbsp; STEP THREE:&nbsp; \u6253\u5f00\u5230vcproj\/kernel\/winkvm.vcproj\uff0c\u7f16\u8bd1\u6784\u5efaWinKVM\u9a71\u52a8\u3002 \u5230vcproj\/bin\u76ee\u5f55\u4e0b\u67e5\u770b\u6709\u6ca1\u6709\u6210\u529f\u3002\u5982\u679c\u6709\u751f\u6210winkvmstab.sys\uff0c\u5219\u6210\u529f\u4e86\u3002 STEP FOUR: \u6700\u540e\uff0c\u8981\u5728cygwin\u73af\u5883\u4e0b\u6784\u5efaQEMU\u3002\u5982\u4e0b\uff1a cd&nbsp;kvm\/winkvm-qemu .\/configure&nbsp;&#8211;prefix=path\/to\/installation&nbsp;&#8211;enable-kvm&nbsp;&#8211;target-list=i386-softmmu&nbsp;&#8211;disable-kqemu &hellip; <a href=\"https:\/\/ykyi.net\/?p=595\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;\u600e\u4e48\u7f16\u8bd1,\u6784\u5efa,\u5b89\u88c5,\u4f7f\u7528WinKVM&#8221;<\/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":[6,8],"tags":[48,122],"class_list":["post-595","post","type-post","status-publish","format-standard","hentry","category-tech_articles","category-virtualization","tag-kvm","tag--virtulization"],"_links":{"self":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts\/595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=595"}],"version-history":[{"count":0,"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts\/595\/revisions"}],"wp:attachment":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}