[libvirt-users] How to get the real migrate speed (MB/s) in the libvirt.

2015-04-06 Thread Edward Young
Hi all, I start to migrate a VM with its storage using "virsh migrate --live --copy-storage-all ..." command. I'm wondering whether we can get the migration report when the migration is done. For instance, how long it takes to migrate this VM, the total data transferred and etc.. Thanks! Ed _

[libvirt-users] How to run qemu with root permission from libvirt.

2015-03-14 Thread Edward Young
Hi all, My platform is qemu 1.5.1 and libvirt 1.2.0. How to lauch the qemu with root permission, since in the qemu I would like to access the hardware directly. I actually check the runing /usr/bin/kvm process, it indicated that this process is from a root user, but it still failed to act as with

[libvirt-users] vm live storage migration failure.

2015-03-12 Thread Edward Young
Hi all, When I migrate a live vm with two virtual disk images from one node to another. Bothe of the nodes are in the same LAN and there is no shared storage. I run the following command and get the output blew: yyang@node1:~$ sudo virsh migrate --live --persistent --copy-storage-all --unsafe --

Re: [libvirt-users] libvirt live migration, qcow2 image, nbd server

2015-02-13 Thread Edward Young
On Fri, Feb 13, 2015 at 2:01 PM, Eric Blake wrote: > On 02/12/2015 07:41 PM, Edward Young wrote: > > Hi all, > > > > > > When I live migrate a vm using > > > > "migrate --live --copy-storage-all mig-vm qemu+ssh://192.168.1.3/system > > tcp://

[libvirt-users] libvirt live migration, qcow2 image, nbd server

2015-02-12 Thread Edward Young
Hi all, When I live migrate a vm using "migrate --live --copy-storage-all mig-vm qemu+ssh://192.168.1.3/system tcp://192.168.1.3" I got the following error WARNING: Image format was not specified for 'nbd://node2:49155/drive-virtio-disk0' and probing guessed raw. 258 A

Re: [libvirt-users] [libvirt] vm live storage migration with snapshots

2015-02-12 Thread Edward Young
On Wed, Feb 11, 2015 at 5:09 PM, Eric Blake wrote: > [dropping multiple lists; let's just use libvirt-users] > > On 02/11/2015 02:45 PM, Edward Young wrote: > > > I perform a simple test, but failed. > > > > In the source, I create: base <- mid <- activ

Re: [libvirt-users] [libvirt] vm live storage migration with snapshots

2015-02-11 Thread Edward Young
Hi Eric, Please see the blew: On Wed, Feb 11, 2015 at 3:12 PM, Eric Blake wrote: > On 02/11/2015 02:07 PM, Edward Young wrote: > >>> What if this vm has a number of disk-only external snapshots? In the > >>> current version, how can live migrate this vm? > >

Re: [libvirt-users] [libvirt] vm live storage migration with snapshots

2015-02-11 Thread Edward Young
Hi Eric, Thanks for your reply! I have the follow up questions blew. On Wed, Feb 11, 2015 at 11:52 AM, Eric Blake wrote: > On 02/11/2015 10:08 AM, Edward Young wrote: > > Hi all, > > [probably didn't need to cross-post to quite that wide of an audience, > oh well] >

[libvirt-users] vm live storage migration with snapshots

2015-02-11 Thread Edward Young
Hi all, I'm investigating the ways to improve the live migration performance in libvirt. I have a question about the vm live storage migration. the platform is libvirt + qemu + kvm If we want to migrate a running vm with its virtual disk images to another node. we can use 'virsh migrate ' com

Re: [libvirt-users] About live migration with snapshots

2015-02-10 Thread Edward Young
Hi All, Sorry, I do not know to reply the previous message directly, so I have to manually copy them here. I have two questions about the following issue? 1. I follow the instructions blew to migrate a vm with snapshots. When I perform 'virsh snapshot-create --redefine $dom file' on the destinat