[libvirt] [PATCH v2 2/2] tests: Adding test case for 'domrename' command inside virshtest.

2018-01-07 Thread Julio Faracco
This commit adds a domrename test case inside the 'virshtest' test for test driver. Signed-off-by: Julio Faracco --- tests/virshtest.c | 13 + 1 file changed, 13 insertions(+) diff --git a/tests/virshtest.c b/tests/virshtest.c index 67453bd..f1cd5df 100644 --- a/tests/virshtest.c ++

[libvirt] [PATCH v2 1/2] test: Implementing testDomainRename().

2018-01-07 Thread Julio Faracco
There is no method to rename inactive domains for test driver. After this patch, we can rename the domains using 'domrename'. virsh# domrename test anothertest Domain successfully renamed Signed-off-by: Julio Faracco --- src/test/test_driver.c | 72 ++

[libvirt] [PATCH v2 0/2] Introducing testDomainRename().

2018-01-07 Thread Julio Faracco
This commit introduces the testDomainRename() for test driver. It includes: - testDomainRename() implementation. - Test case for virshtest to test 'domrename' command. Julio Faracco (2): test: Implementing testDomainRename(). tests: Adding test case for 'domrename' command inside virshtest.

[libvirt] [PATCH] virsh: Checking the volume capacity before uploading a new file.

2018-01-07 Thread Julio Faracco
The current command 'vol-upload' is not checking if the volume accepts a file bigger than its capacity. It can cause an interrupt of the upload stream. This commit adds a check that fails before starting to send new file to volume if the file is bigger. Resolves: https://bugzilla.redhat.com/sho