summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* New APIs: copy-{file,device}-to-{file,device}.Richard W.M. Jones2011-10-266-12/+326
| | | | | | | | | | | The four new APIs: guestfs_copy_device_to_device, guestfs_copy_device_to_file, guestfs_copy_file_to_device, and guestfs_copy_file_to_file let you copy from a source to a destination, between files and devices, optionally allowing source and destination offsets and size to be specified.
* ocaml: Make sure virt-resize, virt-sparsify are rebuilt if Guestfs API changes.Richard W.M. Jones2011-10-254-16/+16
| | | | | | | | Add a dependency so these tools are rebuilt from scratch if the Guestfs API changes. This prevents the error: "[...] make inconsistent assumptions over interface Guestfs". This commit includes the generated changes to .depend files.
* virt-filesystems: Add MBR partition type byte to the output.Richard W.M. Jones2011-10-252-12/+64
| | | | | | | | | | | | | This adds an extra column containing this information, looking like this: Name Type VFS Label MBR Size Parent /dev/sda1 filesystem ntfs - - 6.0G - /dev/sda1 partition - - 07 6.0G /dev/sda /dev/sda device - - - 6.0G - In particular you can use this to tell if a partition is an extended partition, because the field will contain '05' or '0f'.
* New API: part-to-partnumRichard W.M. Jones2011-10-253-2/+43
| | | | | | This converts a partition device name (eg. /dev/sda1) to a partition number (eg. 1). This is useful in conjunction with the parted APIs that mostly take a disk device + partnum.
* virt-cat: Handle Windows paths and drive letters (RHBZ#693359).Richard W.M. Jones2011-10-252-3/+180
|
* Version 1.13.24.1.13.24Richard W.M. Jones2011-10-2420-937/+1050
|
* Add test for qemu broken -machine option (RHBZ#748266).Richard W.M. Jones2011-10-242-1/+58
| | | | | | | Also add this option, if necessary, when testing for virtio-serial support. When the workaround is enabled, we specify machine type 'pc'.
* Revert "out-of-tree build: daemon"Richard W.M. Jones2011-10-241-2/+2
| | | | | | | | | | | | | This reverts commit 025dba7f803419f510fd8f085ce693838af82878. If build and source directories are the same, you get this error: make[3]: Leaving directory `/home/rjones/d/libguestfs/generator' make[2]: Circular guestfs_protocol.c <- guestfs_protocol.c dependency dropped. make[2]: Circular guestfs_protocol.h <- guestfs_protocol.h dependency dropped. rm -f guestfs_protocol.h ln guestfs_protocol.h ln: accessing `guestfs_protocol.h': No such file or directory
* virt-win-reg: Document syntax for deleting keys and values (RHBZ#737944).Richard W.M. Jones2011-10-221-0/+11
| | | | NB: This requires hivex >= 1.3.2 before this syntax becomes true.
* virt-make-fs: Refresh man page.Richard W.M. Jones2011-10-221-36/+38
|
* Fix ./configure --disable-erlang.Richard W.M. Jones2011-10-211-3/+3
|
* out-of-tree build: fixed bindtests and inspectorHilko Bengen2011-10-217-8/+8
|
* out-of-tree build: fix HAVE_OCAML=false caseHilko Bengen2011-10-211-1/+1
|
* out-of-tree build: daemonHilko Bengen2011-10-211-2/+2
|
* add-drive-opts: Correctly handle unreadable and unwritable files (RHBZ#747287).Richard W.M. Jones2011-10-211-3/+14
|
* virt-make-fs: Set MBR partition type byte correctly (RHBZ#746295).Richard W.M. Jones2011-10-211-0/+16
|
* lib: Common code for formatting the qemu -drive parameter.Richard W.M. Jones2011-10-211-28/+32
| | | | This is just code refactoring.
* Allow compilation without hivex (RHBZ#723474).Richard W.M. Jones2011-10-213-96/+97
|
* po-docs: Force make update-po on first build from git.Richard W.M. Jones2011-10-212-0/+10
|
* Version 1.13.23.1.13.23Richard W.M. Jones2011-10-2020-525/+840
|
* appliance: udev-174 moves udevd to /lib/udev/udevd (instead of /sbin/udevd)Richard W.M. Jones2011-10-201-0/+5
|
* resize: Add --align-first auto|never|always option.Richard W.M. Jones2011-10-204-34/+138
| | | | | The first partition can now be aligned. We fix the bootloader correctly for Windows by adjusting the "Hidden Sectors" field.
* resize: Add --alignment flag to allow partition alignment to be picked.Richard W.M. Jones2011-10-202-11/+57
|
* resize: Refactor the code for creating target partitions.Richard W.M. Jones2011-10-201-92/+97
| | | | | | | | | | | | | The old code mixed the business of planning the layout of the target partitions with the creation of the target partitions. The replacement code separates these into two tasks: firstly we create a new 'partitions' list with the target layout, secondly this directly drives the creation of the partitions. As part of this change I have *removed* the old code that was supposed to handle extended/logical MBR partitions. It simply didn't work, and didn't have any hope of working, and there is a separate bug open to fix it.
* resize: Remove p_size field from partitions structure.Richard W.M. Jones2011-10-201-12/+13
| | | | | | This field simply contained a duplicate copy of p_part.part_size. There is no functional change in this commit.
* Update RELEASE-NOTES.Richard W.M. Jones2011-10-201-1/+6
|
* Version 1.13.22.1.13.22Richard W.M. Jones2011-10-192-5/+14
|
* Pushed and pulled latest translations from Transifex.Richard W.M. Jones2011-10-1918-21059/+20742
| | | | | | | | | | | | Fixed one bug in the nl PO file: msgid "security: cached appliance %s is not owned by UID %d" msgstr "beveiliging: UID %d is geen eigenaar van toepassing %s in cache" should be: msgid "security: cached appliance %s is not owned by UID %d" msgstr "beveiliging: UID %2$d is geen eigenaar van toepassing %1$s in cache"
* inspection: Return root devices sorted.Richard W.M. Jones2011-10-191-0/+11
|
* inspect: Handle cciss devices in /etc/fstabMatthew Booth2011-10-192-0/+64
|
* inspect: Don't assume number of captures in match functionsMatthew Booth2011-10-191-30/+13
| | | | | | | | | | | | | | | It is possible for the pcre library to return a variable number of captures for a single regular expression. e.g.: ^/dev/(cciss/c\d+d\d+)(?:p(\d+))?$ This will return either 1 or 2 captures depending on whether the device has a partition suffix. The current match wrappers don't allow for this, and require that a predictable number of matches are returned. This change updates match, match1, match2, and match3 to ignore the specific number of matches returned. Instead, any returned captures are assigned to the given arguments, and any remaining arguments are set to NULL.
* inspect: Add drive naming hintsMatthew Booth2011-10-196-24/+84
| | | | | | | | | | | We currently use a heuristic to guess how drive names we find referenced in the guest map to drive names in the appliance. If this heuristic fails it can cause inspection to fail. This change adds a new 'name' option to add_drive_opts, which allows the user to explicitly pass the name of a drive to libguestfs if it is known. This change also updates the fstab-parsing inspection code to use this information if it is available.
* NFC: Remove unnecessary gotoMatthew Booth2011-10-191-7/+5
|
* launch: Store drive information in guestfs_hMatthew Booth2011-10-197-38/+137
| | | | | | | | | | | | | | | | | | This is a NFC on its own, but provides a place-holder for drive metadata which can be used after launch. Fixes by RWMJ: - Fix the tests: this requires a new internal function 'debug-drives' that dumps out the g->drives information so it can be checked in two of the tests. Previously these tests used 'debug-cmdline'. - Test file existence / use_cache_off in the add_drive_opts function, not when launching qemu in the child process. - Call free along error paths. - Add comments.
* inspect: Fix fstab device mapping for >26 disksMatthew Booth2011-10-191-20/+31
| | | | | The regular expression matching disk name assumed that there was only a single letter suffix. This change handles a naming scheme for any number of disks.
* launch: Ensure g->cmdline is allocated before assigning g->cmdline[0].Richard W.M. Jones2011-10-191-7/+14
|
* valgrind: guestfish -i: free strings before exit.Richard W.M. Jones2011-10-191-0/+2
| | | | This isn't really necessary, but it keeps valgrind happy.
* Ubuntu 11.10: Create /run and /run/lock if not already.Richard W.M. Jones2011-10-181-0/+1
| | | | In real machines these directories are a ramdisk.
* virt-sysprep: Fix link in documentation.Richard W.M. Jones2011-10-171-1/+1
|
* Skip guestmount and virt-sysprep tests if no /dev/fuse.Richard W.M. Jones2011-10-172-0/+10
|
* virt-sysprep: Fix test to use guestmount and virt-inspector binaries that ↵Richard W.M. Jones2011-10-152-5/+14
| | | | have been built.
* appliance: Fedora cryptsetup-luks renamed to cryptsetup.Richard W.M. Jones2011-10-141-1/+2
| | | | Therefore we need both names to be listed in the file.
* roadmap: Fix Bugzilla URL.Richard W.M. Jones2011-10-141-1/+1
|
* More TODO items.Richard W.M. Jones2011-10-141-0/+31
|
* Update RELEASE-NOTES file.Richard W.M. Jones2011-10-141-5/+21
|
* Version 1.13.21.1.13.21Richard W.M. Jones2011-10-1421-7849/+8824
|
* Use ArchLinux's new kernel package "linux".Erik Nolte2011-10-141-1/+1
|
* Add basic support for netbsd detection.Michael Scherer2011-10-147-1/+74
|
* Add support for pkgsrc, default NetBSD package manager.Michael Scherer2011-10-144-2/+6
| | | | | | For now, only detect the tool, but support from reading installed package could be added later ( may require either a package of pkgsrc, or a smaller tool to read the db ).
* Add support for mounting ufs from NetBSD, and fix FreeBSD detection on Fedora 16Michael Scherer2011-10-141-2/+9
| | | | | | | | While testing on Fedora 16, I noticed that Linux will mount the disk without trouble by using automatically ufstype=old, and yet do not let us read the directories. So we should start directly with usftype=ufs2, and if it fail, try 44bsd, as used for netbsd and openbsd ( as seen on http://wiki-static.aydogan.net/How_to_mount_FFS_partition_under_Linux ).