| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
(cherry picked from commit 369709177e47773eaa37f1fdbe8d9967b21d1133)
|
|
|
|
|
|
| |
(thanks Jim Meyering).
(cherry picked from commit 552576c7f9ccb1862bcfc9fbd5c301d775aaf90c)
|
|
|
|
| |
(cherry picked from commit 2100ba14fbfaf3e89059d9112959463506932d74)
|
|
|
|
|
|
|
|
| |
Meyering).
The gnulib <fcntl.h> replacement header will now define this symbol if
it's not defined already.
(cherry picked from commit cb13ffe190ac41a9b77fe27521838f495c1a5077)
|
|
|
|
|
|
| |
Jim Meyering).
(cherry picked from commit 2337b9ccd729e05b46cf6abb1f4173e6e994c1cb)
|
|
|
|
| |
(cherry picked from commit fbdcfe2b77b6c272876143779912d41b0849111f)
|
|
|
|
| |
(cherry picked from commit b95fff13577cdd3da4300bbd639441cc77cf935a)
|
|
|
|
| |
(cherry picked from commit e942c02a2eeb4d55606dec5fe943ea7d81f989ba)
|
|
|
|
|
|
|
|
|
| |
This libguestfs 1.18 and 1.16-specific patch is necessary because
something (gcc? gnulib?) has enabled a strict -Wjump-misses-init
warning, which breaks libguestfs builds. In the development branch we
fixed everything (commit e128a627fb8f39f4f4c11b782cef895bd79f0282,
commit 74283d58cfb62e6cc73bfe0f62ca142ddc1e8fb2), but that patch is
too invasive to backport.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Passing the $upstream_qemu environment variable is not reliable when
libvirt is involved: Environment variables are passed to the first
instance of the session libvirtd, but because libvirt reuses the
session libvirtd, subsequent environment variable settings are lost
(this is filed as RHBZ#856619).
Bypass all of this by writing a custom qemu-wrapper.sh which contains
the hard-coded values we want.
(cherry picked from commit e6bd0b87eb753fa96b6533b0dbe498697701ad3a)
|
|
|
|
| |
(cherry picked from commit 509dd90c43afed75b861b7d82ebe8739d3500d54)
|
|
|
|
| |
(cherry picked from commit eeb0c598ec8caa50998336713ed4e62902e0a74d)
|
|
|
|
|
| |
Found by 'make syntax-check'.
(cherry picked from commit 2cac8d490e9884a8c7376e49fd1cda2e3d3abec1)
|
|
|
|
|
|
| |
The correct way to extend functions is documented in generator/README.
This comment was no longer accurate.
(cherry picked from commit 44a11e955b31f7c0cf463a04d640263cccdd0c4d)
|
|
|
|
|
| |
Found by 'make syntax-check'.
(cherry picked from commit 6361810b53be4d5e0513b4f7c11d29cf1d6d3b45)
|
|
|
|
|
| |
Found by 'make syntax-check'.
(cherry picked from commit b0cefb417d01c6dcb87cc6bafe9c19b98c690c9d)
|
|
|
|
| |
(cherry picked from commit cd8976a5b52425f9d7c45249e1a593a341d91c52)
|
|
|
|
|
|
|
| |
If these are not defined in the header files, it's a problem on
the platform which we should fix with gnulib. Our replacement
definitions might be wrong here.
(cherry picked from commit 188b44ee458a666bee8a18ed47cccdec25859aff)
|
|
|
|
| |
(cherry picked from commit 5a46eadd3dcab1b8944eabc0f21097048e0ebe13)
|
|
|
|
|
|
| |
Nothing particularly wrong with using TABs for indentation,
and this test also has a lot of false positives.
(cherry picked from commit ae137124ca143e57f16d103f24cb3f21a3157b09)
|
|
|
|
| |
(cherry picked from commit 6951becfdb0b69b4defff4393f48314e884ad7c1)
|
|
|
|
|
|
| |
This prints LIBVIRT_*, LIBVIRTD_*, LD_* and PATH, since these are all
useful for debugging and could affect libguestfs in some way.
(cherry picked from commit 281b155800f2e62b994e59bef418ca200da8e93a)
|
|
|
|
| |
(cherry picked from commit 8acdc23622ea95a233ac831d67c143517aa94bba)
|
|
|
|
|
|
|
| |
Since 'QEMU' is set (overwritten) by the autoconf-generated Makefile,
this test would always test installed qemu, not upstream qemu,
making it pretty useless. Use another name for this variable.
(cherry picked from commit 81c682f1295a934d18bd4dc9e42b8e843df0c207)
|
|
|
|
|
|
|
|
|
|
|
| |
I: Program returns random data in a function
E: libguestfs no-return-in-nonvoid-function guestmount.c:75
The function fuse_opt_add_opt_escaped has only one caller and a return
code is not checked.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
(cherry picked from commit bdb5689f58c0db18de28d6a703b3af4f22eded38)
|
|
|
|
|
|
|
|
|
| |
We set the error handler to NULL in order to mask "normal" error
messages that we expect to see because of the unusual way that
virt-rescue runs the appliance. However if the user selected -v /
enabled debugging, then it is reasonable to expect they want to see
every message, so do not mask anything.
(cherry picked from commit 6fdf1f40fa85d2e6e7a1118f4cfa532ea9831b89)
|
|
|
|
| |
(cherry picked from commit f65dee769d1fc53c5963c381bf8a1bf02654f78c)
|
|
|
|
| |
(cherry picked from commit b799bc58a84e155783afae23f64f27e23ddd06dd)
|
|
|
|
|
| |
For some reason these tests did not have license notices.
(cherry picked from commit a1d981edeae120a0523d0974c703f1a956202415)
|
|
|
|
| |
(cherry picked from commit 4e6bf1ed653540a8954a6a11fe5a0fb424013af9)
|
| |
|
|
|
|
|
|
|
| |
The library doesn't actually use libaugeas, except indirectly via the
libguestfs API. The libguestfs API implements this in the daemon, so
there's no need for the library to link to augeas at all.
(cherry picked from commit 228d49bb842cda517b414bbfab460e8be429cc5f)
|
|
|
|
| |
(cherry picked from commit 15cd9dde5e0e4a7d510de71ef8991750971cf6d1)
|
|
|
|
|
|
|
|
| |
--disable-perl isn't currently respected because $PERL correctly points
to the perl executable and $missing_perl_modules doesn't prevent the
perl parts to be installed either. Thus, a check for $enable_perl is
needed.
(cherry picked from commit cab48ce73cb19b1aa8784e6c6a3cb8f47b0cbc0e)
|
|
|
|
| |
(cherry picked from commit 512f21c965c5d4bf1faf922d6a241c397f703e67)
|
|
|
|
|
|
|
|
|
|
|
| |
These don't contain literal strings like "AUTHORS" (they have the
translated versions instead) and so checking for these English strings
is rather useless.
Also we don't usually have the '--license' parameter conveniently
around so don't enforce this section.
(cherry picked from commit ddc67d94f37ca4e942cb385d4e5ec476766fef12)
|
|
|
|
|
|
|
|
| |
This also makes the test for license "code" less strict, so it should
only match POD, not Perl comments.
This fixes commit 2f97bf873b64384835f257f8916bf1ebb2af62b4.
(cherry picked from commit 23b7fe09e1589c3c9ca5f52a9588ad1c73649b14)
|
|
|
|
|
|
|
|
| |
Mac OS X
Signed-off-by: Masami HIRATA <msmhrt@gmail.com>
(cherry picked from commit 0a275bd090850963f331a115a4fadfbf1dfb1caf)
|
|
|
|
|
|
| |
This method was added in Pod::Simple 3.16 so earlier versions of Perl
won't have it. It's not the end of the world if we don't set it.
(cherry picked from commit d555a68ca6475bbb6f7f60ae1bdcdffa99df351f)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a call to udev_settle after creating the swap device.
This is an attempt to workaround the following problem seen in Koji
and Rawhide:
libguestfs: trace: mkswap_L "swapit" "/dev/sda1"
libguestfs: send_to_daemon: 72 bytes: 00 00 00 44 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 83 | 00 00 00 00 | ...
guestfsd: main_loop: proc 210 (part_disk) took 2.28 seconds
guestfsd: main_loop: new request, len 0x44
mkswap -f -L swapit /dev/sda1
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 83 | 00 00 00 01 | 00 12 37 cf | ...
libguestfs: trace: mkswap_L = 0
libguestfs: trace: swapon_label "swapit"
libguestfs: send_to_daemon: 56 bytes: 00 00 00 34 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 ae | 00 00 00 00 | ...
guestfsd: main_loop: proc 131 (mkswap_L) took 0.77 seconds
guestfsd: main_loop: new request, len 0x34
swapon -L swapit
swapon: cannot find the device for swapit
guestfsd: error: swapit: swapon: cannot find the device for swapit
libguestfs: recv_from_daemon: 100 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 ae | 00 00 00 01 | 00 12 37 d0 | ...
libguestfs: trace: swapon_label = -1 (error)
swapon_label: swapit: swapon: cannot find the device for swapit
test_swapon_label_0 FAILED
|
|
|
|
| |
(cherry picked from commit c638e1f03d2700560fe32c0889224ac29bd52334)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
(cherry picked from commit 2f97bf873b64384835f257f8916bf1ebb2af62b4)
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
(cherry picked from commit f1d98bbc79496947210ee0305f80440ed8557ec1)
|
|
|
|
| |
(cherry picked from commit e89e180d2b1ee7c3a452a327a336dd3facd2a51f)
|
|
|
|
|
|
| |
It's always been possible to use /dev/null as a disk image.
Document this formally in the API.
(cherry picked from commit e1e8b3a1cfdeee34fbd51f79b8724c5a58f25c10)
|
|
|
|
|
|
| |
MD/RAID.
(cherry picked from commit 52e38c7bdc293cb2f2531eab3dde6d569a05b5e9)
|
|
|
|
| |
(cherry picked from commit 1e4c6e36a6d122b4615dc509ef745dde7e37321d)
|
|
|
|
| |
(cherry picked from commit 5f234548ed07b8e41a31462290aae3ea842630c2)
|
|
|
|
| |
(cherry picked from commit 9fd4d16819ad200814be717732c77664e18132f2)
|
|
|
|
| |
(cherry picked from commit 0d2e70b1c71dba01f71a4375eb10b83059a41bb2)
|