cloud-hypervisor/src
Omer Faruk Bayram f00df25d40 vmm: dbus: graceful shutdown of the DBusApi thread
This commit adds support for graceful shutdown of the DBusApi thread
using `futures::channel::oneshot` channels. By using oneshot channels,
we ensure that the thread has enough time to send a response to the
`VmmShutdown` method call before it is terminated. Without this step,
the thread may be terminated before it can send a response, resulting
in an error message on the client side stating that the message
recipient disconnected from the message bus without providing a reply.

Also changes the default values for DBus service name, object path
and interface name.

Signed-off-by: Omer Faruk Bayram <omer.faruk@sartura.hr>
2023-06-06 10:18:26 -07:00
..
bin build: rename BUILT_VERSION to BUILD_VERSION 2023-04-14 12:13:46 -07:00
main.rs vmm: dbus: graceful shutdown of the DBusApi thread 2023-06-06 10:18:26 -07:00