Displaying 20 results from an estimated 65 matches for "kill_subprocess".
2011 Nov 04
1
Using guestfs.kill_subprocess()
Hey Rich,
In the past I know you have mentioned that using
guestfs.kill_subprocess() isn't strictly necessary after you are finished
using libguestfs. I believe you said that in the python bindings, that
step would happen automatically when the object goes out of scope and the
__del__ method is called. However, since it never seemed to harm anything
and I wanted to be extra...
2011 Mar 11
1
setpgid() before exec'ing qemu
...hich uses libquestfs. I am simulating a small cloud and have some apps that need
to talk to the guests.
All works really well until I needed to start another process.
So I start a process then "oz" starts up a VM (it uses libquestfs)
then when "oz" cleans up it calls libquestfs.kill_subprocess().
At this point my test locks up.
A bacetrace of the python code is:
#0 0x00000036fe80ef1e in waitpid () from /lib64/libpthread.so.0
#1 0x0000003629c0df7f in guestfs_close () from /usr/lib64/libguestfs.so.0
then a mess of python stuff
If I attach to it with strace it shows:
wait4(0,
It looks...
2011 Dec 07
2
failure converting Linux ESX guest to KVM hypervisor
...stfs: trace: exists "/etc/modprobe.conf"
libguestfs: trace: exists = 0
libguestfs: trace: exists "/etc/modprobe.d"
libguestfs: trace: exists = 0
libguestfs: trace: umount_all
libguestfs: trace: umount_all = 0
libguestfs: trace: sync
libguestfs: trace: sync = 0
libguestfs: trace: kill_subprocess
libguestfs: trace: kill_subprocess = 0
virt-v2v: Unable to find any valid modprobe configuration
Regards,
John Kienle
Emerging Technologies Solutions Development
IBM T.J. Watson Research
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/...
2012 Dec 15
1
virt-resize Fatal error: exception Guestfs.Error("e2fsck_f
...b" 2 130
libguestfs: trace: part_set_mbr_id = 0
libguestfs: trace: umount_all
libguestfs: trace: umount_all = 0
libguestfs: trace: sync
libguestfs: trace: sync = 0
libguestfs: trace: close
libguestfs: trace: internal_autosync
libguestfs: trace: internal_autosync = 0
libguestfs: trace: kill_subprocess
libguestfs: trace: kill_subprocess = 0
libguestfs: trace: add_drive_opts "/dev/vg0/kvm105_img" "readonly:false"
libguestfs: trace: add_drive_opts = 0
libguestfs: trace: launch
libguestfs: trace: launch = 0
Expanding /dev/sda1 using the 'resize2fs' method ...
libgu...
2023 Mar 23
1
[libnbd PATCH v3 18/19] generator: Add APIs to get/set the socket activation socket name
...able. To provide a socket name, call
+L<nbd_set_socket_activation_name(3)> before calling
+the connect function.
" ^ blocking_connect_call_description;
see_also = [Link "aio_connect_systemd_socket_activation";
Link "connect_command"; Link "kill_subprocess";
Link "set_opt_mode";
+ Link "set_socket_activation_name";
+ Link "get_socket_activation_name";
ExternalLink ("qemu-nbd", 1);
URLLink "http://0pointer.de/blog/projects...
2011 Oct 08
2
guestmount issues with --live, but guestfish works just fine
...| 20 00 f5 f5 | 00 00
00 04 | 00 00 01 1a | 00 00 00 00 | ...
libguestfs: recv_from_daemon: 56 bytes: 20 00 f5 f5 | 00 00 00 04 | 00
00 00 07 | 00 00 00 01 | 00 12 34 01 | ...
libguestfs: error: unexpected procedure number (7/282)
libguestfs: trace: internal_autosync = -1 (error)
libguestfs: trace: kill_subprocess
libguestfs: sending SIGTERM to process 0
libguestfs: trace: kill_subprocess = 0
[root at longitude ~]# guestfish --live -d F16-rawhide
Welcome to guestfish, the libguestfs filesystem interactive shell for
editing virtual machine filesystems.
Type: 'help' for help on commands
'ma...
2019 Aug 15
1
[PATCH libnbd] api: Rename nbd_kill_command -> nbd_kill_subprocess.
...nerator
+++ b/generator/generator
@@ -1315,7 +1315,7 @@ Run the command as a subprocess and connect to it over
stdin/stdout. This is for use with NBD servers which can
behave like inetd clients, such as C<nbdkit --single>.
-See also L<nbd_kill_command(3)>.";
+See also L<nbd_kill_subprocess(3)>.";
};
"is_read_only", {
@@ -2249,7 +2249,7 @@ The release number is incremented for each release along a particular
branch.";
};
- "kill_command", {
+ "kill_subprocess", {
default_call with
args = [ Int "signum" ]; r...
2019 Sep 05
0
[PATCH libnbd] generator: Move first_version fields to a single table.
...+ "aio_is_closed", (1, 0);
+ "aio_command_completed", (1, 0);
+ "aio_peek_command_completed", (1, 0);
+ "aio_in_flight", (1, 0);
+ "connection_state", (1, 0);
+ "get_package_name", (1, 0);
+ "get_version", (1, 0);
+ "kill_subprocess", (1, 0);
+ "supports_tls", (1, 0);
+ "supports_uri", (1, 0);
+
+ (* Added in 1.1 development series. *)
+ "can_fast_zero", (1, 2);
]
(* Constants, etc. *)
@@ -3336,13 +3423,37 @@ let () =
| _ -> ()
) handle_calls;
- (* First stable version m...
2019 Sep 05
3
[PATCH libnbd] generator: Move first_version fields to a single table.
This doesn't include Eric's new APIs, but if you push those
then I can rebase this one on top.
Rich.
2011 Dec 26
1
Another virt-p2v blew up
...00 00 | ...
guestfsd: main_loop: proc 30 (rmdir) took 0.00 seconds
guestfsd: main_loop: new request, len 0x28
umount /sysroot
libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 01 1a
| 00 00 00 01 | 00 12 34 4f | ...
libguestfs: trace: internal_autosync = 0
libguestfs: trace: kill_subprocess
libguestfs: sending SIGTERM to process 1386
libguestfs: trace: kill_subprocess = 0
virt-v2v: Died at /usr/bin/virt-p2v-server line 390, <> line 7.
[root at Fedora16-64P2V log]#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archi...
2023 Jan 30
2
[PATCH libnbd v2 3/4] generator: Add APIs to get/set the socket activation socket name
...able. To provide a socket name, call
+L<nbd_set_socket_activation_name(3)> before calling
+the connect function.
" ^ blocking_connect_call_description;
see_also = [Link "aio_connect_systemd_socket_activation";
Link "connect_command"; Link "kill_subprocess";
Link "set_opt_mode";
+ Link "set_socket_activation_name";
+ Link "get_socket_activation_name";
ExternalLink ("qemu-nbd", 1);
URLLink "http://0pointer.de/blog/projects...
2023 Mar 25
1
[libnbd PATCH v5 3/4] generator: Add APIs to get/set the socket activation socket name
...able. To provide a socket name, call
+L<nbd_set_socket_activation_name(3)> before calling
+the connect function.
" ^ blocking_connect_call_description;
see_also = [Link "aio_connect_systemd_socket_activation";
Link "connect_command"; Link "kill_subprocess";
Link "set_opt_mode";
+ Link "set_socket_activation_name";
+ Link "get_socket_activation_name";
ExternalLink ("qemu-nbd", 1);
URLLink "http://0pointer.de/blog/projects...
2023 Jan 30
4
[PATCH libnbd v2 0/4] Pass LISTEN_FDNAMES with systemd socket activation
This is an alternative approach to
https://listman.redhat.com/archives/libguestfs/2023-January/030535.html
After discussing this with Dan Berrange we came to the conclusion that
you really might want to set LISTEN_FDNAMES to arbitrary short strings
(or not set it). Especially when talking to qemu-storage-daemon which
would allow you to use these names on the command line.
Rich.
2012 Jul 03
8
[PATCH 0/7 v2] Fix and workaround for qcow2 issues in qemu causing data corruption.
https://bugzilla.redhat.com/show_bug.cgi?id=836710
https://bugzilla.redhat.com/show_bug.cgi?id=836913
There are at least two related bugs going on:
(1) Linux sync(2) system call doesn't send a write barrier to the
disk, so in effect it doesn't force the hard disk to flush its cache.
libguestfs used sync(2) to force changes to disk. We didn't expect
that qemu was caching anything
2023 Mar 25
4
[libnbd PATCH v5 0/4] pass LISTEN_FDNAMES with systemd socket activation
V4 was here (incorrectly versioned on the mailing list as v3):
<http://mid.mail-archive.com/20230323121016.1442655-1-lersek at redhat.com>.
See the Notes section on each patch for the v5 updates.
Laszlo Ersek (2):
socket activation: generalize environment construction
socket activation: set LISTEN_FDNAMES
Richard W.M. Jones (2):
common/include: Copy ascii-ctype functions from nbdkit
2014 Mar 23
2
Re: About Guest running Tiny Core Linux
On Sun, Mar 23, 2014 at 12:26:28PM +0000, Richard W.M. Jones wrote:
> Secondly, we should be able to inspect all Linux guests, including
> Tiny Core Linux, but it looks like in this case it is failing. This
> is a bug.
I had a look at how the Tiny Core Linux ISO is arranged. It loads the
main operating system root partition as a single large initramfs, with
optional modules loaded
2017 Mar 03
2
[PATCH] generator: Allow actions to be deprecated with no replacement.
...- deprecated_by = Some "launch";
+ deprecated_by = Deprecated_no_replacement;
blocking = false;
shortdesc = "wait until the hypervisor launches (no op)";
longdesc = "\
@@ -46,7 +46,7 @@ versions of the API." };
{ defaults with
name = "kill_subprocess"; added = (0, 0, 3);
style = RErr, [], [];
- deprecated_by = Some "shutdown";
+ deprecated_by = Replaced_by "shutdown";
shortdesc = "kill the hypervisor";
longdesc = "\
This kills the hypervisor.
@@ -56,7 +56,7 @@ Do not call this. See:...
2012 Jan 12
1
Libguestfs gobject bindings
I'm currently working on gobject bindings for libguestfs. I haven't got
as far as compiling anything yet, but I've attached the C header for
initial review.
Matt
--
Matthew Booth, RHCA, RHCSS
Red Hat Engineering, Virtualisation Team
GPG ID: D33C3490
GPG FPR: 3733 612D 2D05 5458 8A8A 1600 3441 EA19 D33C 3490
-------------- next part --------------
An embedded and
2011 Jun 10
0
builder-ubuntu libguestfs success 1f59849a4a45a1c78488eb41b250de631b4405a6
...g: "guestfs_test0rstructlisterr" has no tests
warning: "guestfs_test0rhashtable" has no tests
warning: "guestfs_test0rhashtableerr" has no tests
warning: "guestfs_launch" has no tests
warning: "guestfs_wait_ready" has no tests
warning: "guestfs_kill_subprocess" has no tests
warning: "guestfs_add_drive" has no tests
warning: "guestfs_add_cdrom" has no tests
warning: "guestfs_add_drive_ro" has no tests
warning: "guestfs_config" has no tests
warning: "guestfs_set_qemu" has no tests
warning: "guestf...
2011 Jun 07
0
builder-ubuntu libguestfs success 2f73ea343cc4a3433f20e99a7835152767a70f80
...g: "guestfs_test0rstructlisterr" has no tests
warning: "guestfs_test0rhashtable" has no tests
warning: "guestfs_test0rhashtableerr" has no tests
warning: "guestfs_launch" has no tests
warning: "guestfs_wait_ready" has no tests
warning: "guestfs_kill_subprocess" has no tests
warning: "guestfs_add_drive" has no tests
warning: "guestfs_add_cdrom" has no tests
warning: "guestfs_add_drive_ro" has no tests
warning: "guestfs_config" has no tests
warning: "guestfs_set_qemu" has no tests
warning: "guestf...