{"id":291,"date":"2015-09-24T18:16:15","date_gmt":"2015-09-24T10:16:15","guid":{"rendered":"https:\/\/drho.club\/?p=291"},"modified":"2015-09-24T18:16:15","modified_gmt":"2015-09-24T10:16:15","slug":"ubuntu-14-make-qemu","status":"publish","type":"post","link":"https:\/\/104.es\/index.php\/2015\/09\/24\/ubuntu-14-make-qemu\/","title":{"rendered":"\u5728Ubuntu 14\u4e0b\u7de8\u8b6fQEMU\u7684\u6b65\u9a5f"},"content":{"rendered":"<p style=\"font-family: \u5fae\u8edf\u6b63\u9ed1\u9ad4; font-size: 12pt; line-height: 200%; letter-spacing: 2pt;\">\u6211\u4f7f\u7528\u7684\u662fUbuntu 14.04\u7684Workstation\u7248\u672c\uff0c\u6240\u4ee5\u4e00\u958b\u59cb\u7684\u6642\u5019\u7f3a\u6771\u7f3a\u897f\u7684\uff0c\u60f3\u8981\u9806\u5229make qemu\u5c08\u6848\uff0c\u9084\u8981\u5b89\u88dd\u8a31\u591a\u7684\u958b\u767c\u74b0\u5883\u548c\u7a0b\u5f0f\u5eab\u624d\u884c\uff0c\u5728\u6b64\u7c21\u55ae\u5730\u6574\u7406\u5982\u4e0b\uff1a<\/p>\n<p>[code]<br \/>\nsudo apt-get update<br \/>\nsudo apt-get upgrade<\/p>\n<p>sudo apt-get install linux-headers-$(uname -r)<br \/>\nsudo apt-get install zlib1g-dev libglib2.0 autoconf libtool libsdl-console libsdl-console-dev<br \/>\nsudo apt-get install libpixman-1-dev libfdt-dev<br \/>\n[\/code]<\/p>\n<p style=\"font-family: \u5fae\u8edf\u6b63\u9ed1\u9ad4; font-size: 12pt; line-height: 200%; letter-spacing: 2pt;\">\u7136\u5f8c\uff0c\u7167\u7406\u8aaa\u61c9\u8a72\u5c31\u53ef\u4ee5\u9806\u5229 make \u4f60\u7684\u5c08\u6848\u4e86\u3002\u7576\u7136\uff0cQEMU\u7684\u539f\u59cb\u7db2\u7ad9\u4e2d\u6709\u6700\u5b8c\u6574\u7684\u6b65\u9a5f\uff0c\u7db2\u5740\u5728\u6b64\uff1a<a href=\"http:\/\/wiki.qemu.org\/Hosts\/Linux\" target=\"_blank\" rel=\"noopener\">http:\/\/wiki.qemu.org\/Hosts\/Linux<\/a>\u3002\u4ee5\u4e0b\u662f\u6bd4\u8f03\u5feb\u901f\u7684\u7de8\u8f2f\u6b65\u9a5f\uff08\u5343\u842c\u4e0d\u8981\u50bb\u50bb\u5730\u76f4\u63a5.\/configure\u4e4b\u5f8c\u5c31make\uff0c\u90a3\u6703\u628a\u6240\u6709\u7684\u5e73\u53f0\u90fd\u7de8\u8f2f\u9032\u53bb\uff0c\u975e\u5e38\u82b1\u6642\u9593\u800c\u4e14\u4e5f\u6c92\u6709\u5fc5\u8981\uff09\uff1a<\/p>\n<p>[code]<br \/>\ncd qemu<br \/>\nsudo .\/configure &#8211;target-list=x86_64-softmmu &#8211;enable-debug<br \/>\nsudo make -j4<br \/>\n[\/code]<\/p>\n<p style=\"font-family: \u5fae\u8edf\u6b63\u9ed1\u9ad4; font-size: 12pt; line-height: 200%; letter-spacing: 2pt;\">make\u5b8c\u7562\u4e4b\u5f8c\uff0c\u5c31\u53ef\u4ee5\u4f7f\u7528qemu-img\u5efa\u7acbVM\uff0c\u7136\u5f8c\u900f\u904ex86_64-softmmu\/qemu-system-x86_64 \u57f7\u884c\u865b\u64ec\u6a5f\u5594\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6211\u4f7f\u7528\u7684\u662fUbuntu 14.04\u7684Workstation\u7248\u672c\uff0c\u6240\u4ee5\u4e00\u958b\u59cb\u7684\u6642\u5019\u7f3a\u6771\u7f3a\u897f\u7684\uff0c\u60f3\u8981\u9806\u5229make qemu\u5c08\u6848\uff0c\u9084\u8981\u5b89\u88dd\u8a31\u591a\u7684\u958b\u767c\u74b0\u5883\u548c\u7a0b\u5f0f\u5eab\u624d\u884c\uff0c\u5728\u6b64\u7c21\u55ae\u5730\u6574\u7406\u5728\u672c\u6587\u4e2d\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[97],"tags":[136,158,170],"class_list":["post-291","post","type-post","status-publish","format-standard","hentry","category-kvm-libvirt","tag-kvm-ubuntu-make","tag-pixman-not-present","tag-qemu-source-make"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts\/291","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/comments?post=291"}],"version-history":[{"count":0,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/posts\/291\/revisions"}],"wp:attachment":[{"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/media?parent=291"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/categories?post=291"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/104.es\/index.php\/wp-json\/wp\/v2\/tags?post=291"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}