title: Why are my VM's visible to either virsh virt-manager, but not both?
body: <p>I have an <strong>Ubuntu 14.04</strong> host running <strong>xen</strong>, with a couple of <strong>VM's</strong> (<code>win7 and another 14.04</code>). I created these remotely using <strong>virt-manager</strong>. They've been running nicely for quite some time.</p>
  
  <p>But when I try "<code>virsh list --all</code>" on the host, I get nothing in the list.</p>
  
  <p>I attempted to import one of the VM's, like this:</p>
  
  <pre><code>virt-install -n my_name -r 512 --os-type=linux --os-variant=ubuntutrusty --disk /var/lib/libvirt/images/my_name.img --import
  </code></pre>
  
  <p>As far as <strong>virsh</strong> was concerned, this looked like it worked. It showed up as "<strong>running</strong>" on virsh list. However, <strong>I couldn't connect to it</strong>, not even ping it. Looking at <strong>virt-manager</strong>, it still thought the <strong>VM was shut off</strong>.</p>
  
  <p>I ran "<code>virsh destroy my_name</code>" to halt it, then started it in <strong>virt-manager</strong>. It's running as normal there, but <strong>virsh list shows as shut off</strong>.</p>
  
  <p>The two apps seem to be pulling from different sources to get their info, but I don't know where those are, and don't know how to get them to get along. </p>
  
  <p>How do I get <strong>virsh</strong> and <strong>virt-manager</strong> to be friends?</p>