| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
These generated files were accidentally left in when we
removed the other generated files in cset
b3cb0b04eb2d38ba32c160a83d8e3894b376907b.
|
|
|
|
|
|
|
|
| |
With this flag the packager can decide to default to a particular
qemu drive model. The current default is 'ide', however note that
we intend to change this in future to 'virtio' once some upstream
regressions are fixed. Packagers can force a particular drive
model if they wish.
|
|
|
|
|
| |
Messages which include the proc_nr can now also include the
name of the actual function being called.
|
|
|
|
|
| |
* src/Makefile.am (BUILT_SOURCES): Define.
($(BUILT_SOURCES)): Depend on stamp-generator.
|
|
|
|
|
| |
This file is required by configure, so we need to add it so
it is available after the git checkout.
|
|
|
|
| |
This speeds up the generator greatly.
|
|
|
|
|
|
|
|
| |
Git users now require the OCaml compiler in order to regenerate
the generated code after a checkout.
Generated code will remain in the tarball, so users of the
source tarball will not need the OCaml compiler.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a readdir call (mostly intended for programs). The
return value is a list of guestfs_dirent structures.
This adds the new types 'struct guestfs_dirent' and
'struct guestfs_dirent_list', along with all the code to
return these in the different language bindings.
Also includes additional tests for OCaml and Perl bindings
to test this.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
virtio_blk is the fast, virt-native block device driver
supported by qemu and KVM. Note that virtio_blk device
names are called /dev/vd*.
Existing scripts should continue working because device name
translation will silently change device names of the form
/dev/sd* to /dev/vd* as required.
See also:
http://libguestfs.org/guestfs.3.html#block_device_naming
|
|
|
|
| |
* src/guestfs.c (guestfs_error): Handle failing vasprintf.
|
|
|
|
|
|
|
|
| |
Current statvfs test depended on a lot of filesystem details
which can change if the CHS of the underlying block device
changes (eg. with the switch from IDE -> virtio). These are
not really necessary to test the call, so instead just check
for filesystem features.
|
|
|
|
|
|
|
| |
Set output mode to unbuffered so that we see ordinary output
messages and errors at the same time.
Align "skipped" messages.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
These commands are used to create block and char device
nodes or FIFOs (named pipes) in the filesystem.
The umask command is required also because the permissions
used by mknod are masked by the umask.
Also document and guarantee that the umask starts as 022.
|
|
|
|
|
| |
We have to use the OCaml convention (0o...). Note that in
OCaml 0777 is a _decimal_ number. It'll catch you out.
|
| |
|
|
|
|
|
|
| |
Allow the qemu memory size to be specified either by API
calls or by setting the LIBGUESTFS_MEMSIZE environment
variable.
|
| |
|
|
|
|
|
|
| |
These commands are used to make Linux swap devices. The mkswap_L
command makes one with a label. The mkswap_U command makes one
with a known UUID.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Loop device mounts don't work for the generic 'mount' commands
because the first parameter should be a file not a device.
We want to separate out files parameters from device parameters
in the long term, so this adds a new mount-loop command for this
purpose.
|
| |
|
|
|
|
|
|
| |
Add 'initrd-list' command to list the files inside (new-style)
initrd images. Update virt-inspector to use this instead of
the less efficient download/unpack locally method.
|
| |
|
|
|
|
| |
This command estimates file usage for files and directories.
|
| |
|
|
|
|
|
|
|
| |
df and df-h commands can be used interactively to show disk
space usage.
Use existing statvfs command from programs.
|
| |
|
|
|
|
|
| |
These commands let you view parts of a large file without
passing the whole file over the network connection.
|
|
|
|
|
| |
Parameters named 'n' sometimes break the Perl bindings, so
check for this in the generator and prevent it.
|
| |
|
|
|
|
| |
These commands count characters, words and lines in a file respectively.
|
|
|
|
|
| |
To run just selected tests, do:
TEST_ONLY="hexdump mkfs" make -C capitests check
|
|
|
|
|
| |
Large test files with standard content for the C API test, and
add a regression test for previous hexdump failure on large files.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Use maximum proc_nr (MAX_PROC_NR) as a surrogate for the
library ABI version, resulting in version numbers such as
libguestfs.so.0.<MAX_PROC_NR>.0 for the final library.
Add ABI guarantee to the documentation.
|
| |
|
| |
|
| |
|
| |
|
| |
|