summaryrefslogtreecommitdiffstats
path: root/align
Commit message (Collapse)AuthorAgeFilesLines
* tests: Replace 'make extra-tests' with individual tests.Richard W.M. Jones2012-11-132-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | 'make extra-tests' was a monolithic set of tests that did all sorts of things: valgrind, tests over local guests, tests with upstream qemu, tests with upstream libvirt, tests with the appliance attach method. This made it hard to perform individual tests, eg. just valgrind testing. It was also hard to maintain because the tests were not located in the same directories as the programs and sometimes duplicated tests that were run elsewhere. This commit splits up 'make extra-tests' into 5 separate targets: make check-valgrind # run a subset of tests under valgrind make check-valgrind-local-guests # test under valgrind with local guests make check-with-appliance # test with attach-method == appliance make check-with-upstream-qemu # test with an alternate/upstream qemu make check-with-upstream-libvirt # test with an alternate/upstream libvirt (You can also still run 'make extra-tests' which is now simply a rule that runs the above 5 targets in order). This replaces everything that was in the tests/extra directory, so that has now gone.
* align: Add a test for virt-alignment-scan.Richard W.M. Jones2012-11-132-2/+33
|
* syntax: Remove gnulib c-ctype.h in files that don't use it.Richard W.M. Jones2012-09-151-1/+0
| | | | Found by 'make syntax-check'.
* syntax: Remove include <assert.h> where assert is not used.Richard W.M. Jones2012-09-151-1/+0
| | | | Found by 'make syntax-check'.
* podwrapper: Add --license parameter, which is required.Richard W.M. Jones2012-08-211-0/+1
| | | | | | | | | | This adds standard LICENSE and BUGS sections to all of the man pages that are processed by podwrapper. Modify all the calls to $(PODWRAPPER) to add the right --license parameter according to the content. Note that this relaxes the license on some code example pages, making them effectively BSD-style licensed.
* man pages: Ensure consistent copyright/author sections, remove licenseRichard W.M. Jones2012-08-211-14/+0
| | | | | | | | | | section. Ensure each man page contains consistent COPYRIGHT and AUTHOR sections. Remove the LICENSE section. We will add that back in podwrapper in a later commit.
* fish: Rename fish/virt.c to fish/domain.cRichard W.M. Jones2012-07-191-2/+2
| | | | | This file handles the -d option for guestfish and other C command line utilities. Renaming this file makes it less confusing.
* build: Change calls to podwrapper.sh to use $(PODWRAPPER).Richard W.M. Jones2012-07-161-1/+1
| | | | | This will allow us to easily change the location of this script in future.
* run: Set MALLOC_PERTURB_ to a random value.Richard W.M. Jones2012-06-281-5/+1
| | | | | | | | | | | | | | | | | MALLOC_PERTURB_ is a glibc feature which causes malloc to wipe memory before and after it is used, allowing both use-after-free and uninitialized reads to be detected with relatively little performance penalty: http://udrepper.livejournal.com/11429.html?nojs=1 Modify the ./run script so that it always sets this. We were already using MALLOC_PERTURB_ in most tests. Since ./run is now setting this, we can remove it from individual Makefiles. Most TESTS_ENVIRONMENT will now simply look like this: TESTS_ENVIRONMENT = $(top_builddir)/run --test
* tests: Add ./run --test option.Richard W.M. Jones2012-06-261-1/+1
| | | | | | | This option, when added via TESTS_ENVIRONMENT = [...] $(top_builddir)/run --test allows us to run the tests and only print the full output (including debugging etc) when the test fails.
* New API: guestfs_canonical_device_name.Richard W.M. Jones2012-06-131-6/+6
| | | | This API makes device names canonical, eg. /dev/vda1 -> /dev/sda1.
* virt-alignment-scan: Don't fail immediately if a disk is not accessible ↵Richard W.M. Jones2012-05-031-9/+27
| | | | (RHBZ#789504).
* virt-alignment-scan, virt-df: Add newlines after error messages.Richard W.M. Jones2012-05-031-5/+5
|
* Remove "convenience header" "gettext.h" and use <libintl.h> instead.Richard W.M. Jones2012-05-011-0/+1
| | | | | | | | | | | | gettextize provides a local file called "gettext.h". Remove this and use <libintl.h> from glibc headers instead. Most of this change is mechanical: #include <libintl.h> in every C file which uses any gettext function. But also we remove the gettext.h file, and adjust the "_" macros. Note that this effectively removes the ./configure --disable-nls option, although we don't know if that ever worked.
* Check library still compiles without libvirt.Richard W.M. Jones2012-04-181-0/+2
|
* virt-alignment-scan: Fix error code.Richard W.M. Jones2012-04-171-2/+2
| | | | This fixes commit fb401ebff837f9df7c06acb8467b2c03d5b8ced0.
* virt-alignment-scan: Add ability to list all domains.Richard W.M. Jones2012-04-175-25/+446
| | | | | | | | | | The output looks like this: F16x64:/dev/sda1 1048576 1024K ok F16x64:/dev/sda2 2097152 2048K ok F16x64:/dev/sda3 526385152 2048K ok If the --uuid option is used, then UUIDs are shown instead of names.
* virt-alignment-scan: Fix typo in man page (thanks yurchor).Richard W.M. Jones2012-01-281-1/+1
|
* Replace setting of environment variables with usage of local run scriptHilko Bengen2012-01-231-3/+1
| | | | (Includes fix by RWMJ)
* virt-alignment-scan: Add checks for when API calls return NULL.Richard W.M. Jones2011-11-241-0/+4
| | | | | In particular, virt-alignment-scan -a /dev/null would segfault because of an error returned by parted.
* Update FSF address.Matthew Booth2011-11-083-3/+3
|
* virt-alignment-scan: Add additional data for 4K sector drivesRichard W.M. Jones2011-10-271-3/+18
| | | | (thanks Matt Booth).
* resize: Add --align-first auto|never|always option.Richard W.M. Jones2011-10-201-18/+9
| | | | | The first partition can now be aligned. We fix the bootloader correctly for Windows by adjusting the "Hidden Sectors" field.
* virt-alignment-scan: Fix SYNOPSIS in manual page.Richard W.M. Jones2011-10-071-2/+0
|
* virt-alignment-scan: docs: Add link to RHEL Storage Administration Guide.Richard W.M. Jones2011-10-061-0/+3
|
* virt-alignment-scan: More information in man page.Richard W.M. Jones2011-10-061-7/+147
| | | | Thanks Mike Snitzer.
* New tool: virt-alignment-scan to check alignment of partitions.Richard W.M. Jones2011-10-053-0/+600