{"id":12109,"date":"2021-02-10T10:10:35","date_gmt":"2021-02-10T01:10:35","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=12109"},"modified":"2021-02-10T10:10:35","modified_gmt":"2021-02-10T01:10:35","slug":"libvirt-monolithic-vs-modular","status":"publish","type":"post","link":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=12109","title":{"rendered":"libvirt: monolithic vs modular"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/libvirt.org\/index.html\">libvirt<\/a>(d)&#12398;&#12489;&#12461;&#12517;&#12513;&#12531;&#12488;&#12394;&#12393;&#12434;&#23569;&#12375;&#35501;&#12435;&#12391;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">&#12418;&#12392;&#12418;&#12392;libvirtd&#12399;&#65292;1&#12388;&#12398;&#12487;&#12540;&#12514;&#12531;&#12391;&#20309;&#12391;&#12418;&#12371;&#12394;&#12377;&#12424;&#12358;&#12395;&#12394;&#12387;&#12390;&#12356;&#12383;&#12424;&#12358;&#12391;&#12377;&#12364;&#65292;&#26368;&#36817;&#12391;&#12399;&#65292;<a href=\"https:\/\/libvirt.org\/daemons.html\">&#27231;&#33021;&#21029;&#12395;&#12514;&#12472;&#12517;&#12540;&#12523;&#21270;&#12375;&#12383;&#12487;&#12540;&#12514;&#12531;&#12434;&#20351;&#12358;&#26041;&#21521;&#12395;&#31227;&#34892;<\/a>&#12375;&#12390;&#12356;&#12427;&#12381;&#12358;&#12391;&#12377;&#65294;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">QEMU&#12434;hypervisor&#12392;&#12377;&#12427;&#12392;&#12365;&#12398;&#25285;&#24403;daemon&#12399;&#65292;virtqemud&#12384;&#12392;&#12356;&#12358;&#12371;&#12392;&#12391;&#12377;&#65294;Gentoo(AMD64)&#12398;\/usr\/sbin&#12434;&#35223;&#12367;&#12392;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ls -l \/usr\/sbin\/virt*\n-rwxr-xr-x 1 root root 482520 Feb &nbsp;7 09:09 \/usr\/sbin\/virtinterfaced\n-rwxr-xr-x 1 root root &nbsp;81272 Feb &nbsp;7 09:09 \/usr\/sbin\/virtlockd\n-rwxr-xr-x 1 root root &nbsp;81080 Feb &nbsp;7 09:09 \/usr\/sbin\/virtlogd\n-rwxr-xr-x 1 root root 482520 Feb &nbsp;7 09:09 \/usr\/sbin\/virtnetworkd\n-rwxr-xr-x 1 root root 482520 Feb &nbsp;7 09:09 \/usr\/sbin\/virtnodedevd\n-rwxr-xr-x 1 root root 482520 Feb &nbsp;7 09:09 \/usr\/sbin\/virtnwfilterd\n-rwxr-xr-x 1 root root 486616 Feb &nbsp;7 09:09 \/usr\/sbin\/virtproxyd\n-rwxr-xr-x 1 root root 482520 Feb &nbsp;7 09:09 \/usr\/sbin\/virtqemud\n-rwxr-xr-x 1 root root 482520 Feb &nbsp;7 09:09 \/usr\/sbin\/virtsecretd\n-rwxr-xr-x 1 root root 482520 Feb &nbsp;7 09:09 \/usr\/sbin\/virtstoraged<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">&#12390;&#12394;&#20855;&#21512;&#12391;&#12377;&#65294;&#19968;&#26041;&#65292;macOS&#12391;&#12399;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ls -l \/opt\/local\/sbin\/virt*<br>-rwxr-xr-x 1 root admin 79152 8 4 2020 \/opt\/local\/sbin\/virtlockd<br>-rwxr-xr-x 1 root admin 80424 8 4 2020 \/opt\/local\/sbin\/virtlogd<br>-rwxr-xr-x 1 root admin 439400 8 4 2020 \/opt\/local\/sbin\/virtproxyd<br>-rwxr-xr-x 1 root admin 434832 8 4 2020 \/opt\/local\/sbin\/virtsecretd<br>-rwxr-xr-x 1 root admin 434832 8 4 2020 \/opt\/local\/sbin\/virtstoraged<br>-rwxr-xr-x 1 root admin 434832 8 4 2020 \/opt\/local\/sbin\/virtvboxd<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">&#12391;&#12377;&#65294;virtqemud&#12420;virtnetworkd&#12394;&#12393;&#12364;&#12354;&#12426;&#12414;&#12379;&#12435;&#65294;&#24403;&#28982;&#65292;&#21516;&#26178;&#12395;build&#12373;&#12428;&#12383;&#65292;monolithic&#12394;libvirtd&#12395;&#12418;&#65292;virtqemud&#12394;&#12393;&#12398;&#27231;&#33021;&#12399;&#21547;&#12414;&#12428;&#12390;&#12356;&#12394;&#12356;&#12392;&#24819;&#20687;&#12391;&#12365;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">macOS&#12391;&#65292;KVM&#12364;&#27231;&#33021;&#12375;&#12394;&#12356;&#12398;&#12399;&#35299;&#12426;&#12414;&#12377;&#12364;&#65292;QEMU&#12418;&#21205;&#12363;&#12394;&#12356;&#12435;&#12391;&#12375;&#12423;&#12358;&#12363;&#65294;&#12363;&#12388;&#12390;&#65292;Q&#12392;&#12356;&#12358;&#65292;QEMU&#12398;&#12450;&#12503;&#12522;&#12364;&#12354;&#12426;&#12414;&#12375;&#12383;&#12363;&#12425;&#12381;&#12358;&#12391;&#12399;&#12394;&#12356;&#12392;&#24605;&#12356;&#12414;&#12377;&#65294;&#12364;&#65292;MacPorts&#12398;&#20013;&#36523;&#12364;&#12373;&#12387;&#12401;&#12426;&#35299;&#12425;&#12394;&#12356;&#12398;&#12391;&#65292;&#12362;&#25163;&#19978;&#12370;&#12391;&#12377;&#65294;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">VirtualBox&#12399;&#21066;&#38500;<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">&#12385;&#12394;&#12415;&#12395;&#65292;VirtualBox&#12391;&#21205;&#12367;Gentoo&#12399;&#65292;&#12354;&#12356;&#12363;&#12431;&#12425;&#12378;Segfault&#20081;&#30330;&#12391;&#65292;&#12414;&#12392;&#12418;&#12395;&#21205;&#12356;&#12390;&#12367;&#12428;&#12394;&#12356;&#12398;&#12391;&#65292;&#21066;&#38500;&#12375;&#12414;&#12375;&#12383;&#65294;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>libvirt(d)\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306a\u3069\u3092\u5c11\u3057\u8aad\u3093\u3067\u307e\u3059\uff0e \u3082\u3068\u3082\u3068libvirtd\u306f\uff0c1\u3064\u306e\u30c7\u30fc\u30e2\u30f3\u3067\u4f55\u3067\u3082\u3053\u306a\u3059\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u305f\u3088\u3046\u3067\u3059\u304c\uff0c\u6700\u8fd1\u3067\u306f\uff0c\u6a5f\u80fd\u5225\u306b\u30e2\u30b8\u30e5\u30fc\u30eb\u5316\u3057\u305f\u30c7\u30fc\u30e2\u30f3\u3092\u4f7f\u3046\u65b9\u5411\u306b\u79fb\u884c\u3057\u3066\u3044\u308b\u305d\u3046\u3067\u3059\uff0e QEMU\u3092hypervisor\u3068\u3059\u308b\u3068\u304d\u306e\u62c5\u5f53daemon\u306f\uff0cvirtqemud\u3060\u3068\u3044\u3046\u3053\u3068\u3067\u3059\uff0eGentoo(AMD64)\u306e\/usr\/sbin\u3092\u8997\u304f\u3068\uff0c ls -l \/usr\/sbin\/virt* -rwxr-xr-x 1 root root 482520 Feb &nbsp;7 09:09 \/usr\/sbin\/virtinterfaced -rwxr-xr-x 1 root root &nbsp;81272 Feb &nbsp;7 09:09 \/usr\/sbin\/virtlockd -rwxr-xr-x 1 root root &nbsp;81080 Feb &nbsp;7 09:09 \/usr\/sbin\/virtlogd -rwxr-xr-x 1 root root 482520 Feb &nbsp;7 09:09 \/usr\/sbin\/virtnetworkd -rwxr-xr-x 1 root root 482520 Feb &nbsp;7 09:09 \/usr\/sbin\/virtnodedevd -rwxr-xr-x 1 root root &hellip; <a href=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=12109\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;libvirt: monolithic vs modular&#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-12109","post","type-post","status-publish","format-standard","hentry","category-gentoo","category-kvm","category-linux","category-macintosh-computer"],"publishpress_future_action":{"enabled":false,"date":"2026-06-20 18:29:18","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\/12109","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=12109"}],"version-history":[{"count":0,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/12109\/revisions"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}