{"id":11427,"date":"2020-12-08T21:21:30","date_gmt":"2020-12-08T12:21:30","guid":{"rendered":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=11427"},"modified":"2020-12-08T21:21:30","modified_gmt":"2020-12-08T12:21:30","slug":"qemu-kvm-%e4%bd%9c%e6%a5%ad%e3%83%a1%e3%83%a22","status":"publish","type":"post","link":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=11427","title":{"rendered":"QEMU\/KVM \u4f5c\u696d\u30e1\u30e22"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">QEMU<\/h3>\n\n\n\n<p>QEMU&#26412;&#20307;&#12399;&#29305;&#12395;&#21839;&#38988;&#12394;&#12367;build&#12391;&#12365;&#12414;&#12375;&#12383;&#65294;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">libvirt<\/h3>\n\n\n\n<p>Slackbuilds.org&#12395;&#12354;&#12427;&#35500;&#26126;&#12395;&#12424;&#12428;&#12400;&#65292;&#21069;&#12398;&#12496;&#12540;&#12472;&#12519;&#12531;&#12398;libvirt&#12501;&#12449;&#12452;&#12523;&#12434;&#21066;&#38500;&#12375;&#12394;&#12356;&#12392;&#12356;&#12369;&#12394;&#12356;&#12392;&#12354;&#12427;&#12398;&#12391;&#65292;\/usr\/lib64&#12420;\/usr\/sbin&#12395;&#12354;&#12427;&#65292;libvirt&#38306;&#20418;&#12392;&#24605;&#12431;&#12428;&#12427;&#12501;&#12449;&#12452;&#12523;&#12434;&#12497;&#12473;&#12398;&#36890;&#12425;&#12394;&#12356;&#12392;&#12371;&#12429;&#12395;&#31227;&#21205;&#12375;&#12390;&#65292;sbopkg -b&#12375;&#12414;&#12375;&#12383;&#12392;&#12371;&#12429;&#65292;&#20309;&#12398;&#12456;&#12521;&#12540;&#12418;&#20986;&#12378;&#12395;build&#12391;&#12365;&#12390;&#12375;&#12414;&#12356;&#12414;&#12375;&#12383;&#65294;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">libvirt-glib<\/h3>\n\n\n\n<p>libvirt-glib&#12364;&#12394;&#12356;&#12392;&#65292;&#26082;&#23384;&#12398;virt-manger&#12364;QEMU&#12395;&#25509;&#32154;&#12391;&#12365;&#12394;&#12356;&#12424;&#12358;&#12394;&#12398;&#12391;&#65292;sbopkg -i&#12375;&#12392;&#12365;&#12414;&#12375;&#12383;&#65294;&#12414;&#12383;&#65292;&#12388;&#12356;&#12391;&#12395;libvirt-python&#12418;sbopkg -i&#12375;&#12414;&#12375;&#12383;&#65294;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">&#36215;&#21205;&#12486;&#12473;&#12488;<\/h3>\n\n\n\n<p>&#12371;&#12371;&#12391;&#65292;&#12471;&#12473;&#12486;&#12512;&#12434;&#12522;&#12502;&#12540;&#12488;&#12375;&#12383;&#24460;&#65292;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\/etc\/rc.d\/rc.libvirt start<\/pre>\n\n\n\n<p>&#12434;&#23455;&#34892;&#12375;&#12390;&#12415;&#12383;&#12392;&#12371;&#12429;&#65292;libvirtd&#12398;&#36215;&#21205;&#26178;&#12395;&#12456;&#12521;&#12540;&#12364;&#20986;&#12390;&#12487;&#12540;&#12514;&#12531;&#12364;&#24120;&#39376;&#12375;&#12414;&#12379;&#12435;&#65294;&#12456;&#12521;&#12540;&#12513;&#12483;&#12475;&#12540;&#12472;&#12395;&#65292;<strong>&ndash;daemon<\/strong>&#12394;&#12375;&#12391;&#36215;&#21205;&#12375;&#12390;&#12456;&#12521;&#12540;&#12434;&#30906;&#35469;&#12379;&#12424;&#30340;&#12394;&#12513;&#12483;&#12475;&#12540;&#12472;&#12364;&#20986;&#12427;&#12398;&#12391;&#12381;&#12398;&#12424;&#12358;&#12395;&#12375;&#12390;&#12415;&#12414;&#12375;&#12383;&#12364;&#65292;&#12381;&#12398;&#22580;&#21512;&#12456;&#12521;&#12540;&#12364;&#20986;&#12378;&#12395;&#65292;libvirtd&#12364;&#24120;&#39376;&#12375;&#12390;&#12367;&#12428;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p>&#12371;&#12398;&#29366;&#24907;&#12391;&#65292;virt-manger&#12434;&#36215;&#21205;&#12375;&#12383;&#12425;&#21839;&#38988;&#12394;&#12367;&#21205;&#12356;&#12390;&#12367;&#12428;&#12414;&#12377;&#12398;&#12391;&#65292;debian&#12398;&#12463;&#12521;&#12452;&#12450;&#12531;&#12488;&#12434;&#36215;&#21205;&#12375;&#12390;&#65292;&#12375;&#12400;&#12425;&#12367;&#27096;&#23376;&#12434;&#35211;&#12390;&#12356;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<p>&#12414;&#12384;&#65292;10&#20998;&#20301;&#12375;&#12363;&#21205;&#12363;&#12375;&#12390;&#12356;&#12414;&#12379;&#12435;&#12364;&#65292;scsi_eh_&#12394;&#12435;&#12392;&#12363;&#12398;&#12503;&#12525;&#12475;&#12473;&#12399;&#20170;&#12398;&#25152;&#29694;&#12428;&#12390;&#12356;&#12414;&#12379;&#12435;&#65294;&#12394;&#12435;&#12392;&#12363;&#26412;&#36074;&#30340;&#12394;&#21839;&#38988;&#12399;&#65292;&#35299;&#27770;&#12375;&#12383;&#27169;&#27096;&#12391;&#12377;<sup class=\"modern-footnotes-footnote \" data-mfn=\"1\" data-mfn-post-scope=\"000000000000031f0000000000000000_11427\"><a href=\"javascript:void(0)\" role=\"button\" aria-pressed=\"false\" aria-describedby=\"mfn-content-000000000000031f0000000000000000_11427-1\">1<\/a><\/sup><span id=\"mfn-content-000000000000031f0000000000000000_11427-1\" role=\"tooltip\" class=\"modern-footnotes-footnote__note\" tabindex=\"0\" data-mfn=\"1\"><a href=\"https:\/\/je1sgh.mydns.jp\/je1sghblog\/?p=11433\" data-type=\"post\" data-id=\"11433\">&#31968;&#21916;&#12403;&#12391;&#12375;&#12383;<\/a>&#65294;<\/span>&#65294;<\/p>\n\n\n\n<p>&#12354;&#12392;&#12399;&#65292;rc.libvirt&#12391;&#36215;&#21205;&#12375;&#12383;&#12392;&#12365;&#12487;&#12540;&#12514;&#12531;&#12364;&#23621;&#24231;&#12425;&#12394;&#12356;&#21839;&#38988;&#12434;&#35519;&#12409;&#12390;&#12415;&#12414;&#12377;&#65294;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">rc.libvirt<\/h3>\n\n\n\n<p>libvirtd&#12434;&#36215;&#21205;&#12377;&#12427;&#12458;&#12503;&#12471;&#12519;&#12531;&#12395;-l&#12364;&#12388;&#12356;&#12390;&#12356;&#12390;&#65292;&#12371;&#12428;&#12434;&#25163;&#21205;&#12391;&#36215;&#21205;&#12377;&#12427;&#12392;&#12365;&#12395;&#12388;&#12369;&#12427;&#12392;&#12420;&#12399;&#12426;&#12456;&#12521;&#12540;&#12364;&#20986;&#12414;&#12377;&#65294;-l&#12364;&#12394;&#12367;&#12390;&#12418;&#12493;&#12483;&#12488;&#12395;&#32331;&#12364;&#12427;&#12398;&#12391;&#65292;&#36215;&#21205;&#12473;&#12463;&#12522;&#12503;&#12488;&#12363;&#12425;-l&#12434;&#22806;&#12375;&#12414;&#12375;&#12383;&#65294;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>QEMU QEMU\u672c\u4f53\u306f\u7279\u306b\u554f\u984c\u306a\u304fbuild\u3067\u304d\u307e\u3057\u305f\uff0e libvirt Slackbuilds.org\u306b\u3042\u308b\u8aac\u660e\u306b\u3088\u308c\u3070\uff0c\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306elibvirt\u30d5\u30a1\u30a4\u30eb\u3092\u524a\u9664\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3068\u3042\u308b\u306e\u3067\uff0c\/usr\/lib64\u3084\/usr\/sbin\u306b\u3042\u308b\uff0clibvirt\u95a2\u4fc2\u3068\u601d\u308f\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u30d1\u30b9\u306e\u901a\u3089\u306a\u3044\u3068\u3053\u308d\u306b\u79fb\u52d5\u3057\u3066\uff0csbopkg -b\u3057\u307e\u3057\u305f\u3068\u3053\u308d\uff0c\u4f55\u306e\u30a8\u30e9\u30fc\u3082\u51fa\u305a\u306bbuild\u3067\u304d\u3066\u3057\u307e\u3044\u307e\u3057\u305f\uff0e libvirt-glib libvirt-glib\u304c\u306a\u3044\u3068\uff0c\u65e2\u5b58\u306evirt-manger\u304cQEMU\u306b\u63a5\u7d9a\u3067\u304d\u306a\u3044\u3088\u3046\u306a\u306e\u3067\uff0csbopkg -i\u3057\u3068\u304d\u307e\u3057\u305f\uff0e\u307e\u305f\uff0c\u3064\u3044\u3067\u306blibvirt-python\u3082sbopkg -i\u3057\u307e\u3057\u305f\uff0e \u8d77\u52d5\u30c6\u30b9\u30c8 \u3053\u3053\u3067\uff0c\u30b7\u30b9\u30c6\u30e0\u3092\u30ea\u30d6\u30fc\u30c8\u3057\u305f\u5f8c\uff0c \/etc\/rc.d\/rc.libvirt start \u3092\u5b9f\u884c\u3057\u3066\u307f\u305f\u3068\u3053\u308d\uff0clibvirtd\u306e\u8d77\u52d5\u6642\u306b\u30a8\u30e9\u30fc\u304c\u51fa\u3066\u30c7\u30fc\u30e2\u30f3\u304c\u5e38\u99d0\u3057\u307e\u305b\u3093\uff0e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\uff0c&#8211;daemon\u306a\u3057\u3067\u8d77\u52d5\u3057\u3066\u30a8\u30e9\u30fc\u3092\u78ba\u8a8d\u305b\u3088\u7684\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u51fa\u308b\u306e\u3067\u305d\u306e\u3088\u3046\u306b\u3057\u3066\u307f\u307e\u3057\u305f\u304c\uff0c\u305d\u306e\u5834\u5408\u30a8\u30e9\u30fc\u304c\u51fa\u305a\u306b\uff0clibvirtd\u304c\u5e38\u99d0\u3057\u3066\u304f\u308c\u307e\u3059\uff0e \u3053\u306e\u72b6\u614b\u3067\uff0cvirt-manger\u3092\u8d77\u52d5\u3057\u305f\u3089\u554f\u984c\u306a\u304f\u52d5\u3044\u3066\u304f\u308c\u307e\u3059\u306e\u3067\uff0cdebian\u306e\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3092\u8d77\u52d5\u3057\u3066\uff0c\u3057\u3070\u3089\u304f\u69d8\u5b50\u3092\u898b\u3066\u3044\u307e\u3059\uff0e \u307e\u3060\uff0c10\u5206\u4f4d\u3057\u304b\u52d5\u304b\u3057\u3066\u3044\u307e\u305b\u3093\u304c\uff0cscsi_eh_\u306a\u3093\u3068\u304b\u306e\u30d7\u30ed\u30bb\u30b9\u306f\u4eca\u306e\u6240\u73fe\u308c\u3066\u3044\u307e\u305b\u3093\uff0e\u306a\u3093\u3068\u304b\u672c\u8cea\u7684\u306a\u554f\u984c\u306f\uff0c\u89e3\u6c7a\u3057\u305f\u6a21\u69d8\u3067\u3059\uff0e \u3042\u3068\u306f\uff0crc.libvirt\u3067\u8d77\u52d5\u3057\u305f\u3068\u304d\u30c7\u30fc\u30e2\u30f3\u304c\u5c45\u5ea7\u3089\u306a\u3044\u554f\u984c\u3092\u8abf\u3079\u3066\u307f\u307e\u3059\uff0e rc.libvirt libvirtd\u3092\u8d77\u52d5\u3059\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u306b-l\u304c\u3064\u3044\u3066\u3044\u3066\uff0c\u3053\u308c\u3092\u624b\u52d5\u3067\u8d77\u52d5\u3059\u308b\u3068\u304d\u306b\u3064\u3051\u308b\u3068\u3084\u306f\u308a\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3059\uff0e-l\u304c\u306a\u304f\u3066\u3082\u30cd\u30c3\u30c8\u306b\u7e4b\u304c\u308b\u306e\u3067\uff0c\u8d77\u52d5\u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089-l\u3092\u5916\u3057\u307e\u3057\u305f\uff0e<\/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],"tags":[],"class_list":["post-11427","post","type-post","status-publish","format-standard","hentry","category-kvm","category-linux"],"publishpress_future_action":{"enabled":false,"date":"2026-04-18 21:47:58","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\/11427","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=11427"}],"version-history":[{"count":0,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=\/wp\/v2\/posts\/11427\/revisions"}],"wp:attachment":[{"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/je1sgh.mydns.jp\/je1sghblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}