Re: [libvirt-users] Live Block Migration with additional attached storage

2012-07-10 Thread Chun-Hung Chen
Hi Eric, Glad to hear your reply. I would wait and check. Thanks. Regards, Arnose On Wed, Jul 11, 2012 at 7:37 AM, Eric Blake wrote: > > > Unfortunately, block migration during migration is an all-or-none > prospect. And qemu 1.1 does not provide enough tools to do anything > differently, shor

Re: [libvirt-users] Live Block Migration with additional attached storage

2012-07-10 Thread Eric Blake
On 07/10/2012 04:24 AM, Chun-Hung Chen wrote: > Dear all, > > I am planning to use live block migration with one VM running on local disk > and also attached additional disk from iSCSI or other shared storage. > When block migration, not only local VM disk is copied to the destination > but also t

Re: [libvirt-users] segfault on snapshot-list, 0.9.13

2012-07-10 Thread Eric Blake
On 07/10/2012 08:01 AM, Andrey Korolyov wrote: > Hi, > > virsh crashes when doing snapshot-list: > > Program received signal SIGSEGV, Segmentation fault. > 0x7f4ba600dc51 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 Known bug, and fixed in the meantime with these two commits: http://libvir

Re: [libvirt-users] About IBM PowerVM hypervisor support

2012-07-10 Thread Eduardo Otubo
On Thu, Jul 05, 2012 at 10:50:11AM +0800, Dennis Chen wrote: > On 07/04/2012 08:56 PM, Eduardo Otubo wrote: > >On Wed, Jul 04, 2012 at 05:42:08PM +0800, Dennis Chen wrote: > >>Adding Eduardo who is the author of the phyp driver... > >> > >>Eduardo, is the libvirtd daemon necessary for libvirt-based

[libvirt-users] Live Block Migration with additional attached storage

2012-07-10 Thread Chun-Hung Chen
Dear all, I am planning to use live block migration with one VM running on local disk and also attached additional disk from iSCSI or other shared storage. When block migration, not only local VM disk is copied to the destination but also the attached additional disk from shared storage. It is not

[libvirt-users] Live Block Migration with additional attached storage

2012-07-10 Thread Chun-Hung Chen
Dear all, I am planning to use live block migration with one VM running on local disk and also attached additional disk from iSCSI or other shared storage. When block migration, not only local VM disk is copied to the destination but also the attached additional disk from shared storage. It is not

[libvirt-users] segfault on snapshot-list, 0.9.13

2012-07-10 Thread Andrey Korolyov
Hi, virsh crashes when doing snapshot-list: Program received signal SIGSEGV, Segmentation fault. 0x7f4ba600dc51 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 (gdb) bt #0 0x7f4ba600dc51 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x7f4ba60905b7 in xdr_string () from /lib/x86_64-

Re: [libvirt-users] What is the procedure of libvirt internal when you run a domain.

2012-07-10 Thread Eric Blake
On 07/10/2012 07:00 AM, xuanmao_001 wrote: > Hi, all. > I want to know when I press run button. start a domain. What is the procedure > of libvirt internal. > I know it will call virDomainCreate(),then qemuDomainStart() -> > qemuDomainStartWithFlags(). what is the next? I'm assuming you pushed

Re: [libvirt-users] live migration

2012-07-10 Thread Eric Blake
On 07/10/2012 06:46 AM, hcyy wrote: > Hello, everybody. I use NFS to do live migration。After input virsh > --connect=qemu:///system --quiet migrate --live vm12 qemu+tcp://pcmk-1/system > (vm12 is vm name,/pcmk-1 is host name)it use almost 10s for preparation. > During the 10s,the vm is sti

[libvirt-users] What is the procedure of libvirt internal when you run a domain.

2012-07-10 Thread xuanmao_001
Hi, all. I want to know when I press run button. start a domain. What is the procedure of libvirt internal. I know it will call virDomainCreate(),then qemuDomainStart() -> qemuDomainStartWithFlags(). what is the next? xuanmao_001___ libvirt-users m

Re: [libvirt-users] Adding a second lv as vm drive: how to set the pci part

2012-07-10 Thread Eric Blake
On 07/10/2012 05:18 AM, Mauricio Tavares wrote: > Let's say I have a vm, vm1, which has a lv as its hard drive: > > > > > >function='0x0'/> > > > I could add pickles as a second drive as follows: > > > > > >function='

[libvirt-users] live migration

2012-07-10 Thread hcyy
Hello, everybody.     I use NFS to do live migration。After input  virsh --connect=qemu:///system --quiet migrate --live vm12 qemu+tcp://pcmk-1/system   (vm12  is vm name,/pcmk-1 is host name)it use almost 10s for preparation. During the 10s,the vm is still runing and can ping other vm. But if i i

[libvirt-users] Adding a second lv as vm drive: how to set the pci part

2012-07-10 Thread Mauricio Tavares
Let's say I have a vm, vm1, which has a lv as its hard drive: I could add pickles as a second drive as follows: but I am trying to understand the pci address entry. Must drive be on a different slot?

Re: [libvirt-users] Issue with getCPUStats and getMemoryStats

2012-07-10 Thread Osier Yang
On 2012年07月10日 15:07, Ananth wrote: Hi, I am facing issue with the calls getCPUStats and getMemoryStats. Please find the error below. AttributeError: 'module' object has no attribute 'VIR_NODE_CPU_STATS_ALL_CPUS' >>> print con.getCPUStats(2, None, 0, 0) Traceback (most recent call last): Fi

[libvirt-users] Issue with getCPUStats and getMemoryStats

2012-07-10 Thread Ananth
Hi, I am facing issue with the calls getCPUStats and getMemoryStats. Please find the error below. AttributeError: 'module' object has no attribute 'VIR_NODE_CPU_STATS_ALL_CPUS' >>> print con.getCPUStats(2, None, 0, 0) Traceback (most recent call last): File "", line 1, in File "/usr/lib64/py