{"id":12219,"date":"2021-02-21T18:44:06","date_gmt":"2021-02-21T09:44:06","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=12219"},"modified":"2021-02-21T18:44:06","modified_gmt":"2021-02-21T09:44:06","slug":"qemu%e3%81%ae%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e3%83%a9%e3%82%a4%e3%83%b3%e3%81%ab%e6%8c%91%e6%88%a6","status":"publish","type":"post","link":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=12219","title":{"rendered":"QEMU\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306b\u6311\u6226"},"content":{"rendered":"\n<p>&#19979;&#35352;&#12469;&#12452;&#12488;&#12394;&#12393;&#12434;&#21442;&#32771;&#12395;&#65292;&#12371;&#12435;&#12394;&#24863;&#12376;&#12391;&#65292;macOS&#12420;&#65292;Manjaro AMD64&#12391;&#65292;Raspberry Pi OS&#12398;&#12452;&#12513;&#12540;&#12472;&#12434;&#36215;&#21205;&#12375;&#12390;&#65292;update&#12414;&#12391;&#12391;&#12365;&#12383;&#12398;&#12391;&#12377;&#12364;&#65292;&#12381;&#12398;&#12354;&#12392;&#12391;&#12502;&#12540;&#12488;&#12377;&#12427;&#12392;&#12493;&#12483;&#12488;&#12364;&#32331;&#12364;&#12425;&#12394;&#12367;&#12394;&#12387;&#12390;&#65292;&#24745;&#12435;&#12391;&#12356;&#12427;&#12392;&#12371;&#12429;&#12391;&#12377;&#65294;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">qemu-system-aarch64  -kernel boot\/kernel8.img  \\\n    -dtb boot\/bcm2710-rpi-3-b.dtb  \\\n    -M raspi3 -m 1024  -serial stdio  \\\n    -append \"rw earlycon=pl011,0x3f201000 console=ttyAMA0 loglevel=8 root=\/dev\/mmcblk0p2 fsck.repair=yes net.ifnames=0 rootwait memtest=1\" \\\n    -drive file=2021-01-11-raspios-buster-armhf-full.img,format=raw,if=sd  \\\n    -device usb-kbd  -device usb-mouse \\\n    -device usb-net,netdev=net0  \\\n    -netdev user,id=net0,hostfwd=tcp::5555-:22 \\\n    -no-reboot <\/pre>\n\n\n\n<p>&#19979;&#28310;&#20633;&#12392;&#12375;&#12390;&#12399;&#65292;Mac&#12391;&#12418;Linux&#12510;&#12471;&#12531;&#12391;&#12418;&#36969;&#24403;&#12394;&#12392;&#12371;&#12429;&#12395;&#65292;&#12501;&#12457;&#12523;&#12480;&#12540;&#12434;&#20316;&#12426;&#65292;&#12381;&#12371;&#12395;&#65292;Raspberry Pi&#12398;&#12469;&#12452;&#12488;&#12363;&#12425;&#12452;&#12531;&#12473;&#12488;&#12540;&#12523;&#29992;&#12398;&#12452;&#12513;&#12540;&#12472;&#12434;&#12480;&#12454;&#12531;&#12525;&#12540;&#12489;&#12375;&#12390;&#65292;unzip&#12375;&#12414;&#12377;&#65294;&#24494;&#22937;&#12395;SD&#12452;&#12513;&#12540;&#12472;&#12398;&#12469;&#12452;&#12474;&#12364;2&#12398;n&#20055;&#12395;&#12394;&#12425;&#12394;&#12356;&#12398;&#12391;&#65292;qemu-img&#12391;&#12522;&#12469;&#12452;&#12474;&#12375;&#12414;&#12375;&#12383;&#65294;&#12381;&#12375;&#12390;&#65292;&#12381;&#12398;SD&#12452;&#12513;&#12540;&#12472;&#12398;vfat&#37096;&#20998;&#12434;Linux&#12510;&#12471;&#12531;&#12395;&#12510;&#12454;&#12531;&#12488;&#12375;&#12390;&#65292;SD&#12452;&#12513;&#12540;&#12472;&#12434;&#23637;&#38283;&#12375;&#12383;&#12501;&#12457;&#12523;&#12480;&#12540;&#20869;&#12395; &ldquo;boot&rdquo; &#12392;&#12356;&#12358;&#12469;&#12502;&#12501;&#12457;&#12523;&#12480;&#12540;&#12434;&#20316;&#12387;&#12390;&#12467;&#12500;&#12540;&#12375;&#12414;&#12375;&#12383;&#65294;<\/p>\n\n\n\n<p>&#12381;&#12371;&#12391;&#65292;&#19978;&#35352;&#12398;qemu-system-aarch64 &hellip; &#12434;&#23455;&#34892;&#12375;&#12414;&#12375;&#12383;&#65294;<\/p>\n\n\n\n<p>&#12381;&#12358;&#12381;&#12358;&#65292;libvirt&#12420;Virt-Manager&#12392;&#12399;&#36949;&#12387;&#12390;&#65292;&#20840;&#37096;&#19968;&#33324;&#12518;&#12540;&#12470;&#12540;&#12398;&#27177;&#38480;&#12391;&#20316;&#26989;&#12391;&#12365;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p>Manjaro ARM64&#12391;&#12399;&#65292;&#19978;&#35352;&#12395; &ldquo;-accel kvm&rdquo; &#12434;&#36861;&#21152;&#12377;&#12427;&#12398;&#12391;&#12356;&#12356;&#12392;&#24605;&#12358;&#12398;&#12391;&#12377;&#12364;&#65292;&#36215;&#21205;&#12377;&#12425;&#12375;&#12390;&#12367;&#12428;&#12414;&#12379;&#12435;&#65294;&#12373;&#12425;&#12395;&#28145;&#12367;&#24745;&#12415;&#20013;&#12391;&#12377;&#65294;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">&#21442;&#32771;&#12395;&#12375;&#12383;&#12469;&#12452;&#12488;<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/github.com\/wimvanderbauwhede\/limited-systems\/wiki\/Debian-%22buster%22-for-Raspberry-Pi-3-on-QEMU\">Debian &ldquo;buster&rdquo; for Raspberry Pi 3 on QEMU<\/a><\/li><li><a href=\"https:\/\/stackoverflow.com\/questions\/61562014\/qemu-kernel-for-raspberry-pi-3-with-networking-and-virtio-support\">QEMU kernel for raspberry pi 3 with networking and virtio support<\/a><\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0b\u8a18\u30b5\u30a4\u30c8\u306a\u3069\u3092\u53c2\u8003\u306b\uff0c\u3053\u3093\u306a\u611f\u3058\u3067\uff0cmacOS\u3084\uff0cManjaro AMD64\u3067\uff0cRaspberry Pi OS\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u8d77\u52d5\u3057\u3066\uff0cupdate\u307e\u3067\u3067\u304d\u305f\u306e\u3067\u3059\u304c\uff0c\u305d\u306e\u3042\u3068\u3067\u30d6\u30fc\u30c8\u3059\u308b\u3068\u30cd\u30c3\u30c8\u304c\u7e4b\u304c\u3089\u306a\u304f\u306a\u3063\u3066\uff0c\u60a9\u3093\u3067\u3044\u308b\u3068\u3053\u308d\u3067\u3059\uff0e qemu-system-aarch64 -kernel boot\/kernel8.img \\ -dtb boot\/bcm2710-rpi-3-b.dtb \\ -M raspi3 -m 1024 -serial stdio \\ -append &#8220;rw earlycon=pl011,0x3f201000 console=ttyAMA0 loglevel=8 root=\/dev\/mmcblk0p2 fsck.repair=yes net.ifnames=0 rootwait memtest=1&#8243; \\ -drive file=2021-01-11-raspios-buster-armhf-full.img,format=raw,if=sd \\ -device usb-kbd -device usb-mouse \\ -device usb-net,netdev=net0 \\ -netdev user,id=net0,hostfwd=tcp::5555-:22 \\ -no-reboot \u4e0b\u6e96\u5099\u3068\u3057\u3066\u306f\uff0cMac\u3067\u3082Linux\u30de\u30b7\u30f3\u3067\u3082\u9069\u5f53\u306a\u3068\u3053\u308d\u306b\uff0c\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u4f5c\u308a\uff0c\u305d\u3053\u306b\uff0cRaspberry Pi\u306e\u30b5\u30a4\u30c8\u304b\u3089\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7528\u306e\u30a4\u30e1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\uff0cunzip\u3057\u307e\u3059\uff0e\u5fae\u5999\u306bSD\u30a4\u30e1\u30fc\u30b8\u306e\u30b5\u30a4\u30ba\u304c2\u306en\u4e57\u306b\u306a\u3089\u306a\u3044\u306e\u3067\uff0cqemu-img\u3067\u30ea\u30b5\u30a4\u30ba\u3057\u307e\u3057\u305f\uff0e\u305d\u3057\u3066\uff0c\u305d\u306eSD\u30a4\u30e1\u30fc\u30b8\u306evfat\u90e8\u5206\u3092Linux\u30de\u30b7\u30f3\u306b\u30de\u30a6\u30f3\u30c8\u3057\u3066\uff0cSD\u30a4\u30e1\u30fc\u30b8\u3092\u5c55\u958b\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u30fc\u5185\u306b &#8220;boot&#8221; \u3068\u3044\u3046\u30b5\u30d6\u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u4f5c\u3063\u3066\u30b3\u30d4\u30fc\u3057\u307e\u3057\u305f\uff0e \u305d\u3053\u3067\uff0c\u4e0a\u8a18\u306eqemu-system-aarch64 &#8230; \u3092\u5b9f\u884c\u3057\u307e\u3057\u305f\uff0e \u305d\u3046\u305d\u3046\uff0clibvirt\u3084Virt-Manager\u3068\u306f\u9055\u3063\u3066\uff0c\u5168\u90e8\u4e00\u822c\u30e6\u30fc\u30b6\u30fc\u306e\u6a29\u9650\u3067\u4f5c\u696d\u3067\u304d\u307e\u3059\uff0e Manjaro ARM64\u3067\u306f\uff0c\u4e0a\u8a18\u306b &#8220;-accel &hellip; <a href=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=12219\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;QEMU\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306b\u6311\u6226&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_daextam_enable_autolinks":"","footnotes":""},"categories":[21,8,27],"tags":[],"class_list":["post-12219","post","type-post","status-publish","format-standard","hentry","category-kvm","category-linux","category-rasapberry-pi"],"publishpress_future_action":{"enabled":false,"date":"2026-05-26 04:43:50","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category","extraData":[]},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/12219","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12219"}],"version-history":[{"count":0,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/12219\/revisions"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12219"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12219"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12219"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}