qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Where is the VM live migration code?


From: Daniel P. Berrange
Subject: Re: [Qemu-devel] Where is the VM live migration code?
Date: Wed, 2 Aug 2017 13:53:41 +0100
User-agent: Mutt/1.8.3 (2017-05-23)

On Wed, Aug 02, 2017 at 01:49:44PM +0100, Dr. David Alan Gilbert wrote:
> * Aditya Bhardwaj (address@hidden) wrote:
> > My lab setup is: 3 HP Servers each of 4 GB RAM. Server 1 and Server 2:
> > installed with Virtualization using KVM on Redhat 6.5 System. On top of
> > this I am using libvirtd for managing virtual machines. NFS server is
> > installed on Server 3 for shared disk image. VM migration is working
> > correctly. Now i need to do some changes in "migration.c" but did not find
> > any source code of KVM-QEMU migration.
> > 
> > Where I can find the migration source code for KVM-QEMU. All are requested
> > to help me for this issue.
> 
> Migration is quite big - so take a step back first and understand how
> a migration works before diving into the code too far.
> First I'd suggest going for something newer than 6.5 - it has a very
> very old QEMU on it;  If you can upgrade to a 7.x it'll make your life a
> lot easier for building and working with current code.
> 
> The current QEMU has a whole migration/ subdirectory with quite a bit of
> code, and there's also some kernel code that helps, and code in
> individual devices.
> 
> Then there's also the code in libvirt that drives it.
> 
> A lot of code - so the trick is to figure out what you want to change
> and then find the right place.

Might also be worth while to explain what problem with live migration
you are looking to solve, as it may well be that it has already been
examined / worked on by someone else, or people might have design
suggestions to avoid you wasting time down dead-ends.

Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



reply via email to

[Prev in Thread] Current Thread [Next in Thread]