cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mice Xia" <>
Subject RE: About the development approach of KVM Agent on master
Date Mon, 19 Nov 2012 03:39:18 GMT
I'm running a similar dev Env as Wido did for KVM

A dedicated CentOS 6.3 server for KVM

* Make changes, build
* scp the cloud-plugin-hypervisor-kvm.jar and other modified jar (like cloud-api.jar) to the
KVM server and restart cloud-agent
* if you want to debug cloud-agent remotely (like in eclipse), add following line to the JSVC
start method in, 
 -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8787

Hope this helps


-----Original Message-----
From: Wido den Hollander [] 
Sent: Wednesday, November 14, 2012 9:07 PM
Subject: Re: About the development approach of KVM Agent on master


I'm in a vary luxurious, I have a rack full of hardware at my disposal 
to test CloudStack and Ceph.

My way of developing is:
* Make changes
* Build a new Agent / KVM JAR
* scp it to the hypervisor
* Restart the Agent
* See if it works!

That is mainly the way I do my KVM development and testing.


On 11/13/2012 04:40 AM, Satoshi Kobayashi wrote:
> Hi all,
> I have some questions/issues about the development approach of KVM Agent.
> 1. Is there any document written about it?
> I could not find it in Or is it in other places?
> 2. How should it be developed (in future)?
> I looked at the source code of KVM Agent. It can not be launched from Maven.
> (I found that just executing is not enough because KVM Agent requires
> some configurations and scripts)
> It seems to require packaging, whenever change is added to the code.
> I think that it is probably inefficient.
> A task required to develop from Maven which I think is the following.
> - Add a configuration of maven-exec-plugin for KVM Agent to pom.xml.
> - Add a configuration for m2e plugin of Eclipse (like "mvn jetty:run")
> - Skip some checks in the development environment (for example,
> - Add configurations and scripts to be used to the path (or from args)
> - Add a tool to cleanup a KVM host (optional?)
> Do you have any ideas?
> Regards,
> Satoshi
View raw message