summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* recipes: For listing files, point to virt-ls.Richard W.M. Jones2012-08-301-3/+1
| | | | (cherry picked from commit d944a491ac3aa9b9ed1bcdc0ee378519a367276a)
* recipes: Add a section on deleting a file and other common file operations.Richard W.M. Jones2012-08-301-0/+18
| | | | (cherry picked from commit 10d48bef3055e1b7177b4f8df52133c50484a87a)
* run: Disable 'memory optimizations' in glib programs, for valgrind (thanks ↵Richard W.M. Jones2012-08-301-0/+3
| | | | | | Dan Berrange). (cherry picked from commit 5e6727746367ba3f935dccb80109abf8e34fe74d)
* subdir-rules.mk: Remove rules that recursively build src/ and daemon/.Richard W.M. Jones2012-08-301-8/+0
| | | | | These are unnecessary, and slow down the whole build. (cherry picked from commit 856e78a2ce025563de5d9e8c416edf054b0db563)
* test-launch-race: Use /dev/null instead of hand-made zero-length file.Richard W.M. Jones2012-08-301-5/+2
| | | | | | There seems to be no reason why creating a zero-length file is necessary for this test. (cherry picked from commit 7f9f2818651860a15a7142d3761e3168e062c357)
* launch: Add utility function guestfs___lazy_make_tmpdir.Richard W.M. Jones2012-08-302-8/+21
| | | | | | | | This lets us create g->tmpdir lazily earlier if needed. This commit is just code motion. (cherry picked from commit 4b8ac437295d5420d3186a913bc3740b69a8d342)
* lib: Add 'g->unique' to handle, for making unique IDs.Richard W.M. Jones2012-08-301-0/+6
| | | | (cherry picked from commit 22607a97cdf115caabf05c3dc87c5f154a2e914c)
* inspect: Clarify comment about uniqueness of cache.Richard W.M. Jones2012-08-301-1/+3
| | | | (cherry picked from commit 8fd6f1bebef11d1c4eb77ac2b7d95fd5a7e82be9)
* close: Check if g->tmpdir is non-NULL before removing tmpdir.Richard W.M. Jones2012-08-301-1/+2
| | | | | This happens, by chance, to work. (cherry picked from commit ba61236d0d6756f45d8707e96cda00c016cadebe)
* java: Fix bindtests when passing 64 bit integer literals.Richard W.M. Jones2012-08-301-2/+2
| | | | (cherry picked from commit 704e46af9c054fe3571884989c992dfd7d8284e5)
* ocaml: Fix bindtests when passing negative optional arguments.Richard W.M. Jones2012-08-301-2/+2
| | | | (cherry picked from commit 9526f632d80f8d66ecf8a7da5444e1446129fceb)
* python: Fix comment referring to Perl(!)Richard W.M. Jones2012-08-301-1/+1
| | | | (cherry picked from commit 7dd2389359d190e81696f1b2e91e719bdc1822f2)
* generator: Allow permission of output files to be specified.Richard W.M. Jones2012-08-302-3/+3
| | | | (cherry picked from commit 449bd4b50ff8ecd9128439a39a74ca731a17aa1f)
* Even on Debian, the package containing the diff binary it has been diffutils ↵Hilko Bengen2012-08-301-3/+1
| | | | | | | for two years. There had been a virtual package "diff" that depended on diffutils, but that's gone in wheezy/sid, too. (cherry picked from commit 3234a1f903bb77c66252b38425a4c913f8e7bb8c)
* daemon: New utility functions 'join_strings', 'concat_strings'.Richard W.M. Jones2012-08-302-0/+48
| | | | | | Useful functions for concatenating strings together. (cherry picked from commit 637b06ab1384f0c904715ba76fc759dac1b95500)
* bindtests: Space before parens in call.Richard W.M. Jones2012-08-301-1/+1
| | | | (cherry picked from commit 690bdaa3927e56d33e241752eef37f887274d73b)
* ocaml: Use Store_field macro instead of caml_modify.Richard W.M. Jones2012-08-301-1/+1
| | | | | | | | Use the safer, higher level Store_field macro when constructing arrays of structs to return. I don't know if it is strictly necessary in this case, but it's safer. (cherry picked from commit 769a6f24c60e7a4d55560025554796ba4be19d03)
* virt-make-fs: Remove note about vfat and ownership of tarball files.Richard W.M. Jones2012-08-301-5/+0
| | | | | | This problem has been fixed in commit 50780a84f65ec5d76605691cea889392c2730f54. (cherry picked from commit 2295b09f259ece053f1370f7527d01705976732a)
* generator: 'delete' is a reserved word (in C++).Richard W.M. Jones2012-08-301-4/+4
| | | | (cherry picked from commit 7d6f76709e71b38e0bc4f018c4d873a32ffe19da)
* tests/extra: Add workaround for memory leak in libvirt.Richard W.M. Jones2012-08-301-1/+13
| | | | | See: https://bugzilla.redhat.com/show_bug.cgi?id=847429 (cherry picked from commit 04b475b41476b75ef3851fdd093a9868df0c7357)
* Version 1.16.29.1.16.29Richard W.M. Jones2012-08-051-1/+1
|
* fuse: guestmount doesn't let you pass '-- [FUSE options]'.Richard W.M. Jones2012-08-051-1/+1
| | | | | | | I don't think it ever did, so the --help text was always wrong, and definitely didn't match the real behaviour of the program. (cherry picked from commit 87602b09ead198bd84c0dac83fde2d1c3dfe55bd)
* ruby: Mark all VALUEs as volatile.Richard W.M. Jones2012-08-051-15/+26
| | | | (cherry picked from commit 083125f709c8ca6ec56abf99df918e70376a99bd)
* fish: Fix 'copy-out /' (RHBZ#845522).Richard W.M. Jones2012-08-051-0/+16
| | | | (cherry picked from commit 2a87261dfc830cd6bcb44aa1628d955cb6423bd7)
* Document problems copying long filenames from NTFS to Linux filesystems ↵Richard W.M. Jones2012-08-051-0/+22
| | | | | | (RHBZ#845488). (cherry picked from commit 7fa67427c6b2725bdcce52c08511f8813b7bd42e)
* build: On x86 search for qemu-system-i386 not qemu-system-i686.Richard W.M. Jones2012-08-051-1/+2
| | | | | | host_cpu can be set to i686. The qemu binary is called qemu-system-i386. Apply some sed to fix this. (cherry picked from commit f21b866f3141bb85ebf93ccf0c906ab0b73960f9)
* build: Allow building with new glibc headers and -O0.Eric Blake2012-08-051-2/+5
| | | | | | | This is a patch taken from libvirt. See: http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=2af63b1c349 (cherry picked from commit 06780a92b3e4ea14c09a169cc1d22c1371621fc3)
* appliance: Exclude kernel* packages explicitly.Richard W.M. Jones2012-08-051-4/+9
| | | | | | febootstrap >= 3.19 will no longer exclude the kernel package by default. (cherry picked from commit 77326fa4ad757bb255a3c3a07bef8c3ce050a5ac)
* ruby: Allow optional arguments hash to be really optional.Richard W.M. Jones2012-08-051-38/+59
| | | | | | | | | | | | | | | Allow optargs functions to be called as either: g.mkfs_opts(fs, device) or: g.mkfs_opts(fs, device, { optargs hash }) This also preserves backwards compatibility with once_has_no_optargs functions such as mkfs. (cherry picked from commit 0f837ec068783a6318ba6f7490b567566bce2aa4)
* ruby: In event wrapper, ignore callback functions which have type T_ZOMBIE.Richard W.M. Jones2012-08-051-2/+7
| | | | | Note that in old versions of Ruby, T_ZOMBIE was not defined. (cherry picked from commit 5f30912d74a553399d2bda055560d4340a15088d)
* sparsify: Change code that generates qemu-img -o argument.Richard W.M. Jones2012-08-051-7/+9
| | | | | This is just code motion. (cherry picked from commit 0b3b5f984c2011632c6d56e5f0ae1194d2c5074b)
* fish: Use minimal permissions when initially creating history fileMatthew Booth2012-08-051-1/+1
| | | | (cherry picked from commit 1fb95e65661f19c050b928694f750f2406eff2ac)
* Mac OS X: Use libtool --mode=execute instead of LD_LIBRARY_PATHMasami HIRATA2012-08-051-7/+7
| | | | | | | | because Mac OS X doesn't support LD_LIBRARY_PATH Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit 61c9ea496e0579bb7d1bcf496595d66c3f08cfec)
* Mac OS X: Use gnulib stat-time module explicitly.Masami HIRATA2012-08-051-0/+1
| | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit 7d3f190d90140aa15b1326bdf7756c39559ae3c2)
* Mac OS X: #define UNIX_PATH_MAX 104Masami HIRATA2012-08-051-0/+4
| | | | | | | See http://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man4/unix.4.html Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit 7dab20876530a7ac954b4fe809755ac12a8d8c4d)
* Mac OS X: Added check of #include <endian.h>Masami HIRATA2012-08-057-0/+21
| | | | | | | Mac OS X doesn't have endian.h Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit 6e3f8d2511a63bdcfa7c7d0e5414d5643c4ff599)
* Mac OS X: Use gnulib fstatat module explicitly.Masami HIRATA2012-08-052-0/+2
| | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit a47fa7a65e89d80ba1362b39cb9686e5022b7dce)
* Mac OS X: Use gnulib memmem module explicitly.Masami HIRATA2012-08-052-0/+2
| | | | | | | m4/.gitignore: Update. Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit d6ef91d7c4b6cfbd9e4d49317dc7ed414900c4d2)
* configure: Use $(PERL) instead of perlMasami HIRATA2012-08-051-10/+10
| | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> (cherry picked from commit ef1a8446a659fe3647d755334703a1020a0f88dc)
* tests: Skip regression test for 790721 if attach-method is not 'appliance'.Richard W.M. Jones2012-08-051-0/+25
| | | | (cherry picked from commit 2b059535b19125ca082f4354a7ff73f4f5a33822)
* lib: Initialize libvirt and libxml2 once when the library loads.Richard W.M. Jones2012-08-052-11/+36
| | | | (cherry picked from commit 941ec968b8a1d6f891d30631a8ddb1e23e427b99)
* python: Set file encoding to utf-8.Richard W.M. Jones2012-08-051-0/+5
| | | | (cherry picked from commit a6366f5dae0e8332cfdad0894aa6e5c7fc3faa2c)
* tests/protocol: Skip these tests if default attach-method is not 'appliance'.Richard W.M. Jones2012-08-053-0/+15
| | | | (cherry picked from commit bc917a0efc03b8c28966c9ab474f525752ebe440)
* java: Set '-encoding utf8' for javac and javadoc commands.Richard W.M. Jones2012-08-052-2/+3
| | | | (cherry picked from commit 7a691e6665ed5079e6baa000c9c475f32ca78475)
* java: JAVAC_FLAGS -> EXTRA_JAVAC_FLAGS.Richard W.M. Jones2012-08-053-4/+8
| | | | | | This is just a rename. (cherry picked from commit 7f519bdc06de978c2460112a88e8bfac5f292dee)
* lib: Use safe_asprintf when constructing attach_method.Richard W.M. Jones2012-08-052-6/+2
| | | | | Just a small code cleanup / simplification. (cherry picked from commit eca544d87d9335123077e30b7547270b6bfe0f2b)
* fish: Rename fish/virt.c to fish/domain.cRichard W.M. Jones2012-08-0511-19/+19
| | | | | | This file handles the -d option for guestfish and other C command line utilities. Renaming this file makes it less confusing. (cherry picked from commit 6054051a9d8a5eee4141ca4b12aa5b7d1f36f56d)
* build: Rename src/virt.c to src/libvirtdomain.cRichard W.M. Jones2012-08-053-2/+2
| | | | | | This file contains the code implementing guestfs_add_domain (for adding a libvirt domain) so this name is less confusing. (cherry picked from commit d1d29ab488002dda9e9a1b25fc2dbe4cb844f5ef)
* Remove references to long-obsolete Ocaml_inspector module from .gitignore.Richard W.M. Jones2012-08-051-2/+0
| | | | | Cherry picked from commit a8b4ea1f0c173ab5662a4d0d084f0affb972c94e.
* podwrapper: Fix setting of GIT_DIR in git subcommand.Richard W.M. Jones2012-08-051-1/+2
| | | | | This fixes commit 1e17a32060feb937b3972f61b37f9116ad7d8d9a. (cherry picked from commit f514d462cda5395c8614577930ee69eebafc969d)