Nicolas Saenz Julienne <nsaen...@redhat.com> writes:

> 'event-loop-backend' provides basic property handling for all
> 'AioContext' based event loops. So let's define a new 'MainLoopClass'
> that inherits from it. This will permit tweaking the main loop's
> properties through qapi as well as through the command line using the
> '-object' keyword[1]. Only one instance of 'MainLoopClass' might be
> created at any time.
>
> 'EventLoopBackendClass' learns a new callback, 'can_be_deleted()' so as
> to mark 'MainLoop' as non-deletable.
>
> Signed-off-by: Nicolas Saenz Julienne <nsaen...@redhat.com>
>
> [1] For example:
>       -object main-loop,id=main-loop,poll-max-ns=<value>

QAPI schema
Acked-by: Markus Armbruster <arm...@redhat.com>


Reply via email to