cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-8715) Add support for qemu-guest-agent to libvirt provider
Date Wed, 04 Nov 2015 10:47:27 GMT


ASF GitHub Bot commented on CLOUDSTACK-8715:

Github user ustcweizhou commented on the pull request:
    @wido @sspans 
    To be honest, this code was written by me about two years ago , which is not used for
now. I created the PR because you guys can judge this code are useful or not. I have no comments
if we revert some of the commits (or even all).
    1. for the default port, if most of you agree, I will revert the related commits.
    2. I agree. I did not remove it in the commits. However, I change the 'vmName'.vport as
the first virtio port, because cloud-early-config get the publickey and boot args from /dev/vport0p1.
    3. rom my point of view, python is easy for testing, the data send/receive are already
implemented. If you want to replace it with Java, that's very good. for now, python works
fine in my testing, I even use it for guest agent command testing. btw, do you want replace with java ?  I replace it with the python script in the PR.

> Add support for qemu-guest-agent to libvirt provider
> ----------------------------------------------------
>                 Key: CLOUDSTACK-8715
>                 URL:
>             Project: CloudStack
>          Issue Type: New Feature
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: KVM
>            Reporter: Sten Spans
>            Assignee: Wido den Hollander
>              Labels: kvm, libvirt, qemu, systemvm
>             Fix For: Future
> The qemu guest agent is a newer part of qemu/kvm/libvirt which exposes quite a lot of
useful functionality, which can only be provided by having an agent on the VM. This includes
things like freezing/thawing filesystems (for backups), reading files on the guest, listing
interfaces / ip addresses, etc.
> This feature has been requested by users, but is currently not implemented.
> The first change needed is to add the following to the XML generated for KVM virtual
> <channel type='unix'>
>   <source mode='bind'/>
>   <target type='virtio' name='org.qemu.guest_agent.0'/>
> </channel>
> This provides the communication channel between libvirt and the agent on the host. All
in all a pretty simple change to /
> Secondly the qemu-guest-agent package needs to be added to the systemvm template.

This message was sent by Atlassian JIRA

View raw message