>"Daniel P. Berrange" <berrange@xxxxxxxxxx> wrote on 05/05/2010 11:16:37: > From: "Daniel P. Berrange" <berrange@xxxxxxxxxx> > To: Cole Robinson <crobinso@xxxxxxxxxx> > Cc: Kenneth Nagin/Haifa/IBM@IBMIL, list libvirt <libvir-list@xxxxxxxxxx> > Date: 05/05/2010 11:16 > Subject: Re: (Resend with updates) Live Migration with > non-shared storage for kvm > > On Mon, May 03, 2010 at 09:52:10AM -0400, Cole Robinson wrote: > > On 05/03/2010 04:13 AM, Kenneth Nagin wrote: > > > > > > > ... > > > > > This the patch file: > > > (See attached file: libvirt_migration_ns_100503.patch) > > > > > > > ACK, patch looks fine now. > > > No objections to the patch that was committed, but FYI there is an > improvement that can be done to it. > > If you run 'virsh domjobinfo $GUEST' while migration is running it > tells you the progress of migration. It gives overall progress, and > memory progress. The APi was designed to allow us to report storage > progress too. To wire this up look at the method > > qemuDomainWaitForMigrationComplete > > where it updates the priv->jobInfo variables. You'll also need to add > extra params to the qemuMonitorGetMigrationStatus() method to return > the disk processed/remaining/total stats > > virsh should already be able to report this data once the QEMU driver > is wired up > > Regards, > Daniel > -- > |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/:| > |: http://libvirt.org -o- http://virt-manager.org -o- http://deltacloud.org:| > |: http://autobuild.org -o- http://search.cpan.org/~danberr/:| > |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :| Thank you. I will look into implementing the improvement when I have time. However, it won't be for a while since I have some pressing deadlines that I have to meet in the next few months. regards, Kenneth Nagin Ph: +972-4-8296227 Cell: 054-6976227 Fx: +972-4- 8296113 http://researcher.watson.ibm.com/researcher/view.php?person=il-NAGIN http://www.reservoir-fp7.eu/ -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list