summaryrefslogtreecommitdiff
path: root/examples/guest-vcpus
Commit message (Collapse)AuthorAgeFilesLines
* examples: Add example to make guest agent lifecycle event usefulPeter Krempa2015-05-112-0/+234
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.