Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | build: Allow building with new glibc headers and -O0. | Eric Blake | 2012-07-31 | 1 | -2/+5 | |
| | | | | | | This is a patch taken from libvirt. See: http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=2af63b1c349 | |||||
* | 9p: Add a regression test for 9p functionality in qemu. | Richard W.M. Jones | 2012-07-30 | 4 | -0/+80 | |
| | ||||||
* | appliance: Exclude kernel* packages explicitly. | Richard W.M. Jones | 2012-07-30 | 1 | -4/+9 | |
| | | | | | febootstrap >= 3.19 will no longer exclude the kernel package by default. | |||||
* | Version 1.19.27.1.19.27 | Richard W.M. Jones | 2012-07-30 | 20 | -11386/+11849 | |
| | ||||||
* | libguestfs-make-fixed-appliance: Don't reference obsolete development version. | Richard W.M. Jones | 2012-07-30 | 1 | -1/+1 | |
| | ||||||
* | New API: utsname | Richard W.M. Jones | 2012-07-30 | 9 | -1/+94 | |
| | | | | | | | | | | Typical output: ><fs> utsname uts_sysname: Linux uts_release: 3.5.0-1.fc18.x86_64 uts_version: #1 SMP Mon Jul 23 17:43:39 UTC 2012 uts_machine: x86_64 | |||||
* | sysprep: Describe more directly how to use qemu-img for snapshotting. | Richard W.M. Jones | 2012-07-28 | 1 | -14/+24 | |
| | ||||||
* | tests: Consistent use of $(top_builddir)/run --test when building test guests. | Richard W.M. Jones | 2012-07-26 | 4 | -21/+9 | |
| | ||||||
* | build: Use $(top_builddir)/run in Makefile.am's. | Richard W.M. Jones | 2012-07-26 | 4 | -9/+9 | |
| | | | | | Not necessary, but this makes all invocations of 'run' consistent. There is no functional change. | |||||
* | Version 1.19.26.1.19.26 | Richard W.M. Jones | 2012-07-26 | 21 | -14955/+16631 | |
| | ||||||
* | appliance: Add '-drive detect-zero=on' flag if qemu supports it. | Richard W.M. Jones | 2012-07-26 | 1 | -1/+2 | |
| | | | | | | | NB: The patch to implement this feature in qemu is not upstream, and may never make it upstream. However this is so useful for virt-sparsify that I decided to add this to libguestfs while we see what qemu decides to do. | |||||
* | ruby: Allow optional arguments hash to be really optional. | Richard W.M. Jones | 2012-07-26 | 1 | -38/+59 | |
| | | | | | | | | | | | | | Allow optargs functions to be called as either: g.mkfs_opts(fs, device) or: g.mkfs_opts(fs, device, { optargs hash }) This also preserves backwards compatibility with once_has_no_optargs functions such as mkfs. | |||||
* | ruby: In event wrapper, ignore callback functions which have type T_ZOMBIE. | Richard W.M. Jones | 2012-07-26 | 1 | -2/+7 | |
| | | | | Note that in old versions of Ruby, T_ZOMBIE was not defined. | |||||
* | ruby: Set LD_LIBRARY_PATH for Ruby libs in run script. | Richard W.M. Jones | 2012-07-25 | 1 | -0/+1 | |
| | | | | | This lets you use './run gdb ruby ...' and get accurate debugging information. | |||||
* | sparsify: Detect qemu-img version and use qcow2 v3 for overlay if available. | Richard W.M. Jones | 2012-07-25 | 1 | -1/+41 | |
| | | | | | | | | | qcow2 v3 is generally more efficient, although unfortunately it doesn't support automatically sparsifying zero writes. Note this *only* uses qcow2 v3 for the intermediate overlay file, not for the final output (since we want the output to be broadly compatible with old hypervisors). | |||||
* | sparsify: Change code that generates qemu-img -o argument. | Richard W.M. Jones | 2012-07-25 | 1 | -7/+9 | |
| | | | | This is just code motion. | |||||
* | sysprep: Generate new random UUIDs for LVM2 PVs and VGs (thanks Kazuo Moriwaka). | Richard W.M. Jones | 2012-07-25 | 4 | -4/+56 | |
| | ||||||
* | New APIs: pvchange-uuid, pvchange-uuid-all, vgchange-uuid, vgchange-uuid-all. | Richard W.M. Jones | 2012-07-25 | 3 | -1/+147 | |
| | | | | | | | | These APIs will allow sysprep to change the UUIDs of all PVs and VGs in the system. LVs don't have UUIDs AFAICT, or at least there seems to be no way to change them if they do have them. | |||||
* | sysprep: Change perform callback to perform_on_filesystems and ↵ | Richard W.M. Jones | 2012-07-25 | 33 | -40/+115 | |
| | | | | | | | | | perform_on_devices. Operations that need to work directly on guest block devices will fail because the block devices are busy. Therefore add a phase with the filesystems unmounted, and allow operations to specify that they need to work in this phase. | |||||
* | fish: Use minimal permissions when initially creating history file | Matthew Booth | 2012-07-25 | 1 | -1/+1 | |
| | ||||||
* | sysprep: Tidy up the Makefile. | Richard W.M. Jones | 2012-07-25 | 1 | -60/+12 | |
| | | | | This is just code motion. | |||||
* | sysprep: operation machine-id: return `Created_files. | Richard W.M. Jones | 2012-07-25 | 1 | -1/+1 | |
| | | | | | | | This operation can create the /etc/machine-id file, so it may need to be relabelled by SELinux. This fixes commit e68336d72a7d71a44d80f0d13c40ff44653e5c01. | |||||
* | sysprep: remove the local machine ID | Wanlong Gao | 2012-07-25 | 4 | -3/+50 | |
| | | | | | | | | | | | remove the local machine ID, leave it empty, let it be generated during next booting. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> RWMJ: - Whitespace change. - Remove completed items from TODO. | |||||
* | sysprep: remove the auto generated abrt data | Wanlong Gao | 2012-07-25 | 3 | -0/+49 | |
| | | | | | | | | | | remove the automatically generated abrt data. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> RWMJ: - Remove copy and pasted line. - Use C<> in description. | |||||
* | Mac OS X: Use u_int64_t/uint64_t instead of unsigned hyper in .x file | Masami HIRATA | 2012-07-24 | 4 | -12/+53 | |
| | | | | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> RWMJ: Fixed whitespace in generator_xdr.ml | |||||
* | Mac OS X: Use libtool --mode=execute instead of LD_LIBRARY_PATH | Masami HIRATA | 2012-07-24 | 1 | -8/+8 | |
| | | | | | | because Mac OS X doesn't support LD_LIBRARY_PATH Signed-off-by: Masami HIRATA <msmhrt@gmail.com> | |||||
* | Mac OS X: Use gnulib stat-time module explicitly. | Masami HIRATA | 2012-07-24 | 1 | -0/+1 | |
| | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> | |||||
* | lib: Use <sys/socket.h> and <sys/un.h> for sockaddr_un | Masami HIRATA | 2012-07-24 | 2 | -0/+4 | |
| | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> | |||||
* | Mac OS X: Use real files for gtk-doc (not the symlink) | Masami HIRATA | 2012-07-24 | 2 | -2/+347 | |
| | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> | |||||
* | Mac OS X: don't check glibc-style extended printf formatters unless ↵ | Masami HIRATA | 2012-07-24 | 1 | -16/+16 | |
| | | | | | | | | | | --enable-daemon Signed-off-by: Masami HIRATA <msmhrt@gmail.com> RWMJ: - Test was in the wrong place (before --enable-daemon had been detected) so I moved it later. | |||||
* | Mac OS X: #define UNIX_PATH_MAX 104 | Masami HIRATA | 2012-07-24 | 1 | -0/+4 | |
| | | | | | | See http://developer.apple.com/library/mac/documentation/Darwin/Reference/Manpages/man4/unix.4.html Signed-off-by: Masami HIRATA <msmhrt@gmail.com> | |||||
* | Mac OS X: Added check of #include <endian.h> | Masami HIRATA | 2012-07-24 | 7 | -0/+21 | |
| | | | | | | Mac OS X doesn't have endian.h Signed-off-by: Masami HIRATA <msmhrt@gmail.com> | |||||
* | Mac OS X: Use gnulib fstatat module explicitly. | Masami HIRATA | 2012-07-24 | 2 | -0/+2 | |
| | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> | |||||
* | Mac OS X: Use gnulib memmem module explicitly. | Masami HIRATA | 2012-07-24 | 2 | -0/+2 | |
| | | | | | | m4/.gitignore: Update. Signed-off-by: Masami HIRATA <msmhrt@gmail.com> | |||||
* | configure: Use $(PERL) instead of perl | Masami HIRATA | 2012-07-24 | 1 | -10/+10 | |
| | | | | Signed-off-by: Masami HIRATA <msmhrt@gmail.com> | |||||
* | configure: Add -nographic command line option to qemu. | Masami HIRATA | 2012-07-24 | 1 | -4/+4 | |
| | | | | | | Without this option, configure will fail when there is no display. Signed-off-by: Masami HIRATA <msmhrt@gmail.com> | |||||
* | Version 1.19.25.1.19.25 | Richard W.M. Jones | 2012-07-24 | 20 | -4413/+4834 | |
| | ||||||
* | launch: libvirt: Suppress printing of libvirt errors to stderr and other ↵ | Richard W.M. Jones | 2012-07-24 | 1 | -4/+19 | |
| | | | | cleanups. | |||||
* | launch: libvirt: Use SELinux-mandated directory for sockets (RHBZ#842307). | Richard W.M. Jones | 2012-07-24 | 1 | -31/+147 | |
| | | | | | | Note this does not yet enable sVirt confinement of the appliance. That requires at least that SELinux policy goes upstream, plus there may still be bugs. | |||||
* | todo: More suggestions for virt-sysprep (thanks Kazuo Moriwaka). | Richard W.M. Jones | 2012-07-24 | 1 | -0/+19 | |
| | ||||||
* | launch: libvirt: Move free to end of function. | Richard W.M. Jones | 2012-07-24 | 1 | -11/+6 | |
| | | | | This is just code motion. | |||||
* | launch: libvirt: Add is_blk utility. | Richard W.M. Jones | 2012-07-24 | 1 | -6/+12 | |
| | | | | This is just code motion. | |||||
* | umount: use Dev_or_Path for the argument type | Wanlong Gao | 2012-07-24 | 2 | -4/+1 | |
| | | | | | | | | | | | | | | Use Dev_or_Path instead of String. Remove the RESOLVE_DEVICE since Dev_or_Path will generate REQUIRE_ROOT_OR_RESOLVE_DEVICE instead. RWMJ: Note a change in semantics: this now requires root. However this is OK and still works with mkmountpoint and friends because 'is_root_mounted' works even if something is mounted below the root. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> | |||||
* | launch: libvirt: Set <emulator> in libvirt XML if g->qemu is not the default. | Richard W.M. Jones | 2012-07-24 | 1 | -0/+9 | |
| | ||||||
* | xfs-info: Fix description to refer to 'pathordevice' param. | Richard W.M. Jones | 2012-07-24 | 1 | -2/+2 | |
| | ||||||
* | xfs_info: resolve device when doing xfs_info on a device | Wanlong Gao | 2012-07-24 | 2 | -14/+9 | |
| | | | | | | | Resolve device first, like do_umount. Use Dev_or_Path. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> | |||||
* | umount: add force umount and lazy umount | Wanlong Gao | 2012-07-24 | 4 | -16/+41 | |
| | | | | | | Add the option force and lazy for force and lazy umount. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> | |||||
* | Version 1.19.24.1.19.24 | Richard W.M. Jones | 2012-07-23 | 20 | -3478/+4319 | |
| | ||||||
* | tests: Skip regression test for 790721 if attach-method is not 'appliance'. | Richard W.M. Jones | 2012-07-23 | 1 | -0/+25 | |
| | ||||||
* | lib: Initialize libvirt and libxml2 once when the library loads. | Richard W.M. Jones | 2012-07-23 | 3 | -15/+36 | |
| |