Re: [libvirt-users] Error when compiling libvirt 1.2.7 on CentOS 6.4

2014-08-13 Thread Jincheng Miao
On 08/14/2014 12:32 AM, Eric Blake wrote: On 08/13/2014 01:33 AM, Jincheng Miao wrote: Making all in src make[2]: Entering directory `/home/ec2-user/libvirt-1.2.7/src' GEN libvirt_access.xml /bin/sh: -w: command not found Here is the accident, why sh executes '-w' command. That should

[libvirt-users] provide http server path as vfat floppy/disk

2014-08-13 Thread Vasiliy Tolstov
Hello. Is that possible to use some url (http/https) that contains files as source for floppy or block device? I can find only http://www.redhat.com/archives/libvir-list/2009-November/msg00604.html that says about local files and floppy, i can write/use fuse based fs , but may be libvirt/qemu have

Re: [libvirt-users] Support live migration of OpenVZ container

2014-08-13 Thread Eric Blake
On 08/13/2014 04:20 PM, Hongbin Lu wrote: > Hi libvirt team, > > I was trying to migrate an OpenVZ domain from one host to another host. It > seems that the live migration of OpenVZ container is there ( > https://openvz.org/Migration_from_one_HN_to_another), but it haven't been > integrated to lib

[libvirt-users] Support live migration of OpenVZ container

2014-08-13 Thread Hongbin Lu
Hi libvirt team, I was trying to migrate an OpenVZ domain from one host to another host. It seems that the live migration of OpenVZ container is there ( https://openvz.org/Migration_from_one_HN_to_another), but it haven't been integrated to libvirt yet. In particular, I ran the following commands

Re: [libvirt-users] how virt-manager gets CPU usage of Guest

2014-08-13 Thread Restituto Marcus Arevalo
Will try it out sir! Though I need it in Java but thank you! At least someone replied. Thanks again Marco On Wednesday, August 13, 2014 10:55 PM, Michal Privoznik wrote: On 13.08.2014 16:00, Restituto Marcus Arevalo wrote: > Hi, > > Does anybody know how virt-manager is getting the CPU

Re: [libvirt-users] Error when compiling libvirt 1.2.7 on CentOS 6.4

2014-08-13 Thread Eric Blake
On 08/13/2014 01:33 AM, Jincheng Miao wrote: >> Making all in src >> make[2]: Entering directory `/home/ec2-user/libvirt-1.2.7/src' >> GEN libvirt_access.xml >> /bin/sh: -w: command not found > > Here is the accident, why sh executes '-w' command. > That should be: > /usr/bin/perl -w ./rpc

Re: [libvirt-users] how virt-manager gets CPU usage of Guest

2014-08-13 Thread Michal Privoznik
On 13.08.2014 16:00, Restituto Marcus Arevalo wrote: Hi, Does anybody know how virt-manager is getting the CPU usage of the guests? I need to know how to get the CPU usage of the guests and this is the only way I can think of. In other words, how does virt-manager produce the graph of the CPU us

Re: [libvirt-users] Error when compiling libvirt 1.2.7 on CentOS 6.4

2014-08-13 Thread Hongbin Lu
Thanks Jincheng, After installing perl, the error is resolved. Best regards, Hongbin On Wed, Aug 13, 2014 at 3:33 AM, Jincheng Miao wrote: > > On 08/10/2014 06:18 AM, Hongbin Lu wrote: > > Hi, > > I was trying to follow this guide (http://libvirt.org/compiling.html) to > compile libvirt1.2.

Re: [libvirt-users] Does libvirt have API to detect image format

2014-08-13 Thread Richard W.M. Jones
On Mon, Aug 11, 2014 at 08:35:46PM +, Jianfeng Tang wrote: > > > > I am using backing store when I create my volume. However, the backing > store file is from another team, which can be either in raw or in qcow2 > format. > > Is there a libvirt API to detect image format by given an image fil

[libvirt-users] how virt-manager gets CPU usage of Guest

2014-08-13 Thread Restituto Marcus Arevalo
Hi, Does anybody know how virt-manager is getting the CPU usage of the guests? I need to know how to get the CPU usage of the guests and this is the only way I can think of. In other words, how does virt-manager produce the graph of the CPU usage of EACH guest in KVM? I don't actually need the

Re: [libvirt-users] [qemu-kvm] Network bandwidth limits via libvirt

2014-08-13 Thread Laine Stump
On 08/12/2014 01:37 PM, Romain Hardouin wrote: > Hi all, > > I try to understand why the interface bandwidth limits are not applied to my > Ubuntu 12.04 VM (qemu-kvm driver) and I would need some insights. > I spawn my VM with OpenStack and when I issue a dumpxml on my domain, I can > see that ba

Re: [libvirt-users] Error when compiling libvirt 1.2.7 on CentOS 6.4

2014-08-13 Thread Jincheng Miao
On 08/10/2014 06:18 AM, Hongbin Lu wrote: Hi, I was trying to follow this guide (http://libvirt.org/compiling.html) to compile libvirt1.2.7 on CentOS6.4. There is an error on executing "make". Below is the steps to reproduce and the error messages. Any help is appreciated. Thanks. $ sudo y