GitHub user ustcweizhou opened a pull request: https://github.com/apache/cloudstack/pull/1027
CLOUDSTACK-8715: qemu-guest-agent support on KVM @wido can you check if these codes are useful for you? You can merge this pull request into a Git repository by running: $ git pull https://github.com/ustcweizhou/cloudstack guest-agent Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1027.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1027 ---- commit 9317ef728f66ca7ff26166592ca2083432fdc805 Author: Wido den Hollander <w...@widodh.nl> Date: 2015-10-27T10:03:49Z CLOUDSTACK-8715: Add VirtIO channel to all Instances for the Qemu Guest Agent This commit adds a additional VirtIO channel with the name 'org.qemu.guest_agent.0' to all Instances. With the Qemu Guest Agent the Hypervisor gains more control over the Instance if these tools are present inside the Instance, for example: * Power control * Flushing filesystems In the future this should allow safer snapshots on KVM since we can instruct the Instance to flush the filesystems prior to snapshotting the disk. More information: http://wiki.qemu.org/Features/QAPI/GuestAgent Keep in mind that on Ubuntu AppArmor still needs to be disabled since the default AppArmor profile doesn't allow libvirt to write into /var/lib/libvirt/qemu commit dbf8d0271eee8fd6a79f0159e377c636a0960011 Author: Wido den Hollander <w...@widodh.nl> Date: 2015-10-30T11:33:27Z Install the Qemu Guest Agent inside the SSVM commit f6e4955e128d4079692900630f8cbc1096840696 Author: Wei Zhou <w.z...@tech.leaseweb.com> Date: 2015-11-01T20:56:09Z [Guest Agent] add guest_agent column in vm_template table commit 13c7b8d472f1ae3992398a17317df48f3900317c Author: Wei Zhou <w.z...@tech.leaseweb.com> Date: 2015-11-02T07:52:18Z [Guest Agent] add guest agent support in kvm hypervisor plugin commit 8df88e484ef0140a7ead5fdd6c49aebca7777e45 Author: Wei Zhou <w.z...@tech.leaseweb.com> Date: 2015-11-02T09:15:41Z [Guest Agent] add rebootVM and stopVM via guest agent commit 83abf9f0d9a125449a48a6211f6a6e9898088026 Author: Wei Zhou <w.z...@tech.leaseweb.com> Date: 2015-11-03T09:44:32Z [Guest Agent] send boot args to systemvms by send_to_vm_agent.py commit 010e5a7699bbc871473363530bb890bddbf1ed99 Author: Wei Zhou <w.z...@tech.leaseweb.com> Date: 2015-11-03T11:46:00Z [Guest Agent] fix UI bugs ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---