{"id":232,"date":"2024-08-20T08:35:53","date_gmt":"2024-08-20T12:35:53","guid":{"rendered":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/?p=232"},"modified":"2024-10-11T09:03:50","modified_gmt":"2024-10-11T13:03:50","slug":"libvirt-qemu-guest-wont-start","status":"publish","type":"post","link":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/?p=232","title":{"rendered":"libvirt \/ qemu guest won&#8217;t start"},"content":{"rendered":"\n<p>If you see the error message &#8220;Error starting domain: Requested operation is not valid: network &#8216;default&#8217; is not active&#8221;, it means the network hasn&#8217;t started.<\/p>\n\n\n\n<p>Do the following:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo virsh net-list --all<\/code><\/pre>\n\n\n\n<p>You will see:<\/p>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-8cf370e7 wp-block-group-is-layout-flex\">\n<p>Name      State        Autostart     Persistent<\/p>\n\n\n\n<p>default    inactive   no                   yes<\/p>\n<\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo virsh net-start default<\/code><\/pre>\n\n\n\n<p>Network default started<\/p>\n\n\n\n<p>Set it to autostart:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo virsh net-autostart default<\/code><\/pre>\n\n\n\n<p>Check status:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo virsh net-list --all<\/code><\/pre>\n\n\n\n<div class=\"wp-block-group is-vertical is-layout-flex wp-container-core-group-is-layout-8cf370e7 wp-block-group-is-layout-flex\">\n<p>Name      State      Autostart       Persistent<\/p>\n\n\n\n<p>default    active    yes                    yes<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>If you see the error message &#8220;Error starting domain: Requested operation is not valid: network &#8216;default&#8217; is not active&#8221;, it means the network hasn&#8217;t started. Do the following: You will see: Name State Autostart Persistent default inactive no yes Network default started Set it to autostart: Check status: Name State Autostart Persistent default active yes [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-232","post","type-post","status-publish","format-standard","hentry","category-kvm"],"_links":{"self":[{"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/232","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=232"}],"version-history":[{"count":1,"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/232\/revisions"}],"predecessor-version":[{"id":233,"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/232\/revisions\/233"}],"wp:attachment":[{"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=232"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/triosdevelopers.com\/J.Smith\/rjeffsmith.ca\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}