[libvirt] [PATCH 4/6] vz: support migration uri

2015-07-13 Thread nshirokovskiy
From: Nikolay Shirokovskiy nshirokovs...@virtuozzo.com Signed-off-by: Nikolay Shirokovskiy nshirokovs...@virtuozzo.com --- src/vz/vz_driver.c | 52 +++- 1 files changed, 51 insertions(+), 1 deletions(-) diff --git a/src/vz/vz_driver.c

[libvirt] [PATCH 5/6] vz: support misc migration options

2015-07-13 Thread nshirokovskiy
From: Nikolay Shirokovskiy nshirokovs...@virtuozzo.com Migration API has a lot of options. This patch intention is to provide support for those options that can be trivially supported and give estimation for other options support in this commit message. I. Supported. 1. VIR_MIGRATE_COMPRESSED.

[libvirt] [PATCH 1/6] vz: add migration backbone code

2015-07-13 Thread nshirokovskiy
From: Nikolay Shirokovskiy nshirokovs...@virtuozzo.com This patch makes basic vz migration possible. For example by virsh: virsh -c vz:///system migrate $NAME vz+ssh://$DST/system Vz migration is implemented thru interface for managed migrations for drivers although it looks like a candadate for

[libvirt] [PATCH 3/6] vz: support domain rename on migrate

2015-07-13 Thread nshirokovskiy
From: Nikolay Shirokovskiy nshirokovs...@virtuozzo.com --- src/vz/vz_driver.c | 12 +--- src/vz/vz_sdk.c|5 +++-- src/vz/vz_sdk.h|5 - 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c index d5cbdc6..a42597c

[libvirt] [PATCH 6/6] vz: cleanup: define vz format of uuids

2015-07-13 Thread nshirokovskiy
From: Nikolay Shirokovskiy nshirokovs...@virtuozzo.com vz puts uuids into curly braces. Simply introduce new contstant to reflect this and get rid of magic +2 in code. Signed-off-by: Nikolay Shirokovskiy nshirokovs...@virtuozzo.com --- src/vz/vz_sdk.c | 12 ++-- src/vz/vz_utils.h |

[libvirt] [PATCH 2/6] vz: pass cookies in xml form

2015-07-13 Thread nshirokovskiy
From: Nikolay Shirokovskiy nshirokovs...@virtuozzo.com This way we can easily keep backward compatibility in the future. Use 2 distinct cookies format: 1 - between phases 'prepare' and 'perform' 2 - between phases 'perform' and 'finish' I see no reason to use unified format like in qemu yet.

[libvirt] [PATCH] qemuProcessHandleMigrationStatus: Update migration status on ASYNC_JOB_SAVE too

2015-07-13 Thread Michal Privoznik
After Jirka's migration patches libvirt is listening on migration events from qemu instead of actively polling on the monitor. There is, however, a little regression (introduced in 6d2edb6a42d0d41). The problem is, the current status of migration job is updated in qemuProcessHandleMigrationStatus

Re: [libvirt] vm snapshot multi-disk

2015-07-13 Thread Marcus
I'm guessing this is an issue with qemu, as the code indicates that libvirt relies on the qemu monitor when a vm is active, via qemuMonitorDeleteSnapshot. If I'm barking up the wrong tree, someone please let me know. Otherwise I'll follow up with qemu-devel. On Mon, Jul 13, 2015 at 2:42 PM,

Re: [libvirt] [libvirt-python][PATCH] examples: Introduce nodestats example

2015-07-13 Thread Martin Kletzander
On Mon, Jun 29, 2015 at 04:53:38PM +0200, Michal Privoznik wrote: So, this is an exercise to show libvirt capabilities. Firstly, for each host NUMA nodes some statistics are printed out, i.e. total s/nodes/node/ memory and free memory. Then, for each running domain, that has memory strictly

[libvirt] Serial connection between guests

2015-07-13 Thread Marcelo Ricardo Leitner
Hi, (I'm not subscribed to the list, please keep me on Cc) I'm attempting to get a serial link between two guests, same hypervisor. The only practical way I could find is to add a serial port using a pty to a guest and then manually connecting to the serial (console in my case) of the other

Re: [libvirt] [PATCH 00/13] Move generic virsh data to a separate module vsh

2015-07-13 Thread Martin Kletzander
On Mon, Jun 29, 2015 at 05:37:34PM +0200, Erik Skultety wrote: The idea behind this is that in order to introduce virt-admin client (and later some commands/APIs), there are lots of methods in virsh that can be easily reused by other potential clients like command and command argument passing or

Re: [libvirt] [libvirt-glib PATCHv5 7/7] gobject: Add wrapper for virNetworkGetDHCPLeases

2015-07-13 Thread Zeeshan Ali (Khattak)
On Fri, Jul 10, 2015 at 5:04 PM, Christophe Fergeau cferg...@redhat.com wrote: On Fri, Jul 10, 2015 at 04:43:15PM +0100, Zeeshan Ali (Khattak) wrote: I really don't see the point of evaluating possible but unlinkely[1] impact on any distro. As I said, we give distros enough time and that

Re: [libvirt] [PATCH] qemuProcessHandleMigrationStatus: Update migration status on ASYNC_JOB_SAVE too

2015-07-13 Thread Martin Kletzander
On Mon, Jul 13, 2015 at 02:20:50PM +0200, Michal Privoznik wrote: After Jirka's migration patches libvirt is listening on migration events from qemu instead of actively polling on the monitor. There is, however, a little regression (introduced in 6d2edb6a42d0d41). The problem is, the current

[libvirt] PING adding RDMA and tx-udp_tnl-segmentation NIC capabilities

2015-07-13 Thread Moshe Levi
Hi, Can you please review nodedev: add RDMA and tx-udp_tnl-segmentation NIC capabilities patch [1]? [1] - http://www.redhat.com/archives/libvir-list/2015-June/msg00921.html Thanks, Moshe Levi. -- libvir-list mailing list libvir-list@redhat.com

Re: [libvirt] [PATCH 1/2] configure: Move Virtuozzo checks to a specific module

2015-07-13 Thread Dmitry Guryanov
On 07/10/2015 05:32 PM, Michal Privoznik wrote: Eventually, every driver will be moved to a special module. But for today the winner is Virtuozzo driver. Thanks, Michal, ACKed and pushed. Signed-off-by: Michal Privoznik mpriv...@redhat.com --- configure.ac | 24

[libvirt] [PATCH] tests: Add nodeinfo test for non-present CPUs

2015-07-13 Thread Andrea Bolognani
Some of the possible CPUs in a system might not be present, eg. they might be defective or might have been deconfigured from the ASM console in a Power system. Due to this fact, Linux keeps track of what CPUs are possible and what are present separately. This test uses the data from a system

Re: [libvirt] [PATCH 0/9] Add sysfs_prefix to nodeinfo.c API's

2015-07-13 Thread Andrea Bolognani
On Fri, 2015-07-10 at 17:05 +0200, Andrea Bolognani wrote: Patches 1-8 look good to me. Great job splitting the changes in such a nice way! I've commented on patch 7 in a separate mail. I'll look at patch 9 on Monday. Patch 9 looks good as well, so ACK series with the previously mentioned

[libvirt] [PATCH] qemuDomainSetNumaParamsLive:

2015-07-13 Thread Michal Privoznik
https://bugzilla.redhat.com/show_bug.cgi?id=1232663 In one of my previous ptaches (bcd9a564) I've tried to fix the problem that we blindly assumed strict NUMA mode for guests. This led to several problems like us pinning a domain onto a nodeset via libnuma among with CGroups. Once the nodeset was

Re: [libvirt] [PATCH v3] nodeinfo: fix to parse present cpus rather than possible cpus

2015-07-13 Thread John Ferlan
On 06/26/2015 06:27 PM, Kothapally Madhu Pavan wrote: Currently we are parsing all the possible cpus to get the nodeinfo. This fix will perform a check for present cpus before parsing. Signed-off-by: Kothapally Madhu Pavan k...@linux.vnet.ibm.com --- src/nodeinfo.c | 11

Re: [libvirt] [PATCH] tests: Add nodeinfo test for non-present CPUs

2015-07-13 Thread John Ferlan
On 07/13/2015 12:37 PM, Andrea Bolognani wrote: Some of the possible CPUs in a system might not be present, eg. they might be defective or might have been deconfigured from the ASM console in a Power system. Due to this fact, Linux keeps track of what CPUs are possible and what are present

Re: [libvirt] [PATCH 2/2] network: Add another collision check into networkCheckRouteCollision

2015-07-13 Thread John Ferlan
On 07/09/2015 10:09 AM, Martin Kletzander wrote: The comment above that function says: This function can be a lot more exhaustive, ..., so let's be. Check for collisions between routes in the system and static routes being added explicitly from the route/ element of the network XML.

Re: [libvirt] [PATCH 0/9] Add sysfs_prefix to nodeinfo.c API's

2015-07-13 Thread John Ferlan
On 07/13/2015 12:42 PM, Andrea Bolognani wrote: On Fri, 2015-07-10 at 17:05 +0200, Andrea Bolognani wrote: Patches 1-8 look good to me. Great job splitting the changes in such a nice way! I've commented on patch 7 in a separate mail. I'll look at patch 9 on Monday. Patch 9 looks good as

Re: [libvirt] vm snapshot multi-disk

2015-07-13 Thread Marcus
Oh, I almost forgot to mention the versions: libvirt 1.2.8-16.0.1.el7_1.2.x86_64 qemu 2.1.2-23.el7_1.1.x86_64 Also, I'm unclear if the domain snapshot feature is orchestrated by libvirt, or something that is simply called into qemu to take care of. Please forgive me if this is a qemu issue.

[libvirt] vm snapshot multi-disk

2015-07-13 Thread Marcus
Hi all, I've recently been toying with VM snapshots, and have ran into an issue. Given a VM with multiple disks, it seems a snapshot-create followed by a snapshot-delete will only remove the qcow2 snapshot for the first disk (or perhaps just the disk that contains the memory), not all of the

Re: [libvirt] [PATCH 2/3] Qemu: add CMT support

2015-07-13 Thread Ren, Qiaowei
On Jul 7, 2015 15:51, Ren, Qiaowei wrote: On Jul 6, 2015 14:49, Prerna wrote: On Sun, Jul 5, 2015 at 5:13 PM, Qiaowei Ren qiaowei@intel.com mailto:qiaowei@intel.com wrote: One RFC in https://www.redhat.com/archives/libvir-list/2015-June/msg01509.html CMT