| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This modifies the way that struct and struct lists are generated
(for return values) so that there is no need to add an explicit
new type when adding a new structure.
All tests pass, and the C API should be compatible.
I have also inspected the changes that are made to the generated
code by hand.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Test failure of qemu and recovery of the library:
- mid-command
- between commands
- during launch [test not working yet]
- explicitly killed by guestfs_kill_subprocess
Also this patch cleans up the other tests in this directory
and disables the long-winded test-bootbootboot test.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This is used to get the PID of the qemu subprocess, mainly for
debugging and testing purposes.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
speeds up start of the appliance
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch allows you to do:
mkdir build
cd build
../configure ...
make
This will output all generated files to the build directory. Given that
autogen automatically runs configure, you can also do:
BUILDDIR=./build ./autogen.sh
which will do the right thing.
Also:
* Fix a dependency bug which means that guestfs_protocol.h
isn't automatically rebuilt.
* Re-running autogen.sh with no arguments won't blow away your previous
configure arguments.
|
| |
| |
| |
| | |
* src/generator.ml: Add a few "const" attributes.
|
| |
| |
| |
| |
| | |
* daemon/guestfsd.c (commandrv): Free original buffer (rather
than leaking it) if realloc fails.
|
| | |
|
| |
| |
| |
| |
| | |
* daemon/readdir.c (do_readdir): Free both p and v.name, in case
only one of the allocations failed.
|
| |
| |
| |
| | |
indicationg we're done creating the appliance
|
| | |
|
| |
| |
| |
| | |
Tab-completion on destination paths should now work correctly.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
'make dist' won't copy symlinks into the output file, so we
have to add a rule to the Makefile to copy these.
(Issue reported by Guido Gunther).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* src/generator.ml (safe_malloc): Define to guestfs_safe_malloc.
(safe_calloc): Define to guestfs_safe_calloc.
[most generated code]: Fail immediately upon failure of otherwise-
unchecked malloc and calloc calls.
* src/guestfs.c: Include <stddef.h>.
(xalloc_oversized): Define.
* src/guestfs.h (guestfs_safe_calloc): Declare.
|
| |
| |
| |
| |
| | |
* src/generator.ml: Slightly safer, in case the
declared type ever changes.
|
|\| |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This command is a saner interface to partitioning.
All partition sizes are specified in megabytes (not cylinders).
You don't need to specify the cyls/heads/secs parameters.
All the test code has been updated to use this, so it is now
CHS-independent (eg. when CHS changes as between IDE and virtio).
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
><fs> time sfdisk /dev/sda 0 0 0 ,
elapsed time: 6.12 seconds
|
| |
| |
| |
| |
| | |
Messages which include the proc_nr can now also include the
name of the actual function being called.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
needed for device mapper (LVM)
|
| |
| |
| |
| | |
for modularized Debian kernels
|
| |
| |
| |
| | |
* daemon/configure.ac: Use AM_PROG_CC_C_O, not AC_PROG_CC_C_O.
|
| |
| |
| |
| |
| | |
* 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.
|
| | |
|