From: "Richard W.M. Jones" <rjones@redhat.com>
To: qemu-devel@nongnu.org
Cc: pbonzini@redhat.com, berrange@redhat.com
Subject: Re: [PATCH v1 1/2] Implement -run-with exit-with-parent=on
Date: Fri, 3 Oct 2025 15:12:18 +0100 [thread overview]
Message-ID: <20251003141217.GB5720@redhat.com> (raw)
In-Reply-To: <20251003133158.3978333-2-rjones@redhat.com>
On Fri, Oct 03, 2025 at 02:24:37PM +0100, Richard W.M. Jones wrote:
[...]
> +int
> +set_exit_with_parent(void)
> +{
> + int r;
> + QemuThread exit_with_parent_thread;
> +
> + /*
> + * We have to block waiting for kevent, so that requires that we
> + * start a background thread.
> + */
> + qemu_thread_create(&exit_with_parent_thread,
> + "exit-parent",
> + exit_with_parent_loop, NULL,
> + QEMU_THREAD_DETACHED);
> + return 0;
> +}
'r' is unused. Fixed in my local copy.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
next prev parent reply other threads:[~2025-10-03 14:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-03 13:24 [PATCH v1 0/2] Implement -run-with exit-with-parent=on Richard W.M. Jones
2025-10-03 13:24 ` [PATCH v1 1/2] " Richard W.M. Jones
2025-10-03 14:12 ` Richard W.M. Jones [this message]
2025-10-03 13:24 ` [PATCH v1 2/2] tests/qtest: Use exit-with-parent=on in qtest invocations Richard W.M. Jones
2025-10-03 14:11 ` [PATCH v1 0/2] Implement -run-with exit-with-parent=on Richard W.M. Jones
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251003141217.GB5720@redhat.com \
--to=rjones@redhat.com \
--cc=berrange@redhat.com \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.