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