1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-12-23 12:23:47 +03:00
Commit Graph

1 Commits

Author SHA1 Message Date
Peter Krempa
71c1cdb134 examples: Add example to make guest agent lifecycle event useful
This example allows to use the guest agent event and metadata to track
vCPU count set via the guest agent (agent-based onlining/offlining) and
keep it persistent accross domain restarts.

The daemon listens for the agent lifecycle event, and if it's received
it looks into doman's metadata to see whether a desired count was set
and issues the guest agent command.
2015-05-11 10:53:06 +02:00