{"id":12102,"date":"2021-02-08T21:52:59","date_gmt":"2021-02-08T12:52:59","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=12102"},"modified":"2021-02-08T21:52:59","modified_gmt":"2021-02-08T12:52:59","slug":"mac%e3%81%a7qemu%e3%81%af%e9%9b%a3%e8%88%aa","status":"publish","type":"post","link":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=12102","title":{"rendered":"Mac\u3067QEMU\u306f\u96e3\u822a"},"content":{"rendered":"\n<p>MacPorts&#12418;&#12394;&#12435;&#12395;&#12418;&#30693;&#12425;&#12394;&#12356;&#12391;&#20351;&#12387;&#12390;&#12365;&#12383;&#12398;&#12391;&#12377;&#12364;&#65292;Gentoo&#12398;USEflag&#12395;&#20284;&#12383;&#12424;&#12358;&#12394;&#65292;Variant&#12392;&#12356;&#12358;&#12398;&#12364;&#12354;&#12427;&#12398;&#12434;&#30693;&#12426;&#12414;&#12375;&#12383;&#65294;<\/p>\n\n\n\n<p>MacPorts&#12391;&#12399;&#65292;&#29702;&#30001;&#12399;&#30693;&#12426;&#12414;&#12379;&#12435;&#12364;<sup class=\"modern-footnotes-footnote \" data-mfn=\"1\" data-mfn-post-scope=\"00000000000003270000000000000000_12102\"><a href=\"javascript:void(0)\" role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-00000000000003270000000000000000_12102-1\">1<\/a><\/sup><span id=\"mfn-content-00000000000003270000000000000000_12102-1\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"1\">&#12356;&#12429;&#12356;&#12429;&#25201;&#12356;&#12395;&#12367;&#12356;&#12435;&#12391;&#12375;&#12423;&#12358;&#12397;&#65294;&#30693;&#12425;&#12435;&#12369;&#12393;&#65294;<\/span>&#65292;Apple&#35641;&#35069;&#12398;XQuartz&#12395;&#22793;&#12360;&#12390;&#65292;MacPorts&#12395;&#12424;&#12427;Xorg&#12398;&#31227;&#26893;&#21697;&#12434;&#20351;&#12358;&#26041;&#21521;&#12395;&#20999;&#12426;&#26367;&#12360;&#12388;&#12388;&#12354;&#12427;&#12424;&#12358;&#12391;&#12377;&#65288;&#24403;&#31038;&#35519;&#12409;&#65289;&#65294;<\/p>\n\n\n\n<p>&#12391;&#65292;&#12393;&#12358;&#12418;&#65292;<a href=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=12068\" data-type=\"post\" data-id=\"12068\">Virt-Manager&#12395;&#38306;&#36899;&#12375;&#12383;&#12477;&#12501;&#12488;&#12398;&#19968;&#12388;&#12364;&#65292;&#12418;&#12399;&#12420;XQuartz&#12434;&#12469;&#12509;&#12540;&#12488;&#12379;&#12378;&#65292;Xorg&#12398;&#12415;&#12395;&#23550;&#24540;&#12375;&#12390;&#12356;&#12427;<\/a>&#12424;&#12358;&#12391;&#12377;&#65294;&#12381;&#12371;&#12391;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/opt\/local\/etc\/macports\/variants.conf<\/pre>\n\n\n\n<p>&#12395;&#65292;&#12394;&#12435;&#12420;&#12363;&#12435;&#12420;&#26360;&#12367;&#12424;&#12358;&#12394;&#12398;&#12391;&#12377;&#12364;&#65292;&#12393;&#12358;&#12375;&#12383;&#12431;&#12369;&#12363;&#65292;&#35352;&#25014;&#12392;&#23455;&#24907;&#12392;&#12364;&#36949;&#12387;&#12390;&#12356;&#12427;&#12398;&#12391;&#65292;&#20013;&#36523;&#12434;&#25522;&#36617;&#12377;&#12427;&#12398;&#12399;&#12420;&#12417;&#12414;&#12377;&#65288;&#12354;&#12392;&#12391;&#65292;&#12399;&#12387;&#12365;&#12426;&#29702;&#30001;&#12364;&#12431;&#12363;&#12387;&#12383;&#12425;&#25522;&#36617;&#12375;&#12414;&#12377;&#65289;&#65294;<\/p>\n\n\n\n<p>&#12391;&#65292;&#12394;&#12435;&#12420;&#12363;&#12435;&#12420;&#26360;&#12356;&#12390;&#65292;virt-manager&#12414;&#12391;build&#12391;&#12365;&#12390;&#21205;&#12367;&#12398;&#12391;&#12377;&#12364;&#65292;libvirtd&#12434;&#21205;&#12363;&#12375;&#12390;&#12356;&#12427;&#12395;&#12418;&#12363;&#12363;&#12431;&#12425;&#12378;&#65292;virt-manager&#12391;&#25509;&#32154;&#12375;&#12424;&#12358;&#12392;&#12375;&#12390;&#12418;&#65292;&#32331;&#12364;&#12426;&#12414;&#12379;&#12435;&#65294;<\/p>\n\n\n\n<p>macOS&#12391;&#65292;virsh uri&#12434;root&#27177;&#38480;&#12391;&#23455;&#34892;&#12377;&#12427;&#12392;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">virsh uri<br>error: failed to connect to the hypervisor<br>error: internal error: Failed to create vbox driver object.<br><\/pre>\n\n\n\n<p>&#12392;&#12356;&#12358;&#20855;&#21512;&#12395;&#12456;&#12521;&#12540;&#12395;&#12394;&#12426;&#12414;&#12377;&#65294;Gentoo&#12398;&#23455;&#12510;&#12471;&#12531;&#12391;&#21516;&#27096;&#12395;virsh uri&#12434;&#23455;&#34892;&#12377;&#12427;&#12392;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">virsh uri<br>qemu:\/\/\/system<\/pre>\n\n\n\n<p>&#12392;&#65292;<a href=\"https:\/\/access.redhat.com\/documentation\/en-us\/red_hat_enterprise_linux\/7\/html\/virtualization_deployment_and_administration_guide\/sect-generic_commands-connect\">&#25945;&#31185;&#26360;&#36890;&#12426;<\/a>&#12395;&#20986;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p>virsh -V&#12399;&#65292;macOS&#12391;&#12399;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">virsh -V<br>Virsh command line tool of libvirt 6.6.0<br>See web site at https:\/\/libvirt.org\/<br><br>Compiled with support for:<br>Hypervisors: VMware VirtualBox ESX Test<br>Networking: Remote<br>Storage: Dir<br>Miscellaneous: Daemon Secrets Debug Readline<\/pre>\n\n\n\n<p>&#12392;&#12394;&#12426;&#65292;&#19968;&#26041;Gentoo&#12398;&#23455;&#12510;&#12471;&#12531;&#12399;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">virsh -V<br>Virsh command line tool of libvirt 6.8.0<br>See web site at https:\/\/libvirt.org\/<br><br>Compiled with support for:<br>Hypervisors: QEMU\/KVM VMware ESX Test<br>Networking: Remote Network Bridging Interface udev Nwfilter VirtualPort<br>Storage: Dir Filesystem SCSI<br>Miscellaneous: Daemon Nodedev Secrets Debug Readline<br><\/pre>\n\n\n\n<p>&#22823;&#12365;&#12394;&#36949;&#12356;&#12399;&#65292;MacPort (macOS)&#12398;&#12411;&#12358;&#12399;&#65292;Hypervisors&#12395;QEMU&#12364;&#21547;&#12414;&#12428;&#12390;&#12356;&#12394;&#12356;&#12371;&#12392;&#12391;&#12375;&#12423;&#12358;&#65294;<\/p>\n\n\n\n<p>&#12371;&#12428;&#12364;&#65292;virsh uri&#12391;&#12456;&#12521;&#12540;&#12395;&#12394;&#12426;&#65292;virt-manager&#12364;&#25509;&#32154;&#12391;&#12365;&#12394;&#12356;&#21407;&#22240;&#12391;&#12375;&#12423;&#12358;&#65294;<\/p>\n\n\n\n<p>&#12373;&#12390;&#65292;&#12393;&#12358;&#12375;&#12390;&#12356;&#12356;&#12363;&#65292;&#12373;&#12387;&#12401;&#12426;&#12431;&#12363;&#12425;&#12394;&#12356;&#128549;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>MacPorts\u3082\u306a\u3093\u306b\u3082\u77e5\u3089\u306a\u3044\u3067\u4f7f\u3063\u3066\u304d\u305f\u306e\u3067\u3059\u304c\uff0cGentoo\u306eUSEflag\u306b\u4f3c\u305f\u3088\u3046\u306a\uff0cVariant\u3068\u3044\u3046\u306e\u304c\u3042\u308b\u306e\u3092\u77e5\u308a\u307e\u3057\u305f\uff0e MacPorts\u3067\u306f\uff0c\u7406\u7531\u306f\u77e5\u308a\u307e\u305b\u3093\u304c\uff0cApple\u8b39\u88fd\u306eXQuartz\u306b\u5909\u3048\u3066\uff0cMacPorts\u306b\u3088\u308bXorg\u306e\u79fb\u690d\u54c1\u3092\u4f7f\u3046\u65b9\u5411\u306b\u5207\u308a\u66ff\u3048\u3064\u3064\u3042\u308b\u3088\u3046\u3067\u3059\uff08\u5f53\u793e\u8abf\u3079\uff09\uff0e \u3067\uff0c\u3069\u3046\u3082\uff0cVirt-Manager\u306b\u95a2\u9023\u3057\u305f\u30bd\u30d5\u30c8\u306e\u4e00\u3064\u304c\uff0c\u3082\u306f\u3084XQuartz\u3092\u30b5\u30dd\u30fc\u30c8\u305b\u305a\uff0cXorg\u306e\u307f\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\uff0e\u305d\u3053\u3067\uff0c \/opt\/local\/etc\/macports\/variants.conf \u306b\uff0c\u306a\u3093\u3084\u304b\u3093\u3084\u66f8\u304f\u3088\u3046\u306a\u306e\u3067\u3059\u304c\uff0c\u3069\u3046\u3057\u305f\u308f\u3051\u304b\uff0c\u8a18\u61b6\u3068\u5b9f\u614b\u3068\u304c\u9055\u3063\u3066\u3044\u308b\u306e\u3067\uff0c\u4e2d\u8eab\u3092\u63b2\u8f09\u3059\u308b\u306e\u306f\u3084\u3081\u307e\u3059\uff08\u3042\u3068\u3067\uff0c\u306f\u3063\u304d\u308a\u7406\u7531\u304c\u308f\u304b\u3063\u305f\u3089\u63b2\u8f09\u3057\u307e\u3059\uff09\uff0e \u3067\uff0c\u306a\u3093\u3084\u304b\u3093\u3084\u66f8\u3044\u3066\uff0cvirt-manager\u307e\u3067build\u3067\u304d\u3066\u52d5\u304f\u306e\u3067\u3059\u304c\uff0clibvirtd\u3092\u52d5\u304b\u3057\u3066\u3044\u308b\u306b\u3082\u304b\u304b\u308f\u3089\u305a\uff0cvirt-manager\u3067\u63a5\u7d9a\u3057\u3088\u3046\u3068\u3057\u3066\u3082\uff0c\u7e4b\u304c\u308a\u307e\u305b\u3093\uff0e macOS\u3067\uff0cvirsh uri\u3092root\u6a29\u9650\u3067\u5b9f\u884c\u3059\u308b\u3068\uff0c virsh urierror: failed to connect to the hypervisorerror: internal error: Failed to create vbox driver object. \u3068\u3044\u3046\u5177\u5408\u306b\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\uff0eGentoo\u306e\u5b9f\u30de\u30b7\u30f3\u3067\u540c\u69d8\u306bvirsh uri\u3092\u5b9f\u884c\u3059\u308b\u3068\uff0c virsh uriqemu:\/\/\/system \u3068\uff0c\u6559\u79d1\u66f8\u901a\u308a\u306b\u51fa\u307e\u3059\uff0e virsh -V\u306f\uff0cmacOS\u3067\u306f\uff0c virsh -VVirsh command line tool of libvirt 6.6.0See web site at https:\/\/libvirt.org\/Compiled with support for:Hypervisors: VMware VirtualBox ESX TestNetworking: RemoteStorage: DirMiscellaneous: Daemon Secrets Debug &hellip; <a href=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=12102\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Mac\u3067QEMU\u306f\u96e3\u822a&#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":[18,21,8,22],"tags":[],"class_list":["post-12102","post","type-post","status-publish","format-standard","hentry","category-gentoo","category-kvm","category-linux","category-macintosh-computer"],"publishpress_future_action":{"enabled":false,"date":"2026-05-26 02:32:26","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\/12102","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=12102"}],"version-history":[{"count":0,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/12102\/revisions"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}