After compiling libvirt, my existing VMs are not getting listed when i execute virsh list --all. Once I go back to the older version i can see those VMs.<div>These are VMs provisioned using openstack. So they are in the location /var/lib/nova/instances. Is it that only newly created VMs will be recognized by libvirt?</div>
<div>Is it possible to view already created Vms?<br><div><br></div><div>Regards</div><div>Ananth<br><br><div class="gmail_quote">On Mon, Jul 9, 2012 at 7:50 PM, Osier Yang <span dir="ltr"><<a href="mailto:jyang@redhat.com" target="_blank">jyang@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2012年07月09日 18:04, Ananth wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
Thanks for the inputs. I was able to resolve all dependencies and<br>
compile libvirt-0.9.8 successfully. I am able to see the newly built<br>
virsh tool inside /opt/libvirt/bin/virsh. But I am unable to start the<br>
newly compiled service. My service is available in<br>
/opt/libvirt/bin/libvirtd since i compiled with option ./configre<br>
--with-netcf --prefix=/opt/libvirt.<br>
<br>
I already had libvirt-0.9.4 installed in the system. So I stopped the<br>
libvirtd service and started the service from<br>
/opt/libvirt/sbin/libvirtd. I can see the below error message.<br>
<br>
[root@CENTOS-BAY3 sbin]# ./libvirtd start<br>
2012-07-09 09:48:12.576+0000: 12149: info : libvirt version: 0.9.8<br>
2012-07-09 09:48:12.576+0000: 12149: error :<br>
networkCheckRouteCollision:<u></u>1655 : internal error Network is already in<br>
use by interface virbr0<br>
</blockquote>
<br></div>
It should be caused by the default network is not destroyed.<br>
And the bridge virbr0 is still working. (It's the right way<br>
from my p.o,v, as you won't want to break the network of the<br>
running guests even libvirtd is stopped). You can destroy the<br>
default network before stopping libvirtd:<br>
<br>
# virsh net-destroy default<br>
<br>
Regards,<br>
Osier<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards<br>Ananth<br>
</div></div>