Re: [Openstack] [Openstack-dev]Where is libvirt library packages in Openstack Nova branch

2013-01-21 Thread Daniel P. Berrange
On Sun, Jan 20, 2013 at 01:46:58PM +0800, harryxiyou wrote: Hi all, I read the source code of Openstack Nova branch source codes but i can not find the standard libvirt library packages, which i think Nova uses libvirt interfaces they are from standard libvirt library to attach Sheepdog(or

Re: [Openstack] [Openstack-dev]Where is libvirt library packages in Openstack Nova branch

2013-01-21 Thread harryxiyou
On Mon, Jan 21, 2013 at 8:14 PM, Daniel P. Berrange berra...@redhat.com wrote: [...] The nova driver for talking to libvirt is in nova/virt/libvirt/ Yup, i think so. Therefore, i also think nova driver in nova/virt/libvirt has some relationships with libvirt code itself, right? Nova driver send

Re: [Openstack] [Openstack-dev]Where is libvirt library packages in Openstack Nova branch

2013-01-21 Thread Daniel P. Berrange
On Tue, Jan 22, 2013 at 12:13:57AM +0800, harryxiyou wrote: On Mon, Jan 21, 2013 at 8:14 PM, Daniel P. Berrange berra...@redhat.com wrote: [...] The nova driver for talking to libvirt is in nova/virt/libvirt/ Yup, i think so. Therefore, i also think nova driver in nova/virt/libvirt has

Re: [Openstack] [Openstack-dev]Where is libvirt library packages in Openstack Nova branch

2013-01-21 Thread harryxiyou
On Tue, Jan 22, 2013 at 12:20 AM, Daniel P. Berrange berra...@redhat.com wrote: [...] Nova simply uses the standard libvirt python module, which is a thin python wrapper around the libvirt.so C library. I think so, but i wonder if the standard libvirt python module is

Re: [Openstack] [Openstack-dev]Where is libvirt library packages in Openstack Nova branch

2013-01-21 Thread Daniel P. Berrange
On Tue, Jan 22, 2013 at 01:08:23AM +0800, harryxiyou wrote: On Tue, Jan 22, 2013 at 12:20 AM, Daniel P. Berrange berra...@redhat.com wrote: [...] Nova simply uses the standard libvirt python module, which is a thin python wrapper around the libvirt.so C library. I think so, but i wonder

Re: [Openstack] [Openstack-dev]Where is libvirt library packages in Openstack Nova branch

2013-01-21 Thread harryxiyou
On Tue, Jan 22, 2013 at 1:10 AM, Daniel P. Berrange berra...@redhat.com wrote: [...] That isn't the libvirt python module. That is Nova's libvirt integration driver code. That is to say, libvirt.so is from standard libvirt code itself and libvirt python module is from libvirt.so.

Re: [Openstack] [Openstack-dev]Where is libvirt library packages in Openstack Nova branch

2013-01-21 Thread harryxiyou
On Tue, Jan 22, 2013 at 9:21 AM, longeek mengql112...@gmail.com wrote: Hi friends, Hi Meng, the python interface of libvirt maybe help you, because openstack uses it in nova/virt/libvirt/ If openstack use it direactly, how to call these interface effectively? I think Nova should place

[Openstack] [Openstack-dev]Where is libvirt library packages in Openstack Nova branch

2013-01-19 Thread harryxiyou
Hi all, I read the source code of Openstack Nova branch source codes but i can not find the standard libvirt library packages, which i think Nova uses libvirt interfaces they are from standard libvirt library to attach Sheepdog(or others) volumes to QEMU. If i add a new block storage driver for