| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
(cherry picked from commit c46bedf925cd9c6c9a9cbaee115358fd1dffcbfe)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is possible for the pcre library to return a variable number of captures for
a single regular expression. e.g.:
^/dev/(cciss/c\d+d\d+)(?:p(\d+))?$
This will return either 1 or 2 captures depending on whether the device has a
partition suffix. The current match wrappers don't allow for this, and require
that a predictable number of matches are returned.
This change updates match, match1, match2, and match3 to ignore the specific
number of matches returned. Instead, any returned captures are assigned to the
given arguments, and any remaining arguments are set to NULL.
(cherry picked from commit f5c9f0e9ee1729b1260cef3e51ca91936e1868c4)
|
|
|
|
|
| |
Cherry picked from commit 1f615fddaffd33afc75a582021769583c8f4db4e and
backported to libguestfs-1.12 branch.
|
|
|
|
| |
(cherry picked from commit 138e118d62046b197b715462072256082ecfc0f7)
|
|
|
|
|
| |
This isn't really necessary, but it keeps valgrind happy.
(cherry picked from commit 2f6ec8b4da27c550e2c7187fd17df28f1bdd51a7)
|
|
|
|
|
| |
In real machines these directories are a ramdisk.
(cherry picked from commit 6d7d645cdd4a9c94c4d95fc52de53c37b88847e4)
|
|
|
|
|
| |
Cherry picked from commit cf4cc1143393d607a7fb4cdbee1434544237d5d4 and
modified for libguestfs-1.12 branch which only has guestmount.
|
|
|
|
|
| |
Therefore we need both names to be listed in the file.
(cherry picked from commit af0c123be8cc62acf9e1368b1d00acccdd6d91e9)
|
|
|
|
| |
(cherry picked from commit db499d98e7a290ccbfc4fb333f85021b23155e9d)
|
|
|
|
|
|
|
|
| |
Killing it is always a bad idea, because the qemu subprocess will be
left hanging around. The best thing is to send the exit command.
Cherry picked from commit 11be7d8eee16e6249ed2868b5bd552f29508ec02
and modified.
|
|
|
|
|
|
|
| |
NOTE this is just a cleanup. It is NOT necessary for correctness,
since libguestfs itself is correctly closing the handle in the exit
handler.
(cherry picked from commit baa1618e0f917017c1934b7da41250029c1791ef)
|
|
|
|
| |
(cherry picked from commit e57c3c37a8648966e19ef33832f353d0f9487a77)
|
|
|
|
| |
(cherry picked from commit 3a546663655abfcd6399d4fdb7febc6b0d83b822)
|
|
|
|
| |
(cherry picked from commit c6be95453d66ea714a9813a21cfb224d8e346d9e)
|
|
|
|
|
| |
Based on commit f3341222b37f91d7f7fcdafe30b107ea9da9ad02, but modified
since only resize exists in this branch of libguestfs.
|
|
|
|
| |
(cherry picked from commit 293772bf7511dee41a1f3e842424678c1a6bf9e4)
|
|
|
|
| |
(cherry picked from commit b39b3c5c74f1dfb88a6074aac476df877f1bfc4d)
|
|
|
|
| |
(cherry picked from commit 4e9ed018475ff4bd5171ed50a47ffae7abbdda4b)
|
|
|
|
|
| |
Code motion.
(cherry picked from commit ffc01285ee4289da90983a3320873f27b3d31c4d)
|
|
|
|
|
|
|
|
|
|
| |
See:
https://bugzilla.redhat.com/show_bug.cgi?id=502058#c15
https://bugzilla.redhat.com/show_bug.cgi?id=698842#c8
This updates commit 79e66f89e2f6c27486476d7857da58feb491bf5c.
(cherry picked from commit 322106521f546d7c70c5a38255db7d243a456a6b)
|
|
|
|
| |
(cherry picked from commit 3c7b3634b2c86a4c41fec044ccb59a1fe3224e66)
|
| |
|
|
|
|
|
|
|
|
| |
This means "the device that holds /etc/fstab", so map it correctly.
This fixes support for ttylinux and also some other guests that use
/dev/root instead of a real device name.
(cherry picked from commit 917f947590c92318fee2545ba88245d0de012e31)
|
|
|
|
|
|
|
|
|
| |
This also improves the documentation for this call, pointing out
several pitfalls in using it.
This unfortunately breaks existing callers that might use
guestfs_grub_install without checking for this new group.
(cherry picked from commit 99624d29226ece1abbbdd921183b360f5f80de91)
|
|
|
|
| |
(cherry picked from commit bddde7799b80b8292879634548c3c92a3cc1c044)
|
|
|
|
| |
(cherry picked from commit cda7fa973cbdd5fc4ad3974dcc6b5ea02ec6bb44)
|
|
|
|
|
|
|
| |
We could sometimes hit the 120 second timeout, eg. if the appliance
needed to be rebuilt and the machine was very slow and/or under heavy
I/O load. 10 minutes should be enough for any reasonable situation.
(cherry picked from commit 912284b02e28bd63bdf3397ef841b9782adfd2cd)
|
|
|
|
| |
(cherry picked from commit 95136b149212b92e87d0c9badb7d6849a084ed4d)
|
|
|
|
| |
(cherry picked from commit c7b88da039725ecd0d1d826b112bc69b518d4c78)
|
|
|
|
| |
(cherry picked from commit 7c521c7211d61a1bac46c155de1f4d3e8b60b3d7)
|
|
|
|
| |
(cherry picked from commit cbef2ffb0432756822cd2b02a305384f814e9b50)
|
|
|
|
| |
(cherry picked from commit b3f1457fddd19b1e540866fa01c665aeb371cb44)
|
| |
|
|
|
|
|
|
|
| |
The guestfs_ll command currently lists files in the appliance if you
prefix filenames with "/..". However this is a bug, not a feature,
and we should not be testing it.
(cherry picked from commit 8ab2b85b2a67270b8cc5a91bb62a70c84cd6a02c)
|
|
|
|
| |
(cherry picked from commit 8928de32d391e3ad4dd98bb27472c27bb8bc38ac)
|
|
|
|
| |
(cherry picked from commit 1d134301fc4d05338d09517abc978d0a90d82e09)
|
|
|
|
|
| |
This is just code motion.
(cherry picked from commit 73be6db9bf1c0ae96262a5f4fa9328bb4e648637)
|
|
|
|
|
| |
Ubuntu 10.04 LTS packages don't create /sys.
(cherry picked from commit 5b012024c49672cc69635ff01f9b9e4f87de1c65)
|
|
|
|
| |
(cherry picked from commit 085a56690611980f438e8af2eb47ebb411465775)
|
| |
|
|
|
|
| |
(cherry picked from commit baefb8225c8cbde56a1637c17af5c0965a81060e)
|
|
|
|
| |
(cherry picked from commit f0f3e1621180724e0a907a30ff5dea9695ddead0)
|
|
|
|
| |
(cherry picked from commit ceb3a57f67f33b33c1f6cafdd0ef81808273f0c0)
|
|
|
|
|
|
|
|
|
| |
Use virt-resize --machine-readable to print a list of facts about what
this version of virt-resize supports.
This includes parts of commit 09a7545649e6cac0de2c4421cb64b659164174ee
from the development branch, but doesn't include the machine-readable
progress bar.
|
|
|
|
|
| |
This library could now be called from other virt tools.
(cherry picked from commit 6146412f06c2f6f33c3ea7d571f16d4fe71dddb2)
|
|
|
|
| |
(cherry picked from commit 0bd055316f8581f4da33b039e33d5f61cc00294c)
|
|
|
|
| |
(cherry picked from commit 1a4f1df77eecee053eaae35d5544f151d37342e2)
|
|
|
|
| |
(cherry picked from commit 675f336319058fdbaf11ee004968b4543a5a9815)
|
|
|
|
| |
(cherry picked from commit 0cd5b9ac15c62eb570ec74d19b4aebde4990fd82)
|