{"id":865,"date":"2019-03-01T16:32:05","date_gmt":"2019-03-01T13:32:05","guid":{"rendered":"https:\/\/artem.services\/?p=823"},"modified":"2019-03-12T17:25:25","modified_gmt":"2019-03-12T14:25:25","slug":"visrh-d0-be-d1-81-d0-bd-d0-is-d0-d0-8b-d0-ba-b5-be-d0-bc-d0-d0-d0-bd-b0-d0-d1-d0","status":"publish","type":"post","link":"https:\/\/artem.services\/?p=865&lang=en","title":{"rendered":"VISRH &#8212; Basic commands"},"content":{"rendered":"<p><img loading=\"lazy\" class=\"size-full wp-image-861 aligncenter\" src=\"https:\/\/artem.services\/wp-content\/uploads\/2019\/03\/libvirt-logo.png\" alt=\"\" width=\"800\" height=\"271\" srcset=\"https:\/\/artem.services\/wp-content\/uploads\/2019\/03\/libvirt-logo.png 800w, https:\/\/artem.services\/wp-content\/uploads\/2019\/03\/libvirt-logo-300x102.png 300w, https:\/\/artem.services\/wp-content\/uploads\/2019\/03\/libvirt-logo-768x260.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p><span class=\"tlid-translation translation\"><span title=\"\">List of basic command to get started with <strong>Virsh<\/strong><\/span><\/span><\/p>\n<p><span class=\"\" title=\"\">Connect to <strong>libvirtd<\/strong><\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nvirsh --connect qemu:\/\/\/system\r\n<\/pre>\n<p><span class=\"tlid-translation translation\"><span class=\"\" title=\"\">Validation of xml file<\/span><\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nvirt-xml-validate vm_01.xml\r\n<\/pre>\n<p>&nbsp;<\/p>\n<blockquote><p>VM name &#8212; <strong>vm_01<\/strong><\/p><\/blockquote>\n<p><span class=\"tlid-translation translation\"><span class=\"\" title=\"\">Running a virtual machine:<\/span><\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nvirsh start vm_01\r\n<\/pre>\n<p><span class=\"tlid-translation translation\"><span class=\"\" title=\"\">Reboot the virtual machine:<\/span><\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nvirsh reboot vm_01\r\n<\/pre>\n<p><span class=\"tlid-translation translation\"><span class=\"\" title=\"\">Virtual machine editing:<\/span><\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nvirsh edit vm_01\r\n<\/pre>\n<p><span class=\"tlid-translation translation\"><span class=\"\" title=\"\">Information about the network interface of the virtual machine:<\/span><\/span><\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\nvirsh domiflist vm_01\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>List of basic command to get started with Virsh Connect to libvirtd Validation of xml file &nbsp; VM name &#8212; vm_01 Running a virtual machine: Reboot the virtual machine: Virtual machine editing: Information about the network interface of the virtual machine:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[535],"tags":[621,381],"_links":{"self":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/865"}],"collection":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=865"}],"version-history":[{"count":4,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/865\/revisions"}],"predecessor-version":[{"id":872,"href":"https:\/\/artem.services\/index.php?rest_route=\/wp\/v2\/posts\/865\/revisions\/872"}],"wp:attachment":[{"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=865"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=865"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/artem.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=865"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}