| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(cherry picked from commit b4da051d54a1597c7d8db8880d21a52265a6172e)
|
|
|
|
| |
(cherry picked from commit 178a6d78a84a82cfddbf17678c8c8c2a9d9d0dd2)
|
|
|
|
|
| |
This isn't really necessary, but it keeps valgrind happy.
(cherry picked from commit 2f6ec8b4da27c550e2c7187fd17df28f1bdd51a7)
|
|
|
|
|
|
|
|
| |
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 3a546663655abfcd6399d4fdb7febc6b0d83b822)
|
|
|
|
| |
(cherry picked from commit f0f3e1621180724e0a907a30ff5dea9695ddead0)
|
|
|
|
| |
(cherry picked from commit ceb3a57f67f33b33c1f6cafdd0ef81808273f0c0)
|
|
|
|
|
| |
This library could now be called from other virt tools.
(cherry picked from commit 6146412f06c2f6f33c3ea7d571f16d4fe71dddb2)
|
|
|
|
| |
(cherry picked from commit 0bd055316f8581f4da33b039e33d5f61cc00294c)
|
|
|
|
|
|
| |
msg_flags was not being initialized and would have been passed to
sendmsg with a random value.
(cherry picked from commit a31ac8fc32297cc9185fd20a5578d2bc81cc1bce)
|
|
|
|
| |
(cherry picked from commit c38cb92ec478c4dca83e4d38963720f463d52314)
|
|
|
|
|
| |
pclose can return > 0 when the status of the command was non-zero.
(cherry picked from commit 631faad97171d7c1238b2e413c663cf61476f440)
|
|
|
|
| |
(cherry picked from commit fa44536b0ff12102c72ae0337e51d272f0fc2353)
|
|
|
|
| |
(cherry picked from commit 8876b2d3764b42ebae3c5fdf61b1899095508169)
|
|
|
|
| |
(cherry picked from commit 4baec012b1b09a888e570fc89dbaa9fbf9944f34)
|
|
|
|
| |
(cherry picked from commit ff101adf7ead7bcdb46bccdb227ef18d844b965f)
|
|
|
|
|
| |
This documents bug 592910.
(cherry picked from commit 6cabc1cd02e181063596b48df55c3f6db51a6bb9)
|
|
|
|
|
| |
This updates commit 3064277680ad11f887691646d0fa17bb35f38c19.
(cherry picked from commit 85efbc6aa70d522af066a38fd1aae05b790c46d3)
|
|
|
|
|
|
| |
Calls to these functions are generated, so there is no need to declare
the functions by hand.
(cherry picked from commit 3064277680ad11f887691646d0fa17bb35f38c19)
|
|
|
|
| |
(cherry picked from commit 316817b5ad98e294a9d2498a4403e82911a75b4a)
|
|
|
|
| |
Defer this decision to a future version of libguestfs.
|
| |
|
|
|
|
|
| |
Decide early (before launch) if this is going to be an interactive
session, and set the is_interactive flag.
|
| |
|
|
|
|
|
|
|
|
|
| |
With this change:
><fs> luks-open /dev/vda1 lukstest
Enter key or passphrase ("key"):
><fs> ll /dev/<TAB>
/dev/mapper/lukstest /dev/vda /dev/vda1
|
| |
|
| |
|
|
|
|
|
| |
This was left over from earlier code. It is used in the base library,
but not in guestfish or guestmount.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This applies in all the commands which use the common C option parsing
code, ie:
* guestfish
* guestmount
* virt-cat
* virt-df
* virt-filesystems
* virt-inspector
* virt-ls
* virt-rescue
|
|
|
|
| |
This is now used consistently across all the documentation.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the hack that let you run ./fish/guestfish or
./fuse/guestmount. You now have to do:
./run ./fish/guestfish
or
./run ./fuse/guestmount
to run these programs without installing.
|
|
|
|
|
|
| |
* fish/config.c: Include string.h, for use of strlen.
* fish/keys.c: Likewise, but for use of memcpy.
* fish/man.c: Likewise, but for use of memset.
|
|
|
|
|
|
| |
This allows you to mount disks on (eg) /c and /e and have the
guestfish win:... path mechanism map drive letters to the
right places.
|
|
|
|
|
| |
rpcgen generates source which can't be safely compiled with strict-aliasing
enabled.
|
| |
|
| |
|
| |
|
|
|
|
| |
This is just code motion.
|
|
|
|
| |
Fix commit b8e1dee73a1deef1bfd5937e2abfbe9afef7b1ef.
|
| |
|
|
|
|
|
| |
This allows the default for --ro or --rw to be controlled for the
three tools guestfish, guestmount and virt-rescue.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This lets you turn on ACLs and xattrs by doing:
-m /dev/sda1:/:acl,user_xattr
The extra parameter is passed through to mount_options:
libguestfs: trace: mount_options "acl,user_xattr" "/dev/sda1" "/"
Notes:
Labels: feature
|
|
|
|
|
| |
Notes:
Labels: cleanup
Depends: c8faa5d0b0a17689d27bd33bc787ba0fe9a3f076
|
|
|
|
| |
Notes:
Labels: bugfix
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This API allows more than one callback to be registered for each
event, makes it possible to call the API from other languages, and
allows [nearly all] log, debug and trace messages to be rerouted from
stderr.
An older version of this API was discussed on the mailing list here:
https://www.redhat.com/archives/libguestfs/2010-December/msg00081.html
https://www.redhat.com/archives/libguestfs/2011-January/msg00012.html
This also updates guestfish to use the new API for its progress bars.
|
|
|
|
|
|
| |
The other programs have the variable, but the flag is not enabled
either because it doesn't make sense or because the implications are
not well understood.
|