{"id":579,"date":"2012-06-11T23:19:17","date_gmt":"2012-06-11T15:19:17","guid":{"rendered":"http:\/\/www.dogeye.net\/?p=579"},"modified":"2012-06-11T23:19:17","modified_gmt":"2012-06-11T15:19:17","slug":"kvm%e4%bd%a0%e9%97%ae%e6%88%91%e7%ad%94-faq-%e5%9b%9b","status":"publish","type":"post","link":"https:\/\/ykyi.net\/?p=579","title":{"rendered":"KVM\u4f60\u95ee\u6211\u7b54 FAQ (\u56db)"},"content":{"rendered":"<p><strong>KVM<span style=\"font-family: \u5b8b\u4f53;\">\u548c<\/span><span style=\"font-family: Arial;\">Xen<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u6709\u4ec0\u4e48\u533a\u522b\uff1f<\/span><\/strong><\/p>\n<p>Xen<span style=\"font-family: \u5b8b\u4f53;\">\u662f\u4e00\u4e2a\u5916\u90e8\u865a\u62df\u673a\u7ba1\u7406\u7a0b\u5e8f<\/span><span style=\"font-family: Arial;\">(External&nbsp;hypervisor)<\/span><span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u5b83\u627f\u62c5\u4e86\u7ba1\u7406\u7269\u7406\u673a\u5668\u7684\u4efb\u52a1\u5e76\u628a\u7269\u7406\u673a\u5668\u7684\u5404\u79cd\u8d44\u6e90\u5206\u914d\u7ed9\u5ba2\u6237\u673a\u3002\u4e0e<\/span><span style=\"font-family: Arial;\">Xen<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4e0d\u540c\uff0c<\/span><span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u672c\u8eab\u662f<\/span><span style=\"font-family: Arial;\">Linux<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5185\u6838\u7684\u4e00\u90e8\u5206\uff0c\u5b83\u4f7f\u7528<\/span><span style=\"font-family: Arial;\">Linux<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u81ea\u5df1\u7684\u8fdb\u7a0b\u8c03\u5ea6\u548c\u5185\u5b58\u7ba1\u7406\u3002\u8fd9\u5c31\u5929\u7136\u51b3\u5b9a\u4e86<\/span><span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u6613\u4e8e\u4f7f\u7528\u5e76\u4e8e\u4f53\u79ef\u4f1a\u5f88\u5c0f\u3002\u4ec5\u7ba1\u4f53\u79ef\u5c0f\uff0c\u4f46<\/span><span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7684\u529f\u80fd\u786e\u4e0d\u5c11\u3002\u6bd4\u5982\uff0c<\/span><span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u53ef\u4ee5\u628a\u5ba2\u6237\u673a\u4ece\u5185\u5b58\u4e2d\u5151\u6362\u5230\u7269\u7406\u78c1\u76d8\u4e0a\uff0c\u5982\u540c<\/span><span style=\"font-family: Arial;\">swap<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u666e\u901a\u8fdb\u7a0b\u4e00\u6837\u91ca\u653e<\/span><span style=\"font-family: Arial;\">RAM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u3002<\/span><span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u76ee\u524d\u53ea\u5728\u63d0\u4f9b\u652f\u6301\u786c\u4ef6\u865a\u62df\u5316\u7684<\/span><span style=\"font-family: Arial;\">x86<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u673a\u5668\u4e0a\u8fd0\u884c\uff08\u5982<\/span><span style=\"font-family: Arial;\">vt\/svm<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u6307\u4ee4\u96c6\uff09\u3002\u4ece\u8fd9\u8fd9\u65b9\u9762\u8bb2\uff0c<\/span><span style=\"font-family: Arial;\">Xen<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u901a\u8fc7\u4fee\u6539\u5ba2\u6237\u673a\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5145\u8bb8\u865a\u62df\u673a\u8fd0\u884c\u5728\u6ca1\u6709\u786c\u4ef6\u865a\u62df\u5316\u6280\u672f\u7684<\/span><span style=\"font-family: Arial;\">x86<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5e73\u53f0\u4e0a\u8fd0\u884c\u3002\u8fd9\u79cd\u865a\u62df\u5316\u6280\u672f\u79f0\u4e4b\u4e3a\u51c6\u865a\u62df\u5316<\/span><span style=\"font-family: Arial;\">paravirtualization<\/span><span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u53c2\u89c1\u53e6\u4e00\u8d34\uff1a<\/span><a href=\"http:\/\/ykyi.net\/2012\/06\/linux\u7684\u865a\u62df\u5316\u6280\u672f-kvm-\u548c-qemu\/\">Linux<span style=\"font-family: \u5b8b\u4f53;\">\u7684\u865a\u62df\u5316\u6280\u672f<\/span><\/a>\u3002<span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5728<\/span><span style=\"font-family: Arial;\">CPU<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7ea7\u522b\u4e0d\u652f\u6301<\/span><span style=\"font-family: Arial;\">paravirtualization<\/span><span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u4f46\u4e3a\u4e86\u6307\u9ad8<\/span><span style=\"font-family: Arial;\">I\/O<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u6027\u80fd\uff0c\u4f1a\u5bf9\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\u652f\u6301\u51c6\u865a\u62df\u5316\u3002<\/span><\/p>\n<p><strong>KVM<span style=\"font-family: \u5b8b\u4f53;\">\u548c<\/span><span style=\"font-family: Arial;\">Vmware<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u6709\u4ec0\u4e48\u533a\u522b\u5462\uff1f<\/span><\/strong><\/p>\n<p>VMware<span style=\"font-family: \u5b8b\u4f53;\">\u662f\u4e00\u4e2a\u5546\u7528\u4e13\u7528\u865a\u62df\u5316\u4ea7\u54c1\uff0c<\/span><span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u662f\u5728<\/span><span style=\"font-family: Arial;\">GPL<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u8bb8\u53ef\u8bc1\u4e0b\u53d1\u5e03\u7684\u81ea\u7531\u8f6f\u4ef6\u3002<\/span><\/p>\n<p><strong>KVM<span style=\"font-family: \u5b8b\u4f53;\">\u548c<\/span><span style=\"font-family: Arial;\">QEMU<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u6709\u4ec0\u4e48\u533a\u522b\uff1f<\/span><\/strong><\/p>\n<p>QEMU<span style=\"font-family: \u5b8b\u4f53;\">\u662f\u6a21\u62df\u5668\u3002\u53c2\u89c1<\/span><a href=\"http:\/\/ykyi.net\/2012\/06\/linux\u7684\u865a\u62df\u5316\u6280\u672f-kvm-\u548c-qemu\/\">Linux<span style=\"font-family: \u5b8b\u4f53;\">\u7684\u865a\u62df\u5316\u6280\u672f&nbsp;<\/span><span style=\"font-family: Arial;\">KVM&nbsp;&amp;&nbsp;QEMU<\/span><\/a>&nbsp;\u3002<\/p>\n<p><strong>KVM<span style=\"font-family: \u5b8b\u4f53;\">\u6709<\/span><span style=\"font-family: Arial;\">windows<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4e0b\u7684\u79fb\u79fb\u690d\u7248\u672c\u5417\uff1f<\/span><\/strong><\/p>\n<p>\u6ca1\u6709\u5b98\u65b9\u7684\u79fb\u690d\u3002<span style=\"font-family: Arial;\">Kazushi&nbsp;Takahashi<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u53d1\u8d77\u4e86\u4e00\u4e2a\u9879\u76ee\uff0c\u628a<\/span><span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u79fb\u690d\u5230<\/span><span style=\"font-family: Arial;\">windows<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u64cd\u4f5c\u7cfb\u7edf\uff0c\u8fd9\u4e2a\u9879\u76ee\u540d\u4e3a<\/span><span style=\"font-family: Arial;\">WinKVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u8fd9\u662f\u4ed6\u7684\u5b98\u65b9\u7f51\u7ad9<\/span><a href=\"http:\/\/github.com\/ddk50\/winkvm\">WinKVM<\/a>\u3002<\/p>\n<p>\u53ef\u53c2\u89c1\u53e6\u4e00\u7bc7\u6587\u7ae0&nbsp;<a href=\"http:\/\/ykyi.net\/2012\/06\/595\/\">http:\/\/ykyi.net\/2012\/06\/595\/<\/a>\u3002<\/p>\n<p><strong>\u9700\u8981\u600e\u6837\u7684<span style=\"font-family: Arial;\">Linux<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5185\u6838\u7248\u672c\u624d\u80fd\u8fd0\u884c<\/span><span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5462\uff1f<\/span><\/strong><\/p>\n<p>\u8fd9\u53d6\u51b3\u4e8e\u4f60\u8981\u8fd0\u884c\u54ea\u4e2a\u7248\u672c\u7684<span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u3002\u6700\u8fd1\u53d1\u5e03\u7684<\/span><span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5e94\u8be5\u53ef\u4ee5\u5728\u4efb\u4f55<\/span><span style=\"font-family: Arial;\">2.6.17<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4ee5\u540e\u7684<\/span><span style=\"font-family: Arial;\">kernel<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7248\u672c\u4e0b\u8fd0\u884c\u3002\u4f46\u5f88\u65e7\u7248\u672c\u7684<\/span><span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u53ea\u80fd\u5728\u4e00\u4e9b\u65e7\u7684\u5185\u6838\u4e0b\u8fd0\u884c\u3002<\/span><\/p>\n<p><strong>\u9700\u8981\u591a\u5c11\u5185\u5b58\u8fd0\u884c<span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5462\uff1f<\/span><\/strong><\/p>\n<p>\u6700\u5c0f\u5e94\u8be5<span style=\"font-family: Arial;\">1GB<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u3002\u55ef\uff0c\u4f60\u5e94\u8be5\u6709\u8db3\u591f\u591a\u7684\u5185\u5b58\u8fd0\u884c\u4f60\u5c06\u8981\u8fd0\u884c\u7684\u5ba2\u6237\u673a\uff0c\u53e6\u5916\u5f53\u7136\u8fd8\u9700\u8981\u5185\u5b58\u8fd0\u884c<\/span><span style=\"font-family: Arial;\">host<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u673a\u3002<\/span><\/p>\n<p><strong>\u662f\u5426\u652f\u6301\u5bf9\u5ba2\u6237\u673a\u52a8\u6001\u5206\u914d\u5185\u5b58\uff1f<\/strong><\/p>\n<p>\u8fd9\u4e2a\u95ee\u9898\u6709\u70b9\u5927\uff01<br \/>\n\t1.&nbsp;KVM<span style=\"font-family: \u5b8b\u4f53;\">\u5728\u5ba2\u6237\u673a\u5c1d\u8bd5\u7533\u8bf7\u5185\u5b58\u65f6\u5206\u914d\u5185\u5b58\u7ed9\u5b83\u4eec\u3002\u4e00\u4f46\u5185\u5b58\u5206\u914d\u7ed3\u675f\u4e4b\u540e\uff0c<\/span><span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5219\u8ba4\u4e3a\u5185\u5b58\u5206\u7ed9\u67d0\u5ba2\u6237\u673a\u4e86\u3002\u6709\u4e00\u4e9b\u64cd\u4f5c\u7cfb\u7edf\uff0c\u6bd4\u5982<\/span><span style=\"font-family: Arial;\">Microsoft&nbsp;Windows<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4f1a\u5728\u542f\u52a8\u9636\u6bb5\u628a\u6240\u6709\u7684\u5185\u5b58\u90fd\u6e05\u96f6\u3002\u8fd9\u4e9b\u64cd\u4f5c\u7cfb\u7edf\u4f1a\u7acb\u5373\u4f7f\u6709\u6216\u7ba1\u7406\u6240\u6709\u7684\u5185\u5b58\u3002<\/span><br \/>\n\t2.&nbsp;<span style=\"font-family: \u5b8b\u4f53;\">\u800c\u53e6\u4e00\u4e9b\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5b9e\u9645\u4e0a\u76ee\u524d\u53ea\u6709<\/span><span style=\"font-family: Arial;\">Linux<\/span><span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u5b83\u4eec\u6709\u4e00\u4e2a\u79f0\u4e3a<\/span><span style=\"font-family: Arial;\">balloon&nbsp;driver<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7684\u4e1c\u4e1c\uff0c\u5982\u679c<\/span><span style=\"font-family: Arial;\">host<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5206\u914d\u4e86\u4e00\u4e9b\u5185\u5b58\u4f46\u5ba2\u6237\u673a\u5c06\u6765\u4e0d\u518d\u4f7f\u7528\u4e86\uff0c\u5b83\u5c31\u4f1a\u8ba9<\/span><span style=\"font-family: Arial;\">host<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u628a\u5b83\u4eec\u91ca\u653e\u6389\u3002<\/span><span style=\"font-family: Arial;\">Ballooning<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u662f\u901a\u8fc7<\/span><a href=\"http:\/\/www.nongnu.org\/qemu\/qemu-doc.html#SEC12\">balloon&nbsp;monitor&nbsp;command<\/a>\u5728<span style=\"font-family: Arial;\">host<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u673a\u4e2d\u88ab\u63a7\u5236\u7684\u3002<\/span><br \/>\n\t3.&nbsp;<span style=\"font-family: \u5b8b\u4f53;\">\u6709\u4e00\u4e9b<\/span><span style=\"font-family: Arial;\">host<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u673a\uff0c<\/span><span style=\"font-family: Arial;\">(<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u76ee\u524d\u53ea\u6709<\/span><span style=\"font-family: Arial;\">RHEL5.4\/CentOS&nbsp;5.4)<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u6709\u4e00\u79cd\u7279\u6027\u79f0\u4e3a<\/span><span style=\"font-family: Arial;\">KSM(Kernel&nbsp;Sharedpage&nbsp;Merging)<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u3002\u8fd9\u79cd\u7279\u6027\u53ef\u4ee5\u628a\u5b8c\u5168\u76f8\u9762\u7684\u5185\u5b58\u9875\u9762\u5408\u5e76\uff0c\u8fd9\u9700\u8981<\/span><span style=\"font-family: Arial;\">host<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u673a\u7684\u652f\u6301\uff0c\u53e6\u5916<\/span><span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7684\u7248\u672c\u8981\u8db3\u591f\u65b0\u3002\u800c\u6709\u4e00\u4e9b\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5982<\/span><span style=\"font-family: Arial;\">windows<\/span><span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u4f1a\u628a\u91ca\u653e\u7684\u5185\u5b58\u6e05\u96f6\uff0c\u8fd9\u4e9b\u9875\u9762\u81ea\u7136\u5c31\u4f1a\u5408\u5e76\u4e86\uff08<\/span><span style=\"font-family: Arial;\">such&nbsp;pages&nbsp;are&nbsp;trivially&nbsp;collapsed<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4e0d\u77e5\u9053\u6709\u6ca1\u6709\u8bd1\u5bf9\uff09\u3002<\/span><span style=\"font-family: Arial;\">Ksmctl<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u547d\u4ee4\u7528\u6765\u5f00\u542f<\/span><span style=\"font-family: Arial;\">KSM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u3002\u53e6\u5916\u4e00\u79cd\u65b9\u6cd5\u662f\uff0c<\/span><span style=\"font-family: Arial;\">Fedora&nbsp;12<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4e2d\u7684<\/span><span style=\"font-family: Arial;\">ksmtuned<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u670d\u52a1\u53ef\u4ee5\u6839\u636e\u53ef\u7528\u7684\u7a7a\u95f2\u5185\u5b58\u52a8\u6001\u7684\u8c03\u6574<\/span><span style=\"font-family: Arial;\">KSM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7684\u5408\u5e76\u7b56\u7565\u662f\u5426\u79ef\u6781\u8fd8\u662f\u4fdd\u5b88\u3002<\/span><\/p>\n<p><strong><span style=\"font-family: \u5b8b\u4f53;\">\u6211\u53ef\u4ee5\u5728<\/span><span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u865a\u62df\u673a\u4e2d\u5b89\u88c5\u54ea\u4e9b\u64cd\u4f5c\u7cfb\u7edf\u5462\uff1f<\/span><\/strong><\/p>\n<p>\u652f\u6301\u5f88\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\uff0c\u4f60\u53ef\u4ee5\u53c2\u770b<a href=\"http:\/\/www.linux-kvm.org\/page\/Guest_Support_Status\">Guest&nbsp;Support&nbsp;Status<\/a>&nbsp;\u9875\u9762\u3002\u8bf7\u6ce8\u610f\u5df2\u7ecf\u6709\u4e00\u4e9b<span style=\"font-family: Arial;\">Linux<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u53d1\u884c\u7248\u5728<\/span><span style=\"font-family: Arial;\">Intel<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5904\u7406\u5668\u4e0a\u4f1a\u5728\u542f\u52a8\u9636\u6bb5\u6b7b\u673a\uff0c\u89e3\u51b3\u529e\u6cd5\u662f\u5728<\/span><span style=\"font-family: Arial;\">grub<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u91cc\u7981\u7528\u542f\u52a8\u753b\u9762\u3002<\/span><\/p>\n<p><strong>KVM<span style=\"font-family: \u5b8b\u4f53;\">\u652f\u6301\u865a\u62df\u673a\u5b9e\u65f6\u8fc1\u79fb<\/span><span style=\"font-family: Arial;\">(Live&nbsp;Migration)<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5417\uff1f<\/span><\/strong><\/p>\n<p>\u652f\u6301\uff01<span style=\"font-family: Arial;\">.&nbsp;<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u53c2\u770b<\/span><a href=\"http:\/\/www.linux-kvm.org\/page\/Migration\">Migration<\/a>\u3002KVM<span style=\"font-family: \u5b8b\u4f53;\">\u652f\u6301\u4ece<\/span><span style=\"font-family: Arial;\">AMD<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7684\u4e3b\u673a\u5f80<\/span><span style=\"font-family: Arial;\">INTEL<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4e3b\u673a\u5b9e\u65f6\u8fc1\u79fb<\/span><span style=\"font-family: Arial;\">(Live&nbsp;Migration)<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5417\uff1f<\/span><br \/>\n\t\u652f\u6301\uff01\u5bf9\u4e8e<span style=\"font-family: Arial;\">32<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4f4d\u4e0d\u652f\u6301<\/span><span style=\"font-family: Arial;\">NX<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u6216\u8005<\/span><span style=\"font-family: Arial;\">XD<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7684\u4e3b\u673a\uff0c\u53ef\u80fd\u4f1a\u6709\u4e00\u4e9b\u95ee\u9898\u3002\u4f46\u662f\u5bf9\u4e8e<\/span><span style=\"font-family: Arial;\">64<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4f4d\u7684\u5ba2\u6237\u673a\uff0c\u5e94\u8be5\u6ca1\u6709\u4e00\u70b9\u95ee\u9898\u7684\u3002\u5728<\/span><span style=\"font-family: Arial;\">32<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4f4d\u4e3b\u673a\u548c<\/span><span style=\"font-family: Arial;\">64<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4f4d\u4e3b\u673a\u4e4b\u95f4\u5b9e\u65f6\u8fc1\u79fb<\/span><span style=\"font-family: Arial;\">(Live&nbsp;Migration)32<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4f4d\u865a\u62df\u673a\u4e5f\u5e94\u8be5\u6ca1\u6709\u95ee\u9898\u3002\u5982\u679c\u5176\u4e2d\u4e00\u53f0\u4e3b\u673a\u4e0d\u652f\u6301<\/span><span style=\"font-family: Arial;\">NX<\/span><span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u4f60\u8981\u8003\u8651\u5728\u652f\u6301<\/span><span style=\"font-family: Arial;\">NX<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7684\u90a3\u53f0\u673a\u542f\u52a8\u865a\u62df\u673a\u4e4b\u524d\u7981\u7528<\/span><span style=\"font-family: Arial;\">NX<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u3002\u4f60\u53ef\u4ee5\u5728\u542f\u52a8\u5ba2\u6237\u673a\u65f6\u52a0\u5165<\/span><span style=\"font-family: 'Times New Roman';\">&rdquo;<\/span><span style=\"font-family: Arial;\">-cpu&nbsp;qemu64,&nbsp;-nx<\/span><span style=\"font-family: 'Times New Roman';\">&rdquo;<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u53c2\u6570\u3002<\/span><\/p>\n<p><strong>\u53ef\u4ee5\u5728<span style=\"font-family: Arial;\">64<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4f4d\u7684\u4e3b\u673a\u4e0a\u8fd0\u884c<\/span><span style=\"font-family: Arial;\">32<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4f4d\u7684\u5ba2\u6237\u673a\u5417\uff1f\u53ef\u4ee5\u7528<\/span><span style=\"font-family: Arial;\">PAE<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5417\uff1f<\/span><\/strong><\/p>\n<p>KVM<span style=\"font-family: \u5b8b\u4f53;\">\u652f\u6301\u5728<\/span><span style=\"font-family: Arial;\">64<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4f4d\u4e3b\u673a\u4e0a\u8fd0\u884c<\/span><span style=\"font-family: Arial;\">32<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4f4d\u7684\u5ba2\u6237\u673a\uff0c\u4e0d\u7ba1\u4e3b\u673a\u662f\u5426\u4f7f\u7528<\/span><span style=\"font-family: Arial;\">PAE<\/span><span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u5ba2\u6237\u673a\u90fd\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528<\/span><span style=\"font-family: Arial;\">PAE<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u6216\u8005\u4e0d\u4f7f\u7528<\/span><span style=\"font-family: Arial;\">PAE<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u3002<\/span><span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4e0d\u652f\u6301\u5728<\/span><span style=\"font-family: Arial;\">32<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4f4d\u7684\u4e3b\u673a\u4e0a\u8fd0\u884c<\/span><span style=\"font-family: Arial;\">64<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4f4d\u7684\u865a\u62df\u5ba2\u6237\u673a\u3002<\/span><\/p>\n<p><strong>\u53ef\u4ee5\u5728\u57fa\u4e8e<span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7684\u865a\u62df\u673a\u4e0a\u4f7f\u7528<\/span><span style=\"font-family: Arial;\">USB<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u8bbe\u5907\u5417\uff1f<\/span><\/strong><\/p>\n<p>\u5f53\u7136\u53ef\u4ee5\uff0c\u8bf7\u53c2\u7167<span style=\"font-family: Arial;\">QEMU<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7684\u505a\u6cd5\uff0c\u662f\u4e00\u6837\u7684\u3002<\/span><\/p>\n<p><strong>\u6211\u53ef\u4ee5\u8ba9<span style=\"font-family: Arial;\">KVM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4f7f\u7528\u66f4\u9ad8\u7684\u5c4f\u5e55\u5206\u8fa8\u7387\u5417\uff1f<\/span><\/strong><\/p>\n<p>\u5728\u542f\u52a8<span style=\"font-family: Arial;\">VM<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4e4b\u524d\u4f7f\u548c&nbsp;<\/span><span style=\"font-family: Arial;\">-vga&nbsp;std&nbsp;<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u53c2\u6570\u53ef\u4ee5\u5145\u8bb8\u4f60\u8bbe\u7f6e\u66f4\u591a\u7684\u5206\u8fa8\u7387\u548c\u5c4f\u5e55\u5c3a\u5bf8\u3002<\/span><br \/>\n\t\u5982\u679c\u4e0d\u80fd\u8c03\u5230\u4f60\u60f3\u8981\u7684\u5206\u8fa8\u7387\uff0c\u4f60\u53ef\u4ee5\u5c1d\u8bd5\u5b89\u88c5\u4e00\u4e2a\u8865\u4e01\u5305\uff0c\u8bf7\u53c2\u8003<a href=\"http:\/\/article.gmane.org\/gmane.comp.emulators.kvm.devel\/13557\">http:\/\/article.gmane.org\/gmane.comp.emulators.kvm.devel\/13557<\/a>&nbsp;\u3002<br \/>\n\t\u5f53\u4f60\u4f7f\u7528<span style=\"font-family: Arial;\">windows<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u4f5c\u4e3a\u5ba2\u6237\u673a\u64cd\u4f5c\u7cfb\u7edf\u7684\u65f6\u5019\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528<\/span><span style=\"font-family: Arial;\">VBEMP&nbsp;x86<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u9879\u76ee\u4e2d\u5f00\u53d1\u7684\u9a71\u52a8\uff0c\u8fd9\u4e2a\u9879\u76ee\u662f\u57fa\u4e8e<\/span><span style=\"font-family: Arial;\">ReactOS<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u5f00\u6e90\u9879\u76ee\u7684\uff0c\u8bf7\u6ce8\u610f\u4e0d\u8981\u8fdd\u53cd<\/span><span style=\"font-family: Arial;\">GPL<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u8bb8\u53ef\u8bc1\u3002<\/span><\/p>\n<p><strong>KVM<span style=\"font-family: \u5b8b\u4f53;\">\u652f\u6301\u5bf9\u79f0\u591a\u5904\u7406\u5668<\/span><span style=\"font-family: Arial;\">(SMP)<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7684<\/span><span style=\"font-family: Arial;\">host<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u673a\u5417\uff1f<\/span><\/strong><\/p>\n<p>\u652f\u6301\uff01<\/p>\n<p><strong>KVM<span style=\"font-family: \u5b8b\u4f53;\">\u652f\u6301\u5bf9\u79f0\u591a\u5904\u7406\u5668<\/span><span style=\"font-family: Arial;\">(SMP)<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u7684\u5ba2\u6237\u673a\u5417\uff1f<\/span><\/strong><\/p>\n<p>Yes.&nbsp;Up&nbsp;to&nbsp;16&nbsp;CPUs&nbsp;can&nbsp;be&nbsp;specified&nbsp;using&nbsp;the&nbsp;-smp&nbsp;option.<br \/>\n\t\u662f\u7684\uff01\u76ee\u524d\u4e00\u5171\u6700\u591a<span style=\"font-family: Arial;\">16<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u9897<\/span><span style=\"font-family: Arial;\">cpu<\/span><span style=\"font-family: \u5b8b\u4f53;\">\uff0c\u8981\u4f7f\u7528<\/span><span style=\"font-family: Arial;\">-smp<\/span><span style=\"font-family: \u5b8b\u4f53;\">\u9009\u9879\u3002<\/span><\/p>\n<p><strong>KVM<span style=\"font-family: \u5b8b\u4f53;\">\u5df2\u7ecf\u88ab\u6ce8\u518c\u4e3a\u5546\u6807\u4e86\u5417\uff1f<\/span><\/strong><\/p>\n<p>\u6ca1\u6709\uff01<\/p>\n<p>\u8f6c\u5e16\u8bf7\u6ce8\u660e\u51fa\u5904\uff1a&nbsp;<a href=\"http:\/\/ykyi.net\/2012\/06\/kvm%E4%BD%A0%E9%97%AE%E6%88%91%E7%AD%94-faq-%E5%9B%9B\/\" target=\"_blank\" rel=\"noopener\">http:\/\/ykyi.net\/2012\/06\/kvm%E4%BD%A0%E9%97%AE%E6%88%91%E7%AD%94-faq-%E5%9B%9B\/<\/a><\/p>\n<p>&#8212;&#8211; KVM FAQ \u5168\u5267\u7ec8 &#8212;&#8211;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>KVM\u548cXen\u6709\u4ec0\u4e48\u533a\u522b\uff1f Xen\u662f\u4e00\u4e2a\u5916\u90e8\u865a\u62df\u673a\u7ba1\u7406\u7a0b\u5e8f(External&nbsp;hypervisor)\uff0c\u5b83\u627f\u62c5\u4e86\u7ba1\u7406\u7269\u7406\u673a\u5668\u7684\u4efb\u52a1\u5e76\u628a\u7269\u7406\u673a\u5668\u7684\u5404\u79cd\u8d44\u6e90\u5206\u914d\u7ed9\u5ba2\u6237\u673a\u3002\u4e0eXen\u4e0d\u540c\uff0cKVM\u672c\u8eab\u662fLinux\u5185\u6838\u7684\u4e00\u90e8\u5206\uff0c\u5b83\u4f7f\u7528Linux\u81ea\u5df1\u7684\u8fdb\u7a0b\u8c03\u5ea6\u548c\u5185\u5b58\u7ba1\u7406\u3002\u8fd9\u5c31\u5929\u7136\u51b3\u5b9a\u4e86KVM\u6613\u4e8e\u4f7f\u7528\u5e76\u4e8e\u4f53\u79ef\u4f1a\u5f88\u5c0f\u3002\u4ec5\u7ba1\u4f53\u79ef\u5c0f\uff0c\u4f46KVM\u7684\u529f\u80fd\u786e\u4e0d\u5c11\u3002\u6bd4\u5982\uff0cKVM\u53ef\u4ee5\u628a\u5ba2\u6237\u673a\u4ece\u5185\u5b58\u4e2d\u5151\u6362\u5230\u7269\u7406\u78c1\u76d8\u4e0a\uff0c\u5982\u540cswap\u666e\u901a\u8fdb\u7a0b\u4e00\u6837\u91ca\u653eRAM\u3002KVM\u76ee\u524d\u53ea\u5728\u63d0\u4f9b\u652f\u6301\u786c\u4ef6\u865a\u62df\u5316\u7684x86\u673a\u5668\u4e0a\u8fd0\u884c\uff08\u5982vt\/svm\u6307\u4ee4\u96c6\uff09\u3002\u4ece\u8fd9\u8fd9\u65b9\u9762\u8bb2\uff0cXen\u901a\u8fc7\u4fee\u6539\u5ba2\u6237\u673a\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5145\u8bb8\u865a\u62df\u673a\u8fd0\u884c\u5728\u6ca1\u6709\u786c\u4ef6\u865a\u62df\u5316\u6280\u672f\u7684x86\u5e73\u53f0\u4e0a\u8fd0\u884c\u3002\u8fd9\u79cd\u865a\u62df\u5316\u6280\u672f\u79f0\u4e4b\u4e3a\u51c6\u865a\u62df\u5316paravirtualization\uff0c\u53c2\u89c1\u53e6\u4e00\u8d34\uff1aLinux\u7684\u865a\u62df\u5316\u6280\u672f\u3002KVM\u5728CPU\u7ea7\u522b\u4e0d\u652f\u6301paravirtualization\uff0c\u4f46\u4e3a\u4e86\u6307\u9ad8I\/O\u6027\u80fd\uff0c\u4f1a\u5bf9\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\u652f\u6301\u51c6\u865a\u62df\u5316\u3002 KVM\u548cVmware\u6709\u4ec0\u4e48\u533a\u522b\u5462\uff1f VMware\u662f\u4e00\u4e2a\u5546\u7528\u4e13\u7528\u865a\u62df\u5316\u4ea7\u54c1\uff0cKVM\u662f\u5728GPL\u8bb8\u53ef\u8bc1\u4e0b\u53d1\u5e03\u7684\u81ea\u7531\u8f6f\u4ef6\u3002 KVM\u548cQEMU\u6709\u4ec0\u4e48\u533a\u522b\uff1f QEMU\u662f\u6a21\u62df\u5668\u3002\u53c2\u89c1Linux\u7684\u865a\u62df\u5316\u6280\u672f&nbsp;KVM&nbsp;&amp;&nbsp;QEMU&nbsp;\u3002 KVM\u6709windows\u4e0b\u7684\u79fb\u79fb\u690d\u7248\u672c\u5417\uff1f \u6ca1\u6709\u5b98\u65b9\u7684\u79fb\u690d\u3002Kazushi&nbsp;Takahashi\u53d1\u8d77\u4e86\u4e00\u4e2a\u9879\u76ee\uff0c\u628aKVM\u79fb\u690d\u5230windows\u64cd\u4f5c\u7cfb\u7edf\uff0c\u8fd9\u4e2a\u9879\u76ee\u540d\u4e3aWinKVM\uff0c\u8fd9\u662f\u4ed6\u7684\u5b98\u65b9\u7f51\u7ad9WinKVM\u3002 \u53ef\u53c2\u89c1\u53e6\u4e00\u7bc7\u6587\u7ae0&nbsp;http:\/\/ykyi.net\/2012\/06\/595\/\u3002 \u9700\u8981\u600e\u6837\u7684Linux\u5185\u6838\u7248\u672c\u624d\u80fd\u8fd0\u884cKVM\u5462\uff1f \u8fd9\u53d6\u51b3\u4e8e\u4f60\u8981\u8fd0\u884c\u54ea\u4e2a\u7248\u672c\u7684KVM\u3002\u6700\u8fd1\u53d1\u5e03\u7684KVM\u5e94\u8be5\u53ef\u4ee5\u5728\u4efb\u4f552.6.17\u4ee5\u540e\u7684kernel\u7248\u672c\u4e0b\u8fd0\u884c\u3002\u4f46\u5f88\u65e7\u7248\u672c\u7684KVM\u53ea\u80fd\u5728\u4e00\u4e9b\u65e7\u7684\u5185\u6838\u4e0b\u8fd0\u884c\u3002 \u9700\u8981\u591a\u5c11\u5185\u5b58\u8fd0\u884cKVM\u5462\uff1f \u6700\u5c0f\u5e94\u8be51GB\u3002\u55ef\uff0c\u4f60\u5e94\u8be5\u6709\u8db3\u591f\u591a\u7684\u5185\u5b58\u8fd0\u884c\u4f60\u5c06\u8981\u8fd0\u884c\u7684\u5ba2\u6237\u673a\uff0c\u53e6\u5916\u5f53\u7136\u8fd8\u9700\u8981\u5185\u5b58\u8fd0\u884chost\u673a\u3002 \u662f\u5426\u652f\u6301\u5bf9\u5ba2\u6237\u673a\u52a8\u6001\u5206\u914d\u5185\u5b58\uff1f \u8fd9\u4e2a\u95ee\u9898\u6709\u70b9\u5927\uff01 1.&nbsp;KVM\u5728\u5ba2\u6237\u673a\u5c1d\u8bd5\u7533\u8bf7\u5185\u5b58\u65f6\u5206\u914d\u5185\u5b58\u7ed9\u5b83\u4eec\u3002\u4e00\u4f46\u5185\u5b58\u5206\u914d\u7ed3\u675f\u4e4b\u540e\uff0cKVM\u5219\u8ba4\u4e3a\u5185\u5b58\u5206\u7ed9\u67d0\u5ba2\u6237\u673a\u4e86\u3002\u6709\u4e00\u4e9b\u64cd\u4f5c\u7cfb\u7edf\uff0c\u6bd4\u5982Microsoft&nbsp;Windows\u4f1a\u5728\u542f\u52a8\u9636\u6bb5\u628a\u6240\u6709\u7684\u5185\u5b58\u90fd\u6e05\u96f6\u3002\u8fd9\u4e9b\u64cd\u4f5c\u7cfb\u7edf\u4f1a\u7acb\u5373\u4f7f\u6709\u6216\u7ba1\u7406\u6240\u6709\u7684\u5185\u5b58\u3002 2.&nbsp;\u800c\u53e6\u4e00\u4e9b\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5b9e\u9645\u4e0a\u76ee\u524d\u53ea\u6709Linux\uff0c\u5b83\u4eec\u6709\u4e00\u4e2a\u79f0\u4e3aballoon&nbsp;driver\u7684\u4e1c\u4e1c\uff0c\u5982\u679chost\u5206\u914d\u4e86\u4e00\u4e9b\u5185\u5b58\u4f46\u5ba2\u6237\u673a\u5c06\u6765\u4e0d\u518d\u4f7f\u7528\u4e86\uff0c\u5b83\u5c31\u4f1a\u8ba9host\u628a\u5b83\u4eec\u91ca\u653e\u6389\u3002Ballooning\u662f\u901a\u8fc7balloon&nbsp;monitor&nbsp;command\u5728host\u673a\u4e2d\u88ab\u63a7\u5236\u7684\u3002 3.&nbsp;\u6709\u4e00\u4e9bhost\u673a\uff0c(\u76ee\u524d\u53ea\u6709RHEL5.4\/CentOS&nbsp;5.4)\u6709\u4e00\u79cd\u7279\u6027\u79f0\u4e3aKSM(Kernel&nbsp;Sharedpage&nbsp;Merging)\u3002\u8fd9\u79cd\u7279\u6027\u53ef\u4ee5\u628a\u5b8c\u5168\u76f8\u9762\u7684\u5185\u5b58\u9875\u9762\u5408\u5e76\uff0c\u8fd9\u9700\u8981host\u673a\u7684\u652f\u6301\uff0c\u53e6\u5916KVM\u7684\u7248\u672c\u8981\u8db3\u591f\u65b0\u3002\u800c\u6709\u4e00\u4e9b\u64cd\u4f5c\u7cfb\u7edf\uff0c\u5982windows\uff0c\u4f1a\u628a\u91ca\u653e\u7684\u5185\u5b58\u6e05\u96f6\uff0c\u8fd9\u4e9b\u9875\u9762\u81ea\u7136\u5c31\u4f1a\u5408\u5e76\u4e86\uff08such&nbsp;pages&nbsp;are&nbsp;trivially&nbsp;collapsed\u4e0d\u77e5\u9053\u6709\u6ca1\u6709\u8bd1\u5bf9\uff09\u3002Ksmctl\u547d\u4ee4\u7528\u6765\u5f00\u542fKSM\u3002\u53e6\u5916\u4e00\u79cd\u65b9\u6cd5\u662f\uff0cFedora&nbsp;12\u4e2d\u7684ksmtuned\u670d\u52a1\u53ef\u4ee5\u6839\u636e\u53ef\u7528\u7684\u7a7a\u95f2\u5185\u5b58\u52a8\u6001\u7684\u8c03\u6574KSM\u7684\u5408\u5e76\u7b56\u7565\u662f\u5426\u79ef\u6781\u8fd8\u662f\u4fdd\u5b88\u3002 \u6211\u53ef\u4ee5\u5728KVM\u865a\u62df\u673a\u4e2d\u5b89\u88c5\u54ea\u4e9b\u64cd\u4f5c\u7cfb\u7edf\u5462\uff1f \u652f\u6301\u5f88\u591a\u79cd\u64cd\u4f5c\u7cfb\u7edf\uff0c\u4f60\u53ef\u4ee5\u53c2\u770bGuest&nbsp;Support&nbsp;Status&nbsp;\u9875\u9762\u3002\u8bf7\u6ce8\u610f\u5df2\u7ecf\u6709\u4e00\u4e9bLinux\u53d1\u884c\u7248\u5728Intel\u5904\u7406\u5668\u4e0a\u4f1a\u5728\u542f\u52a8\u9636\u6bb5\u6b7b\u673a\uff0c\u89e3\u51b3\u529e\u6cd5\u662f\u5728grub\u91cc\u7981\u7528\u542f\u52a8\u753b\u9762\u3002 KVM\u652f\u6301\u865a\u62df\u673a\u5b9e\u65f6\u8fc1\u79fb(Live&nbsp;Migration)\u5417\uff1f \u652f\u6301\uff01.&nbsp;\u53c2\u770bMigration\u3002KVM\u652f\u6301\u4eceAMD\u7684\u4e3b\u673a\u5f80INTEL\u4e3b\u673a\u5b9e\u65f6\u8fc1\u79fb(Live&nbsp;Migration)\u5417\uff1f \u652f\u6301\uff01\u5bf9\u4e8e32\u4f4d\u4e0d\u652f\u6301NX\u6216\u8005XD\u7684\u4e3b\u673a\uff0c\u53ef\u80fd\u4f1a\u6709\u4e00\u4e9b\u95ee\u9898\u3002\u4f46\u662f\u5bf9\u4e8e64\u4f4d\u7684\u5ba2\u6237\u673a\uff0c\u5e94\u8be5\u6ca1\u6709\u4e00\u70b9\u95ee\u9898\u7684\u3002\u572832\u4f4d\u4e3b\u673a\u548c64\u4f4d\u4e3b\u673a\u4e4b\u95f4\u5b9e\u65f6\u8fc1\u79fb(Live&nbsp;Migration)32\u4f4d\u865a\u62df\u673a\u4e5f\u5e94\u8be5\u6ca1\u6709\u95ee\u9898\u3002\u5982\u679c\u5176\u4e2d\u4e00\u53f0\u4e3b\u673a\u4e0d\u652f\u6301NX\uff0c\u4f60\u8981\u8003\u8651\u5728\u652f\u6301NX\u7684\u90a3\u53f0\u673a\u542f\u52a8\u865a\u62df\u673a\u4e4b\u524d\u7981\u7528NX\u3002\u4f60\u53ef\u4ee5\u5728\u542f\u52a8\u5ba2\u6237\u673a\u65f6\u52a0\u5165&rdquo;-cpu&nbsp;qemu64,&nbsp;-nx&rdquo;\u53c2\u6570\u3002 \u53ef\u4ee5\u572864\u4f4d\u7684\u4e3b\u673a\u4e0a\u8fd0\u884c32\u4f4d\u7684\u5ba2\u6237\u673a\u5417\uff1f\u53ef\u4ee5\u7528PAE\u5417\uff1f KVM\u652f\u6301\u572864\u4f4d\u4e3b\u673a\u4e0a\u8fd0\u884c32\u4f4d\u7684\u5ba2\u6237\u673a\uff0c\u4e0d\u7ba1\u4e3b\u673a\u662f\u5426\u4f7f\u7528PAE\uff0c\u5ba2\u6237\u673a\u90fd\u53ef\u4ee5\u9009\u62e9\u4f7f\u7528PAE\u6216\u8005\u4e0d\u4f7f\u7528PAE\u3002KVM\u4e0d\u652f\u6301\u572832\u4f4d\u7684\u4e3b\u673a\u4e0a\u8fd0\u884c64\u4f4d\u7684\u865a\u62df\u5ba2\u6237\u673a\u3002 \u53ef\u4ee5\u5728\u57fa\u4e8eKVM\u7684\u865a\u62df\u673a\u4e0a\u4f7f\u7528USB\u8bbe\u5907\u5417\uff1f \u5f53\u7136\u53ef\u4ee5\uff0c\u8bf7\u53c2\u7167QEMU\u7684\u505a\u6cd5\uff0c\u662f\u4e00\u6837\u7684\u3002 \u6211\u53ef\u4ee5\u8ba9KVM\u4f7f\u7528\u66f4\u9ad8\u7684\u5c4f\u5e55\u5206\u8fa8\u7387\u5417\uff1f \u5728\u542f\u52a8VM\u4e4b\u524d\u4f7f\u548c&nbsp;-vga&nbsp;std&nbsp;\u53c2\u6570\u53ef\u4ee5\u5145\u8bb8\u4f60\u8bbe\u7f6e\u66f4\u591a\u7684\u5206\u8fa8\u7387\u548c\u5c4f\u5e55\u5c3a\u5bf8\u3002 \u5982\u679c\u4e0d\u80fd\u8c03\u5230\u4f60\u60f3\u8981\u7684\u5206\u8fa8\u7387\uff0c\u4f60\u53ef\u4ee5\u5c1d\u8bd5\u5b89\u88c5\u4e00\u4e2a\u8865\u4e01\u5305\uff0c\u8bf7\u53c2\u8003http:\/\/article.gmane.org\/gmane.comp.emulators.kvm.devel\/13557&nbsp;\u3002 \u5f53\u4f60\u4f7f\u7528windows\u4f5c\u4e3a\u5ba2\u6237\u673a\u64cd\u4f5c\u7cfb\u7edf\u7684\u65f6\u5019\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528VBEMP&nbsp;x86\u9879\u76ee\u4e2d\u5f00\u53d1\u7684\u9a71\u52a8\uff0c\u8fd9\u4e2a\u9879\u76ee\u662f\u57fa\u4e8eReactOS\u5f00\u6e90\u9879\u76ee\u7684\uff0c\u8bf7\u6ce8\u610f\u4e0d\u8981\u8fdd\u53cdGPL\u8bb8\u53ef\u8bc1\u3002 KVM\u652f\u6301\u5bf9\u79f0\u591a\u5904\u7406\u5668(SMP)\u7684host\u673a\u5417\uff1f \u652f\u6301\uff01 KVM\u652f\u6301\u5bf9\u79f0\u591a\u5904\u7406\u5668(SMP)\u7684\u5ba2\u6237\u673a\u5417\uff1f Yes.&nbsp;Up&nbsp;to&nbsp;16&nbsp;CPUs&nbsp;can&nbsp;be&nbsp;specified&nbsp;using&nbsp;the&nbsp;-smp&nbsp;option. \u662f\u7684\uff01\u76ee\u524d\u4e00\u5171\u6700\u591a16\u9897cpu\uff0c\u8981\u4f7f\u7528-smp\u9009\u9879\u3002 KVM\u5df2\u7ecf\u88ab\u6ce8\u518c\u4e3a\u5546\u6807\u4e86\u5417\uff1f \u6ca1\u6709\uff01 \u8f6c\u5e16\u8bf7\u6ce8\u660e\u51fa\u5904\uff1a&nbsp;http:\/\/ykyi.net\/2012\/06\/kvm%E4%BD%A0%E9%97%AE%E6%88%91%E7%AD%94-faq-%E5%9B%9B\/ &#8212;&#8211; KVM FAQ \u5168\u5267\u7ec8 &#8212;&#8211; &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,7,8],"tags":[51,52,68,122],"class_list":["post-579","post","type-post","status-publish","format-standard","hentry","category-tech_articles","category-unix_linux","category-virtualization","tag-linux-2","tag-linux-kernel","tag-qemu","tag--virtulization"],"_links":{"self":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts\/579","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=579"}],"version-history":[{"count":0,"href":"https:\/\/ykyi.net\/index.php?rest_route=\/wp\/v2\/posts\/579\/revisions"}],"wp:attachment":[{"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ykyi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}