Re: [libvirt-users] Live snapshots of a single block device

2014-05-23 Thread Eric Blake
On 05/23/2014 12:16 PM, Andrew Martin wrote: >> --quiesce requires the guest to be running to work, while --memspec >> forceably stops the guest (the migration algorithm must pause, even if >> --live minimizes the pause to a fraction of a second). > Would calling snapshot-create-as with --disk-onl

Re: [libvirt-users] Live snapshots of a single block device

2014-05-23 Thread Andrew Martin
> >> --live only makes sense when mixed with memory snapshots (with --memspec); > >> but > >> as you are doing a --disk-only snapshot, it doesn't help (I'm not sure if > >> it > >> will error out as mutually exclusive or just be silently ignored, > >> without reading the code). > > I'm using this c

Re: [libvirt-users] Live snapshots of a single block device

2014-05-23 Thread Eric Blake
On 05/23/2014 08:41 AM, Andrew Martin wrote: >> >> Any reason you aren't upgrading to newer versions? Although these seem >> sufficient for what you are trying. > The VM hosts I'm using all run Ubuntu 12.04 and I haven't had time to backport > and test newer versions yet. I've published the lates

[libvirt-users] Libvirt with virtualbox

2014-05-23 Thread Dr. Boris Neubert
Hi, has anyone of you successfully used libvirt with VirtualBox? I ask because I haven't managed to connect to my machines and would like to benefit from your experience. Cheers Boris ___ libvirt-users mailing list libvirt-users@redhat.com https:

Re: [libvirt-users] Live snapshots of a single block device

2014-05-23 Thread Andrew Martin
- Original Message - > From: "Eric Blake" To: "Andrew Martin" > , libvirt-users@redhat.com Sent: Thursday, May 22, 2014 > 5:44:54 PM Subject: Re: [libvirt-users] Live snapshots of a single block > device > > On 05/22/2014 04:31 PM, Andrew Martin wrote: > > Hello, > > > > [Can you convince

Re: [libvirt-users] [netcf] Why netcf can not rename a existing physical interface dynamically by itself?

2014-05-23 Thread Laine Stump
On 05/23/2014 03:02 PM, jiahu wrote: > > On 05/23/2014 04:56 PM, Laine Stump wrote: >> On 05/23/2014 06:46 AM, Jianwei Hu wrote: >>> Hi All, >>> >>> I have a usage question about netcf. Why netcf can not rename a >>> existing physical interface dynamically by itself? >> The name of a physical inter

Re: [libvirt-users] How i can calculate cpu utilization percentage for domain running under a host using libvirt API.

2014-05-23 Thread Eric Blake
[long subject line!] On 05/23/2014 01:19 AM, dee...@fluentsoft.com wrote: > How i can calculate cpu utilization percentage for domain running under a > host using libvirt API. > Which function can i use for calulating cpu percentage? You have to calculate the percentage utilization yourself by ma

[libvirt-users] How i can calculate cpu utilization percentage for domain running under a host using libvirt API.

2014-05-23 Thread deepak
  Hi, How i can calculate cpu utilization percentage for domain running under a host using libvirt API. Which function can i use for calulating cpu percentage? Thanks and Regards, Deepak S - Message sent via Atmail Open - http://atmail.org/

[libvirt-users] How i can calculate cpu utilization percentage for host using python libvirt API.

2014-05-23 Thread deepak
  Hi, How i can calculate cpu utilization percentage for host using python libvirt API. Which function can i use for calulating cpu percentage of host and Virtual Machines? 1)Host cpu utilization    I tried getCPUStats() function,it gives the following output.Is there any

Re: [libvirt-users] [netcf] Why netcf can not rename a existing physical interface dynamically by itself?

2014-05-23 Thread jiahu
On 05/23/2014 04:56 PM, Laine Stump wrote: On 05/23/2014 06:46 AM, Jianwei Hu wrote: Hi All, I have a usage question about netcf. Why netcf can not rename a existing physical interface dynamically by itself? The name of a physical interface is determined by lower levels of the operating syst

[libvirt-users] - defining routing between guests

2014-05-23 Thread Jacek Pielaszkiewicz
Hi, On my host I have few lxc containers. Containers are split between let say three virtual networks. My goal is to define custom routing between networks. I can do that using for example iptables. Is it possible to do that only in libvirt (in network/domains/network filters configurati

Re: [libvirt-users] problem with bond/team network interfaces

2014-05-23 Thread Jelle de Jong
On 23/05/14 01:17, Nerijus Baliunas wrote: > I have VM attached to bridge br0. VM can see the network (ping works) when > the bridge has ethernet interfaces. But when I create bond or team device > and attach it to a bridge instead of eth interface, VM does not ping > anymore. Any ideas why? I thi

Re: [libvirt-users] [netcf] Why netcf can not rename a existing physical interface dynamically by itself?

2014-05-23 Thread Laine Stump
On 05/23/2014 06:46 AM, Jianwei Hu wrote: > Hi All, > > I have a usage question about netcf. Why netcf can not rename a existing > physical interface dynamically by itself? The name of a physical interface is determined by lower levels of the operating system, and can't be modified by netcf. the