[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Discussion: Add API to retrieve migration progress
On Tue, 2013-11-12 at 01:37 -0700, Bamvor Jian Zhang wrote: > Hi, Ian > > On Fri, 2013-11-08 at 16:10 +0800, Chunyan Liu wrote: > > > > > > 2013/11/8 Chunyan Liu <cyliu@xxxxxxxx> > > > Hi, list, > > > > > > One customer requests that we should show migration progress > > > bar in 'xl migrate' or 'virsh migrate', like '-h/--hash' > > > option in 'rpm' command, so that they could see clearly what > > > happened in migration period. To deal with that, we need to > > > have a method to retrieve migration progress. And we hope such > > > stuff could be finally merged to upstream. How do you think? > > > > The current code uses the xtl logging facilities, which IIRC includes > > support for progress reporting. xl by default uses the stdio output > > implementation provided by the library, which I think logs the progress > > as "\rFOO%" but this could be enhanced to use # instead, either by > > enhancing the xtl stdio module of by xl providing a customised version > > (I think I would prefer the first option). It may also be that the > > priority of these messages is not high enough that they are shown by > > default. Have you tried "xl -vvv migrate"? Perhaps --hash just needs to > > adjust the relevant thresholds. > yes, "xl -vvv migrate" output lots of logs including migrate progress. it > is ok for developers, meanwhile it is hard for users to know the step of > current migration. > is there any chance to output the migrate progress alone? Hopefully by adjusting the default thresholds as I suggested. If not then perhaps a custom xtl logger module, or an enhancement to the existing stdio module, might be needed. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |