Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Version 1.19.42.1.19.42 | Richard W.M. Jones | 2012-09-17 | 20 | -15105/+15372 |
| | |||||
* | tmp: Ignore libguestfsXXXXXX temporary files in tmp dir. | Richard W.M. Jones | 2012-09-17 | 1 | -0/+1 |
| | |||||
* | ./run: Write temporary file in tmp directory. | Richard W.M. Jones | 2012-09-17 | 2 | -5/+7 |
| | | | | | We have a new 'tmp' directory under the top level dir for temporary files. Use it for the temporary output from the ./run script. | ||||
* | launch: libvirt: Pass TMPDIR to qemu subprocess. | Richard W.M. Jones | 2012-09-17 | 1 | -0/+14 |
| | |||||
* | New API: rm-f: remove a file, ignoring errors if it doesn't exist. | Richard W.M. Jones | 2012-09-17 | 3 | -1/+46 |
| | |||||
* | inspect: Fix segfault and error caused by earlier code cleanups. | Richard W.M. Jones | 2012-09-17 | 2 | -2/+5 |
| | | | | This fixes commit e128a627fb8f39f4f4c11b782cef895bd79f0282. | ||||
* | launch: libvirt: Disable sVirt if using a custom qemu (ie. setting <emulator>). | Richard W.M. Jones | 2012-09-17 | 1 | -4/+34 |
| | | | | | | See: https://bugzilla.redhat.com/show_bug.cgi?id=857659 especially Dan's comment 4. | ||||
* | Fix multiple errors where jump skips variable initialization. | Richard W.M. Jones | 2012-09-17 | 11 | -41/+54 |
| | | | | | | | <file>: error: jump skips variable initialization [-Werror=jump-misses-init] This has only just appeared, possibly related to previous gnulib update. In any case, this is just code motion / cleanup. | ||||
* | daemon: stubs: Move all arg decls to top of function. | Richard W.M. Jones | 2012-09-17 | 1 | -2/+2 |
| | | | | | | | | | | | | For some reason, argument declarations were handled inconsistently for strings and non-string arguments. Non-string arguments were all declared at the top of the function stub, where as string arguments were declared in place. Be consistent. This is just code motion. | ||||
* | maint: remove a subsumed syntax-check rule | Jim Meyering | 2012-09-17 | 1 | -11/+1 |
| | | | | | | * cfg.mk (sc_prohibit_trailing_blank_lines): Remove rule. It is now subsumed by the much more efficient sc_prohibit_empty_lines_at_EOF rule in gnulib's maint.mk. | ||||
* | syntax: Exclude examples and test program from <config.h> requirement | Richard W.M. Jones | 2012-09-17 | 1 | -0/+1 |
| | | | | (thanks Jim Meyering). | ||||
* | syntax: Allow strncpy in launch-*.c files (thanks Jim Meyering). | Richard W.M. Jones | 2012-09-17 | 1 | -0/+1 |
| | | | | | We use strncpy, justifiably, to copy the socket name into the fixed length Unix domain sun_path buffer. | ||||
* | syntax: Exclude examples from strcmp and strncmp checks (thanks Jim Meyering). | Richard W.M. Jones | 2012-09-17 | 1 | -0/+2 |
| | |||||
* | syntax: Ignore documentation when testing for magic number exit() calls ↵ | Richard W.M. Jones | 2012-09-17 | 1 | -0/+1 |
| | | | | (thanks Jim Meyering). | ||||
* | syntax: Exclude PO files from doubled words test (thanks Jim Meyering). | Richard W.M. Jones | 2012-09-17 | 1 | -0/+1 |
| | |||||
* | syntax: Remove definitions of O_CLOEXEC, except in examples (thanks Jim ↵ | Richard W.M. Jones | 2012-09-17 | 10 | -36/+1 |
| | | | | | | | Meyering). The gnulib <fcntl.h> replacement header will now define this symbol if it's not defined already. | ||||
* | syntax: Exclude period in error message checks from PHP programs (thanks: ↵ | Richard W.M. Jones | 2012-09-17 | 1 | -0/+1 |
| | | | | Jim Meyering). | ||||
* | syntax: Disable cast arg to free test (thanks Jim Meyering). | Richard W.M. Jones | 2012-09-17 | 1 | -1/+2 |
| | |||||
* | syntax: Exclude certain files from bindtextdomain test (thanks Jim Meyering). | Richard W.M. Jones | 2012-09-17 | 1 | -0/+3 |
| | |||||
* | Update to latest gnulib. | Richard W.M. Jones | 2012-09-17 | 2 | -0/+1 |
| | |||||
* | Version 1.19.41.1.19.41 | Richard W.M. Jones | 2012-09-16 | 20 | -4335/+4803 |
| | |||||
* | extra-tests: Write a qemu wrapper script on the fly. | Richard W.M. Jones | 2012-09-15 | 3 | -26/+14 |
| | | | | | | | | | | | Passing the $upstream_qemu environment variable is not reliable when libvirt is involved: Environment variables are passed to the first instance of the session libvirtd, but because libvirt reuses the session libvirtd, subsequent environment variable settings are lost (this is filed as RHBZ#856619). Bypass all of this by writing a custom qemu-wrapper.sh which contains the hard-coded values we want. | ||||
* | extra-tests: Rerun extra tests with regular appliance attach method. | Richard W.M. Jones | 2012-09-15 | 2 | -1/+35 |
| | | | | | If libvirt is being used as the backend, rerun all the extra-tests again using the regular appliance backend. | ||||
* | extra-tests: The upstream qemu test now reruns all the extra tests. | Richard W.M. Jones | 2012-09-15 | 3 | -10/+12 |
| | |||||
* | extra-tests: Fix libvirt URI so we can run tests with libvirt attach-method. | Richard W.M. Jones | 2012-09-15 | 1 | -14/+10 |
| | |||||
* | syntax: Remove trailing whitespace. | Richard W.M. Jones | 2012-09-15 | 12 | -16/+11 |
| | | | | Found by 'make syntax-check'. | ||||
* | generator: Remove inaccurate comment. | Richard W.M. Jones | 2012-09-15 | 1 | -20/+0 |
| | | | | | The correct way to extend functions is documented in generator/README. This comment was no longer accurate. | ||||
* | syntax: Replace test == with = or -eq as appropriate. | Richard W.M. Jones | 2012-09-15 | 2 | -12/+12 |
| | | | | Found by 'make syntax-check'. | ||||
* | syntax: xfs: Rewrite split_strdup function to avoid use of strncpy. | Richard W.M. Jones | 2012-09-15 | 1 | -6/+8 |
| | | | | Found by 'make syntax-check'. | ||||
* | syntax: Use STREQ/STRNEQ in place of strcmp. | Richard W.M. Jones | 2012-09-15 | 3 | -3/+5 |
| | | | | Found by 'make syntax-check'. | ||||
* | syntax: Remove include <signal.h> in file that doesn't use it. | Richard W.M. Jones | 2012-09-15 | 1 | -1/+0 |
| | | | | Found by 'make syntax-check'. | ||||
* | syntax: Remove PATH_MAX-sized buffers allocated on the stack. | Richard W.M. Jones | 2012-09-15 | 4 | -15/+33 |
| | | | | | | | | | | | | | | On Linux PATH_MAX is 4096, but on some platforms it can be much larger or even not defined (ie. unlimited). Therefore using a PATH_MAX-sized stack buffer is not a great idea for portable programs. This change removes use of PATH_MAX-sized stack-allocated buffers. This change only applies to the library and standalone programs. Inside the daemon, memory allocation is much more complicated so I have not changed those (yet). Found by 'make syntax-check'. | ||||
* | syntax: Remove gnulib "ignore-value.h" in files that don't use it. | Richard W.M. Jones | 2012-09-15 | 7 | -8/+0 |
| | | | | Found by 'make syntax-check'. | ||||
* | syntax: Remove include <dirent.h> in files that don't use it. | Richard W.M. Jones | 2012-09-15 | 2 | -2/+0 |
| | | | | Found by 'make syntax-check'. | ||||
* | syntax: Remove gnulib c-ctype.h in files that don't use it. | Richard W.M. Jones | 2012-09-15 | 8 | -9/+0 |
| | | | | Found by 'make syntax-check'. | ||||
* | syntax: Remove include <assert.h> where assert is not used. | Richard W.M. Jones | 2012-09-15 | 5 | -5/+0 |
| | | | | Found by 'make syntax-check'. | ||||
* | lib: Rearrange headers. | Richard W.M. Jones | 2012-09-15 | 2 | -10/+8 |
| | | | | This is just code motion. | ||||
* | lib: Remove unused headers <arpa/inet.h> and <netinet/in.h> | Richard W.M. Jones | 2012-09-15 | 2 | -4/+0 |
| | | | | | These were used back in the day when we used TCP for the communications channel with the guest. | ||||
* | syntax: Remove HAVE_*_H tests which are always true. | Richard W.M. Jones | 2012-09-15 | 3 | -42/+7 |
| | | | | | Gnulib supplies replacements for these headers, so there is no need to test. | ||||
* | perl: Add <stdio.h> and <stdlib.h> for printf and malloc. | Richard W.M. Jones | 2012-09-15 | 1 | -0/+2 |
| | |||||
* | perl: Include <inttypes.h> and assume it always defines PRId64 and PRIu64. | Richard W.M. Jones | 2012-09-15 | 1 | -8/+2 |
| | | | | | | If these are not defined in the header files, it's a problem on the platform which we should fix with gnulib. Our replacement definitions might be wrong here. | ||||
* | lib: These optargs structures are not modified, hence const. | Richard W.M. Jones | 2012-09-15 | 1 | -3/+3 |
| | |||||
* | syntax: Remove test for TAB indentation. | Richard W.M. Jones | 2012-09-15 | 1 | -8/+0 |
| | | | | | Nothing particularly wrong with using TABs for indentation, and this test also has a lot of false positives. | ||||
* | syntax: xfs: Remove useless if before free. | Richard W.M. Jones | 2012-09-15 | 1 | -4/+4 |
| | | | | Found by running 'make syntax-check'. | ||||
* | docs: Fix documentation of syntax-check target, add extra-tests. | Richard W.M. Jones | 2012-09-15 | 1 | -2/+7 |
| | |||||
* | faq: Make the legal section less unnecessarily legalistic. | Richard W.M. Jones | 2012-09-14 | 1 | -6/+7 |
| | |||||
* | faq: Tidy up headings. | Richard W.M. Jones | 2012-09-14 | 1 | -12/+16 |
| | |||||
* | faq: Add more answers about read-only disks. | Richard W.M. Jones | 2012-09-14 | 1 | -0/+35 |
| | |||||
* | launch: libvirt: Enable sVirt. | Richard W.M. Jones | 2012-09-14 | 1 | -21/+0 |
| | |||||
* | test-9p: Disable this test with libvirt. | Richard W.M. Jones | 2012-09-14 | 1 | -2/+2 |
| | | | | | This test doesn't work with sVirt if SELinux is enforcing, because qemu won't be able to access the 9p-exported directory on the host. |