[libvirt] [PATCH] qemu: Add network bandwidth settings for ethernet type interfaces

2014-08-31 Thread Anirban Chakraborty
Please apply. thanks, Anirban Chakraborty Signed-off-by: Anirban Chakraborty abc...@juniper.net --- src/qemu/qemu_command.c | 5 + src/qemu/qemu_hotplug.c | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index

[libvirt] [PATCH] virsh: Implement command to rename domain

2014-08-31 Thread Tomas Meszaros
I've recently worked with rather large number of virtual machines and needed to rename all domains. I couldn't find better way how to rename domain other than: virsh dumpxml domain domain.xml (change domain name in domain.xml) virsh undefine domain virsh define domain.xml This

Re: [libvirt] [PATCH] conf: Check migration_host is valid or not during libvirt restarts

2014-08-31 Thread chen.fan.f...@cn.fujitsu.com
On Fri, 2014-08-29 at 14:52 +0200, Jiri Denemark wrote: On Fri, Aug 29, 2014 at 19:20:58 +0800, Chen Fan wrote: if user specified an invalid strings as migration hostname, like setting: migration_host = XXX, libvirt should check it and return error during lbivirt restart.

Re: [libvirt] [PATCH 10/11] qemu: bulk stats: implement block group

2014-08-31 Thread Li Wei
Hi Francesco, I notice your patchset is much complete than mine which only focus on VIR_DOMAIN_STATS_BLOCK[1], but it seems your patch implement block stats query in a per-block style, this should be a bottleneck when there are a lot of block devices in a domain. Could you implement it in a bulk

Re: [libvirt] [PATCH v2] Fix connection to already running session libvirtd

2014-08-31 Thread Martin Kletzander
On Fri, Aug 29, 2014 at 02:18:59PM +0200, Christophe Fergeau wrote: Since 1b807f92, connecting with virsh to an already running session libvirtd fails with: $ virsh list --all error: failed to connect to the hypervisor error: no valid connection error: Failed to connect socket to