diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2012-07-23 21:26:18 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-07-23 21:26:18 +0100 |
commit | 941ec968b8a1d6f891d30631a8ddb1e23e427b99 (patch) | |
tree | 738bc815255cfa77ac443007761fe3ed5d870e84 /examples/copy_over.c | |
parent | bf00be0e17c03f46075b3276fade7bd23d380557 (diff) | |
download | libguestfs-941ec968b8a1d6f891d30631a8ddb1e23e427b99.tar.gz libguestfs-941ec968b8a1d6f891d30631a8ddb1e23e427b99.tar.xz libguestfs-941ec968b8a1d6f891d30631a8ddb1e23e427b99.zip |
lib: Initialize libvirt and libxml2 once when the library loads.
Diffstat (limited to 'examples/copy_over.c')
-rw-r--r-- | examples/copy_over.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/copy_over.c b/examples/copy_over.c index 45b8fa6d..ec026168 100644 --- a/examples/copy_over.c +++ b/examples/copy_over.c @@ -21,7 +21,6 @@ #include <pthread.h> #include <guestfs.h> -#include <libvirt/libvirt.h> struct threaddata { const char *src; @@ -66,9 +65,6 @@ main (int argc, char *argv[]) struct timeval start_t, end_t; int64_t ms; - /* This is required when using libvirt from multiple threads. */ - virInitialize (); - if (argc != 5) { usage (); exit (EXIT_FAILURE); |