The doc says, the agent command can block forever: http://wiki.libvirt.org/page/Qemu_guest_agent
Warning: Like any monitor command, GA commands can block indefinitely > -----Original Message----- > From: Wei ZHOU [mailto:ustcweiz...@gmail.com] > Sent: Tuesday, July 16, 2013 1:39 PM > To: dev@cloudstack.apache.org > Subject: Re: Yet anther KVM blocker: > https://issues.apache.org/jira/browse/CLOUDSTACK-3538 > > I am wondering what causes passCmdLine hanging forever? > > -Wei > > > 2013/7/16 Edison Su <edison...@citrix.com> > > > Due to bug fix for CLOUDSTACK-2823, we added a fix in the KVM code, to > > retry passCmdLine several times during system vm start. > > Somehow, during the retry, passCmdLine(the patchviasocket.pl itself) > > is hanging forever, thus blocking startcommand, even the vm is already > started. > > The possible fix: > > passCmdLine should timeout in a few seconds, if > > timeout, we can try the command again for several times. > >