[libvirt] [PATCH v2] qemu: check for vhostusers bandwidth

2018-09-11 Thread Roland Schulz
Vhostuser doesn't support bandwidth and due to backwards compatibility it was decided to just warn users instead of erroring out https://bugzilla.redhat.com/show_bug.cgi?id=1524230 Signed-off-by: Roland Schulz --- src/qemu/qemu_command.c | 9 + 1 file changed, 9 insertions(+)

[libvirt] [PATCH] qemu: check for vhostusers bandwidth

2018-09-10 Thread Roland Schulz
https://bugzilla.redhat.com/show_bug.cgi?id=1524230 Signed-off-by: Roland Schulz --- src/qemu/qemu_command.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index ff9589f593..284c2709fc 100644 --- a/src/qemu/qemu_command.c

[libvirt] [PATCH] tools: virsh: Add virshCellnoCompleter.

2018-05-25 Thread Roland Schulz
Signed-off-by: Roland Schulz --- tools/virsh-completer.c | 59 + tools/virsh-completer.h | 3 +++ tools/virsh-host.c | 3 +++ 3 files changed, 65 insertions(+) diff --git a/tools/virsh-completer.c b/tools/virsh-completer.c index 5713a887e

[libvirt] [PATCH] Add virshAllocpagesPagesizeCompleter to opts_freepages.

2018-05-24 Thread Roland Schulz
Signed-off-by: Roland Schulz --- For the time being virshAllocpagesPagesizeCompleter can be used with other commands that use --pagesize option. tools/virsh-host.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/virsh-host.c b/tools/virsh-host.c index dfe58de30..991c0f50a 100644 --- a

[libvirt] [PATCH] tools: virsh: Add virshCellnoCompleter.

2018-05-24 Thread Roland Schulz
Signed-off-by: Roland Schulz --- tools/virsh-completer.c | 58 + tools/virsh-completer.h | 3 +++ tools/virsh-host.c | 3 +++ 3 files changed, 64 insertions(+) diff --git a/tools/virsh-completer.c b/tools/virsh-completer.c index 1df4d55af

[libvirt] [PATCH v2] Fix indentation of virshAllocpagesPagesizeCompleter arguments.

2018-05-24 Thread Roland Schulz
Signed-off-by: Roland Schulz --- tools/virsh-completer.c | 4 ++-- tools/virsh-completer.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/virsh-completer.c b/tools/virsh-completer.c index cbd5326d0..1df4d55af 100644 --- a/tools/virsh-completer.c +++ b/tools/virsh

[libvirt] [PATCH] Fix indentation of virshAllocpagesPagesizeCompleter arguments.

2018-05-23 Thread Roland Schulz
--- tools/virsh-completer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/virsh-completer.c b/tools/virsh-completer.c index cbd5326d0..1df4d55af 100644 --- a/tools/virsh-completer.c +++ b/tools/virsh-completer.c @@ -568,8 +568,8 @@ virshSnapshotNameCompleter(vshCont

[libvirt] [PATCH] Fix memory leak issues in virshAllocpagesPagesizeCompleter.

2018-05-23 Thread Roland Schulz
Signed-off-by: Roland Schulz --- tools/virsh-completer.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/virsh-completer.c b/tools/virsh-completer.c index 1435d1d4c..c72f3bcad 100644 --- a/tools/virsh-completer.c +++ b/tools/virsh-completer.c @@ -576,6 +576,7

[libvirt] [PATCH v2] Edit test capabilities to contain different cell pagesizes.

2018-05-23 Thread Roland Schulz
Signed-off-by: Roland Schulz --- src/test/test_driver.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 467587b19..3fe0c2831 100644 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -322,30

[libvirt] [PATCH 1/2] Add NUMA support to virshAllocpagesPagesizeCompleter.

2018-05-22 Thread Roland Schulz
Signed-off-by: Roland Schulz --- tools/virsh-completer.c | 15 ++- tools/virsh-host.c | 2 +- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/tools/virsh-completer.c b/tools/virsh-completer.c index 2816e7b76..21c73f048 100644 --- a/tools/virsh-completer.c +++ b

[libvirt] [PATCH 0/2] Add NUMA support to virshAllocpagesPagesizeCompleter

2018-05-22 Thread Roland Schulz
This is a follow up to my previous patch in which I added virshAllocpagesPagesizeCompleter. These patches will add support for different NUMA cells, which was tried and tested by changing default test capabilities. Roland Schulz (2): Add NUMA support to virshAllocpagesPagesizeCompleter. Edit

[libvirt] [PATCH 2/2] Edit test capabilities to contain different cell pagesizes.

2018-05-22 Thread Roland Schulz
Signed-off-by: Roland Schulz --- src/test/test_driver.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/test/test_driver.c b/src/test/test_driver.c index 467587b19..40c366cb8 100644 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -322,24 +322,27

[libvirt] [PATCH] Add virshAllocpagesPagesizeCompleter

2018-05-21 Thread Roland Schulz
Returns list of host page sizes from capabilities xml Signed-off-by: Roland Schulz --- tools/virsh-completer.c | 71 + tools/virsh-completer.h | 4 +++ tools/virsh-host.c | 1 + 3 files changed, 76 insertions(+) diff --git a/tools/virsh

[libvirt] [PATCH] qemu: Remove parameter 'driver' from qemuBlockJobUpdate

2018-05-10 Thread Roland Schulz
Signed-off-by: Roland Schulz --- Follow up on BiteSizeTask https://wiki.libvirt.org/page/BiteSizedTasks#Clean_up_virQEMUDriverPtr_parameters src/qemu/qemu_blockjob.c | 13 + src/qemu/qemu_blockjob.h | 6 ++ src/qemu/qemu_driver.c| 6 +++--- src/qemu/qemu_m