[libvirt] Changing test_driver.c file

Arun Viswanath arun.viswanath at gmail.com
Sat Oct 5 14:55:03 UTC 2013


Hi Eric,

Thanks for the response.
As mentioned I need to build the libvirt and install it in different VM.

I'm new to libvirt and new to C programming as well. Will you provide me
any reference about all different way to build and install the libvirt.

Thanks In Advance,
Arun V


On Fri, Oct 4, 2013 at 11:45 PM, Eric Blake <eblake at redhat.com> wrote:

> [no need to post to two separate lists; this is a development question,
> so replies can drop libvirt-users]
>
> On 10/04/2013 12:08 PM, Arun Viswanath wrote:
> > Hi All,
> >
> > For some testing purpose I've changed some content in
> > src/test/test_driver.c and then used "make" command to compile and build
> > the code. Then I copied the "libvirt.so.0.9.10.so" file to the target
>
> Huh?  Why are you building 0.9.10 instead of the latest 1.1.3?
>
> > machine and restart the libvirtd daemon, but the changes I made in
> > test_driver.c is nothing reflected. I'm not sure whether I'm missing
> > something. Is it moving only the "libvirt.so.0.9.10.so" is enough or I
> need
> > to move some .a files ? , but I'm not seeing any ".a" in the kvm host
> > related to libvirt to replace. Please provide me sufficient info to
> proceed
> > further.
>
> What configure options did you use when you built libvirt?  Manually
> copying single files onto a target machine is almost always wrong; much
> better is to 'make install' (perhaps with an appropriate
> DESTDIR=/staging setting), then place that entire installed tree into
> place on the destination.  If you are using a Fedora-based distro, 'make
> rpm' will even turn your self-built binary into an rpm that you can
> install using your package manager, for much easier control over getting
> everything right.
>
> --
> Eric Blake   eblake redhat com    +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131005/c7bf3400/attachment-0001.htm>


More information about the libvir-list mailing list