Re: [Qemu-devel] Tunneled Migration with Non-Shared Storage

2014-11-19 Thread Gary R Hook
On 11/18/14 2:28 PM, Dr. David Alan Gilbert wrote: Do you have the libvirt commands you're using and ideally the logs to show what qmp commands are being sent to qemu to see what's actually doing the COR ? From the libvirt log, here are all of the commands sent to move a small VM. The debug st

Re: [Qemu-devel] Tunneled Migration with Non-Shared Storage

2014-11-19 Thread Daniel P. Berrange
On Wed, Nov 19, 2014 at 09:35:16AM +, Dr. David Alan Gilbert wrote: > * Paolo Bonzini (pbonz...@redhat.com) wrote: > > > > > > On 18/11/2014 21:28, Dr. David Alan Gilbert wrote: > > > This seems odd, since as far as I know the tunneling code is quite > > > separate > > > to the migration cod

Re: [Qemu-devel] Tunneled Migration with Non-Shared Storage

2014-11-19 Thread Paolo Bonzini
On 19/11/2014 10:35, Dr. David Alan Gilbert wrote: > * Paolo Bonzini (pbonz...@redhat.com) wrote: >> >> >> On 18/11/2014 21:28, Dr. David Alan Gilbert wrote: >>> This seems odd, since as far as I know the tunneling code is quite separate >>> to the migration code; I thought the only thing that th

Re: [Qemu-devel] Tunneled Migration with Non-Shared Storage

2014-11-19 Thread Dr. David Alan Gilbert
* Paolo Bonzini (pbonz...@redhat.com) wrote: > > > On 18/11/2014 21:28, Dr. David Alan Gilbert wrote: > > This seems odd, since as far as I know the tunneling code is quite separate > > to the migration code; I thought the only thing that the migration > > code sees different is the file descript

Re: [Qemu-devel] Tunneled Migration with Non-Shared Storage

2014-11-18 Thread Paolo Bonzini
On 18/11/2014 21:28, Dr. David Alan Gilbert wrote: > This seems odd, since as far as I know the tunneling code is quite separate > to the migration code; I thought the only thing that the migration > code sees different is the file descriptors it gets past. > (Having said that, again I don't know

Re: [Qemu-devel] Tunneled Migration with Non-Shared Storage

2014-11-18 Thread Dr. David Alan Gilbert
* Gary R Hook (grhookatw...@gmail.com) wrote: > What I really need to figure out is why, when performing a migration > using non-shared storage, an entire VM is copied into memory before it???s > sent across the wire using this method. A copy-on-read operation > is performed first, then the disk is

[Qemu-devel] Tunneled Migration with Non-Shared Storage

2014-11-18 Thread Gary R Hook
What I really need to figure out is why, when performing a migration using non-shared storage, an entire VM is copied into memory before it’s sent across the wire using this method. A copy-on-read operation is performed first, then the disk is sent, then the dirty pages, then the RAM. The odd t