| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
(cherry picked from commit 88a854cf7fd80ce4a6c6c3ded3aaaa3c135a1964)
|
|
|
|
| |
(cherry picked from commit 32765e440cee03bb7b89d1aa58c7dea4f55458c8)
|
|
|
|
|
|
|
|
|
|
| |
I used scsi_debug to create a 4k sector virtual disk:
modprobe scsi_debug dev_size_mb=128 sector_size=4096
I then used 'gdisk' to create lots of partitions, and used 'hexdump'
to examine what was written to disk.
(cherry picked from commit 2fd2c85f6a42575749b9d38bd2f1512ae25db760)
|
| |
|
|
|
|
| |
(cherry picked from commit 7201a48d18d03bf3b16141bcff8c56e842d3b1c1)
|
|
|
|
|
|
| |
This is just code motion.
(cherry picked from commit 157f6fb18b7197f688ea761a4e52cd39287024f2)
|
|
|
|
|
|
|
|
|
| |
For ARM Versatile ("versatilepb") architecture, memsize must be set to
256 (megabytes) else the appliance is unable to boot. Previously
setting LIBGUESTFS_MEMSIZE=256 was not allowed.
Versatile Express has larger limits.
(cherry picked from commit a3718c6b8be9bcbfd1e753c699f030d1852bc26e)
|
|
|
|
| |
(cherry picked from commit 77afc92fcd08677f9a9ae3b4f6c6919eb8ec2b33)
|
|
|
|
| |
(cherry picked from commit 0e960614ab0f7d878347d74229ffbb69a4a05540)
|
|
|
|
|
|
|
|
|
|
| |
'./configure --disable-probes' will disable these probes. Otherwise
they are autodetected as before.
The <sys/sdt.h> produces lots of errors when you try to compile with
these probes enabled under clang, so it is necessary to provide a way
to disable them for clang users.
(cherry picked from commit a1680f03b7d38bf007d29ac23035e5af33736b0e)
|
|
|
|
| |
(cherry picked from commit dd23234f730db7add330bd06f87cab1f08654747)
|
|
|
|
| |
(cherry picked from commit 9e2cdd309b709ee1e88269ee3252768515bf56ad)
|
|
|
|
| |
(cherry picked from commit 93734c78d8f802fbd80418e6ddb333b21f060fa9)
|
|
|
|
| |
(cherry picked from commit e60556d92725289a26ccb406c9c94be32b3251c8)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(RHBZ#701814).
Old versions of libvirt allowed you to define disks like this:
<disk type='file' device='disk'>
<driver name='qemu'/>
...
Since the <driver> element does not have a 'type' attribute (which
defines the format), we are supposed to do autodetection, so the
format should be undefined.
However what actually happened was that the code in
Sys::Guestfs::Lib::open_guest received format as an empty string from
the xpath query, causing libguestfs to give an error.
If the xpath query returns the format as an empty string, undefine it.
(cherry picked from commit f072a21f3aef6779aaa77329578ae3677a685d85)
|
|
|
|
|
| |
This is just code motion.
(cherry picked from commit 79bf966ceaa3508698f19bdc951ffc51693eb499)
|
| |
|
|
|
|
|
|
| |
Make the introduction in the man page shorter and punchier, so it
leads readers directly to other pages of interest.
(cherry picked from commit 922052c70fdc66859c78bbc89a7817aad141862a)
|
|
|
|
| |
(cherry picked from commit 79822d46e3d7785ae7b02272e6661f15a61f4b5e)
|
|
|
|
|
| |
Since it describes the C library, it's better in the src/ directory.
(cherry picked from commit bb73cf0941ba9d34eb2ecf82d10ecb5fc5d2362d)
|
|
|
|
|
|
|
| |
reasonable (RHBZ#816839).
Thanks Yuyu Zhou.
(cherry picked from commit cc798540370658ecc1bba94c4ab4b64485c9bcc6)
|
|
|
|
| |
(cherry picked from commit 1f0964536b7c9a4a165e9b041ef0e5340ead7e1f)
|
|
|
|
| |
(cherry picked from commit a2dc83cf03c3a040e12a3ac33ab6bc99e0faf5c4)
|
|
|
|
|
| |
Not used at present.
(cherry picked from commit 39d79e677b684dfd49c852ee7ce4c4bf3d5cf56f)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
virt-rescue prints errors such as:
rm: cannot remove `/proc': Is a directory
mkdir: cannot create directory `/proc': File exists
rm: cannot remove `/sys': Is a directory
mkdir: cannot create directory `/sys': File exists
People have reported these errors (which are nothing to worry about)
as bugs in the past, so avoid them where possible.
(cherry picked from commit beaa5288558fc78304bcd008b9254ae2725017f2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The two tarballs:
8252 bytes tests/data/filesanddirs-10M.tar.xz
41152 bytes tests/data/filesanddirs-100M.tar.xz
contain, as their names suggest, highly compressed files and
directories, with unpacked size respectively around 10M and 100M (the
precise size after unpacking depends on the filesystem).
These can be used for testing purposes.
(cherry picked from commit 12c5394d4cb379890c9c69c16d1d735674a2e80d)
|
|
|
|
|
| |
This is just code motion.
(cherry picked from commit 37a3cdbc139167d7b77d84a761f681595ff7fc23)
|
| |
|
|
|
|
| |
(cherry picked from commit 97ef9afca77ee81a6c0d1a30cf4d367d7cefa2e3)
|
|
|
|
|
| |
This is used for testing file permissions and SELinux contexts.
(cherry picked from commit 03d321d0225512bdcd136ac7cb086c0b292a9c09)
|
|
|
|
| |
(cherry picked from commit c844a38d6e6990af00506afb434a6f7b40e5259f)
|
|
|
|
|
|
|
|
| |
Fix typos spotted by http://github.com/lyda/misspell-check.
* configure.ac: As above.
* ocaml/examples/guestfs-ocaml.pod: Likewise.
* fish/guestfish.pod: Likewise.
(cherry picked from commit e97b6a1bb15e8cad319dceff53c58f8267e8152f)
|
|
|
|
| |
(cherry picked from commit c253c69d0955242e5f23dc194ddbaf34764f79f7)
|
|
|
|
|
| |
This option didn't exist in RHEL 6 valgrind.
(cherry picked from commit 58a5b5bd944655b028c915a91dad2220176986db)
|
|
|
|
| |
(cherry picked from commit 5d6a323b9358bb01233681b784fa67414a5d2c6d)
|
|
|
|
| |
(cherry picked from commit b0b5fdc69f6ee831f325760f95a164627b499f77)
|
|
|
|
| |
(cherry picked from commit 4542401fee7a141204baea98dcdc9fa557878f85)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
'del g' is a trap for the unwary. If the handle has any other
references, it does nothing (in fact, it can be actively dangerous if
the user was expecting the appliance to go away). In non-CPython it
can be delayed arbitrarily long.
Using 'g.close()' on the other hand is always safe.
(cherry picked from commit 255882a3f615c7727d2cc2f18f692513dc0a75e9)
|
|
|
|
| |
(cherry picked from commit 84d450210b3ea01de3fe26b2cf1db2b492d77aec)
|
|
|
|
|
|
|
|
|
|
|
| |
Colon characters are not allowed in qemu/qemu-img filenames. There's
no way to quote them.
Comma characters CAN be used. However they must be quoted (by
doubling) when used in the '-o' option.
Fix general quoting problems in the external command.
(cherry picked from commit 8d3d5a52d2746af91f770608cce5f47462f33aba)
|
| |
|
|
|
|
|
|
|
| |
On the new faster computer, Thread.yield wasn't yielding, so the
second thread would block the main test from proceeding (only when run
under valgrind however).
(cherry picked from commit 5b414f581f1e40f91e44914776b119ce3ef6594c)
|
|
|
|
| |
(cherry picked from commit a97e9429ea888b4732bbbcfdd85b9368dd6ef96c)
|
|
|
|
| |
(cherry picked from commit 681377f1b274cba0a4881ad18ccf200b9a014e94)
|
|
|
|
|
|
| |
(RHBZ#811872).
(cherry picked from commit 96b6504b09461aeb6850bb2e7b870a0a4c2f5edf)
|
|
|
|
| |
(cherry picked from commit a996f0d370d883374dbe2448f57b72966d20514e)
|
| |
|
|
|
|
|
| |
Cherry picked from commit 307e8bc51a7416fa62ec43568cb8ba1876490a62
and modified to make it appropriate for the stable-1.16 branch.
|