| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
RBufferOut binding didn't free the buffer after copying it onto
the OCaml heap.
Found by valgrind.
(cherry picked from commit 6bd0eec12f2e39360847bfe7a9f50628cc89ed8e)
|
|
|
|
| |
(cherry picked from commit e1f395defc6db5bbc82537af6e517d94216b7d4b)
|
|
|
|
| |
(cherry picked from commit d81c0829ea4a99aadb98df37be9543a973269041)
|
|
|
|
| |
(cherry picked from commit aa4eb4cd109dda0dc7dfdd66a5163a18b0be2277)
|
|
|
|
|
| |
This is just code motion.
(cherry picked from commit 6ccae55ddcf0c08cd1b1cdbc07afeed043ad410d)
|
|
|
|
| |
(cherry picked from commit c5dbb1e63a8e0c45c7088dd2e58f5abbcfc30620)
|
|
|
|
|
|
|
|
|
|
|
|
| |
The error message now looks like this:
guestfish: '/dev/vda6' could not be mounted. Did you mean one of these?
/dev/sda1 (ext4)
/dev/vg_f15x32/lv_root (ext4)
/dev/vg_f15x32/lv_swap (swap)
Note that '/dev/sda1' has been canonicalized.
(cherry picked from commit f5bfc68fdb3e25b9d75c65e3f5e88983584b25ed)
|
|
|
|
|
| |
This also frees the list returned by guestfs_list_filesystems.
(cherry picked from commit 450134501c37f1dd1b898dc390591a3f84ec18b4)
|
| |
|
|
|
|
| |
(cherry picked from commit b5b4816ab006ce09b7a7103dbe87b3129046648d)
|
|
|
|
|
| |
This updates commit c55bad93fbde03a3daa6058913f02098c45e55f5.
(cherry picked from commit be7cb789069afc93e7c1b0e7a1a9a293dc846d45)
|
|
|
|
|
|
| |
export SKIP_TEST_LAUNCH_RACE_PL=1
will cause this test to be skipped.
(cherry picked from commit 3bbcbd5eeadabb1cc5a40b2f8ae586e6aafd39c6)
|
|
|
|
|
|
| |
These tests are optional, and require a special environment and
tools to run.
(cherry picked from commit c55bad93fbde03a3daa6058913f02098c45e55f5)
|
|
|
|
|
|
| |
If you enabled debugging (eg. LIBGUESTFS_DEBUG=1) then every
debug message printed would be leaked.
(cherry picked from commit dd76ce2b4c93dd10d8eca9ab7c77bc831f103d03)
|
|
|
|
| |
(cherry picked from commit bfc0a5f58d3cb6faad5a44bed392f33190e62246)
|
|
|
|
| |
(cherry picked from commit cd3d28491dd19d25a6c04a8bc6a7ec94bded413b)
|
|
|
|
|
|
|
| |
This is the minimum alignment. 1MB would be better.
Note that the exact behaviour is not defined in the API.
(cherry picked from commit c4381dba737d5cb8aad8e1b2e2123b0fcaff1d1a)
|
|
|
|
|
|
| |
In particular, virt-alignment-scan -a /dev/null would segfault
because of an error returned by parted.
(cherry picked from commit 7b192f5a672197ad67ac23501e420c674aa2f3a9)
|
|
|
|
|
| |
This change is in support of the addition of MD support to fstab inspection.
(cherry picked from commit 373dca7d12a8741e116205b4a3ac67a7d82cc782)
|
|
|
|
| |
(cherry picked from commit 011a248381cacd6751deb1d1be122cc9bd6aba09)
|
|
|
|
| |
(cherry picked from commit c8cb3d27b62da20be6b2fa06f1ce6b63a722c32b)
|
|
|
|
| |
(cherry picked from commit 34c0542189a443e57f2b09886f31b5bdad404bbf)
|
|
|
|
|
| |
This change allows the run scripts of virt-v2v and libguestfs to be chained.
(cherry picked from commit 252ad4aa41c213948e4ee1f01e6c7ff7861f75e3)
|
|
|
|
| |
(cherry picked from commit 065b6b5798913c9bb40215944920199ae7d27007)
|
|
|
|
| |
(cherry picked from commit 9b102aae65449a8d321e8cf44a3993af558291db)
|
|
|
|
|
|
|
|
|
|
| |
eg:
static void
run_foo ()
{
}
(cherry picked from commit 99ec97dcdfaf242ba0683a230ba51e4a87f7458b)
|
| |
|
|
|
|
| |
(cherry picked from commit 7b3137e664c3f4edf6ac7043a34c4166567e17bd)
|
|
|
|
|
|
|
| |
Note that for this to work properly, it requires a patch to
the 'file' command. See:
https://www.redhat.com/archives/libguestfs/2011-November/msg00120.html
(cherry picked from commit 342b4a55d056734a0344db8b4bcf1a90104a8a59)
|
|
|
|
| |
(cherry picked from commit 6f39cfaeacda146d0eaa35da6f6413fa6ab3d40a)
|
|
|
|
| |
(cherry picked from commit 8bc6e9d6a89672bbe1e7469774abe889354deb67)
|
|
|
|
|
| |
This contains suggested manual tests that users can run.
(cherry picked from commit a3b24296810d98e47552c6838dcd6ab6845aba03)
|
|
|
|
| |
(cherry picked from commit 730fb50780df860474dc1fae16c9891187e99c82)
|
|
|
|
| |
(cherry picked from commit a0509ff0715533e341573e24f6888fd7dcf4ba51)
|
|
|
|
| |
(cherry picked from commit ddb3fac1bf1b0493779c9425b518598473ef106a)
|
|
|
|
| |
(cherry picked from commit 47963bc9cc0b47af0541010a4fa14260405acaa5)
|
|
|
|
| |
(cherry picked from commit 5d48250224fcb140b7e6e17f36b37deab4e0659b)
|
|
|
|
|
|
| |
See:
https://www.redhat.com/archives/libguestfs/2011-November/msg00051.html
(cherry picked from commit 6e6b3ff35f9baafb22d5459ca13c112b1e00ae1b)
|
|
|
|
|
|
| |
You can use TestOutputHashtable to test the output of RHashtable
functions.
(cherry picked from commit 5f0b75f040b118c4394466438adc99f38144722d)
|
|
|
|
| |
(cherry picked from commit edd502543adbdc2fa5dda0c015ea7c390bb39f64)
|
| |
|
|
|
|
|
|
|
| |
If any function had more than 10 required + optional parameters, OCaml
bindings could not be generated. Currently there are no such
functions.
(cherry picked from commit 29172e7c4878085a680812f7f3b8ad6ea5f1193c)
|
|
|
|
|
|
|
|
|
| |
The bitmask was being constructed backwards(!)
As a result, any test which tested optional arguments didn't work.
There are very few such tests and they happened not to be affected by
this.
(cherry picked from commit af2b0378bbb178a4e3db326ac3082d66170fcafc)
|
|
|
|
| |
(cherry picked from commit 271f8e4b70e4acf2db96f6fe6317fda327fa5f2e)
|
|
|
|
| |
(cherry picked from commit 145ed04e41a3fcd3be87c11cae0085f4551f1da8)
|
|
|
|
|
|
|
|
| |
For some reason we are not compiling the tests with -warn-error so
this problem was not noticed before.
This fixes commit 9420eaf44ec4067c3740b91b0be0fede08a0c515.
(cherry picked from commit 22c72b911e65b93cfd049f42e6bd1b9ad7d55299)
|
|
|
|
| |
(cherry picked from commit 04ea1375c55aa67df4e7fc61dbb534111767f3b6)
|
|
|
|
|
|
|
|
|
|
| |
In the libguestfs live case we need to be careful not to modify the
real /etc/lvm/lvm.conf file (when setting the filter rule).
When the daemon starts, make a complete copy of /etc/lvm in a
temporary directory, and adjust LVM_SYSTEM_DIR to point to the copy.
All changes are made in the temporary copy.
(cherry picked from commit 9c299b64bb24cefafa582fe425bb65b78373d205)
|
|
|
|
|
|
|
| |
Although this doesn't matter for the ordinary (appliance) case, it
matters for the libguestfs live case. In that case it could cause the
guest to be exploited by a tmp/symlink attack.
(cherry picked from commit 6011b1f803ba7308c6a94b9bf6b7212cfccb9f42)
|
|
|
|
|
| |
Use virt-inspector --xpath option instead.
(cherry picked from commit 22998927f91f123e7c35d3ebf49e5744f3d7eafe)
|