Re: [libvirt PATCH v3 0/2] Refuse PCI Address for ramfb device definition

2020-06-25 Thread Laine Stump
On 6/25/20 4:18 PM, Jonathon Jongsma wrote: Changes in this version: - Add the test case input file - modify the test itself to properly fail when an input file is missing. Jonathon Jongsma (2): qemu: ramfb video device doesn't support PCI address tests: ensure failure if input file do

Re: [PATCH 16/25] squash into 'network: convert local pointers to g_auto*'

2020-06-25 Thread Laine Stump
On 6/25/20 7:34 PM, Ján Tomko wrote: On a Wednesday in 2020, Laine Stump wrote: OOPS!! I meant to squash this into patch 10 before posting. If you want to just review it separately I can squash it in before push. Or if you want to be pedantic I can squash it in and resend :-) To me, these

Re: [PATCH 07/25] util: eliminate error label in virDomainDefFormatInternalSetRootName()

2020-06-25 Thread Laine Stump
On 6/25/20 7:08 PM, Ján Tomko wrote: On a Wednesday in 2020, Laine Stump wrote: The only reason for the error label in this function is to call virBufferFreeAndReset(). It's actually more common for a failed format function to just leave the virBuffer alone and let the caller free it when there

Re: [PATCH 09/25] util: add g_autoptr cleanup function for virFirewall objects

2020-06-25 Thread Laine Stump
On 6/25/20 7:17 PM, Ján Tomko wrote: The cleanup function was already added by: commit 2ad0284627ea3d6c123e0a266b9c7bb00aea4576 CommitDate: 2018-07-27 17:21:04 +0200     util: firewall: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC On a Wednesday in 2020, Laine Stump wrote: Put in a se

Re: [PATCH 16/25] squash into 'network: convert local pointers to g_auto*'

2020-06-25 Thread Ján Tomko
On a Wednesday in 2020, Laine Stump wrote: OOPS!! I meant to squash this into patch 10 before posting. If you want to just review it separately I can squash it in before push. Or if you want to be pedantic I can squash it in and resend :-) To me, these seem like changes unrelated to patch

Re: [PATCH 10/25] network: convert local pointers to g_auto*

2020-06-25 Thread Ján Tomko
On a Wednesday in 2020, Laine Stump wrote: This includes those that use plain VIR_FREE() as well as those that have a cleanup function defined for use via g_auto/g_autoptr (virCommand, virFirewall, virBuffer, virJSONValue etc). Signed-off-by: Laine Stump --- src/network/bridge_driver.c |

Re: [PATCH 15/25] network: use proper arg type when calling virNetDevSetOnline()

2020-06-25 Thread Ján Tomko
On a Wednesday in 2020, Laine Stump wrote: The 2nd arg to this function is a bool, not an int. Signed-off-by: Laine Stump --- src/network/bridge_driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Reviewed-by: Ján Tomko Jano signature.asc Description: PGP signature

Re: [PATCH 12/25] network: make networkDnsmasqXmlNsDef private to bridge_driver.c

2020-06-25 Thread Ján Tomko
On a Wednesday in 2020, Laine Stump wrote: This struct isn't used anywhere else. Signed-off-by: Laine Stump --- src/network/bridge_driver.c | 10 ++ src/network/bridge_driver.h | 9 - 2 files changed, 10 insertions(+), 9 deletions(-) Reviewed-by: Ján Tomko Jano signature.a

Re: [PATCH 09/25] util: add g_autoptr cleanup function for virFirewall objects

2020-06-25 Thread Ján Tomko
The cleanup function was already added by: commit 2ad0284627ea3d6c123e0a266b9c7bb00aea4576 CommitDate: 2018-07-27 17:21:04 +0200 util: firewall: define cleanup function using VIR_DEFINE_AUTOPTR_FUNC On a Wednesday in 2020, Laine Stump wrote: Put in a separate patch so that two future patche

Re: [PATCH 08/25] network: fix memory leak in networkBuildDhcpDaemonCommandLine()

2020-06-25 Thread Ján Tomko
On a Wednesday in 2020, Laine Stump wrote: hostsfilestr was not being freed. This will be turned into g_autofree in an upcoming patch converting a lot more of the same file to using g_auto*, but I wanted to make a separate patch for this first so the other patch is simpler to review. It also m

Re: [PATCH 07/25] util: eliminate error label in virDomainDefFormatInternalSetRootName()

2020-06-25 Thread Ján Tomko
On a Wednesday in 2020, Laine Stump wrote: The only reason for the error label in this function is to call virBufferFreeAndReset(). It's actually more common for a failed format function to just leave the virBuffer alone and let the caller free it when there is a failure, and in fact the only cal

Re: [PATCH 06/25] conf: eliminate useless error label in virDomainFeaturesDefParse()

2020-06-25 Thread Ján Tomko
On a Wednesday in 2020, Laine Stump wrote: The error: label in this function just does "return -1", so replace all the "goto error" in the function with "return -1". I split this out from virDomainDefParse quickly as a build breaker fix and forgot to follow up with this cleanup. Signed-off-b

Re: [PATCH 05/25] util: remove OOM error log from virGetHostnameImpl()

2020-06-25 Thread Ján Tomko
On a Wednesday in 2020, Laine Stump wrote: The strings allocated in virGetHostnameImpl() are all allocated via g_strdup(), which will exit on OOM anyway, so the call to virReportOOMError() is redundant, and removing it allows slight modification to the code, in particular the cleanup label can be

Re: [PATCH 04/25] util: validate return from xmlNodeGetContent before use

2020-06-25 Thread Ján Tomko
On a Wednesday in 2020, Laine Stump wrote: There were a few uses of xmlNodeGetContent() that didn't check for NULL before using the result. A NULL return from xmlNodeGetContent() *could* (probably does) mean that there was an Out of Memory condition, but it is unclear from the documentation if t

Re: [PATCH 03/25] conf: refactor virDomainBlkioDeviceParseXML to remove possible NULL dereference

2020-06-25 Thread Ján Tomko
On a Wednesday in 2020, Laine Stump wrote: virDomainBlkioDeviceParseXML() has multiple cases of sending the return from xmlNodeGetContent() directly to virStrToLong_xx() without checking for NULL. Although it is *very* rare for xmlNodeGetContent() to return NULL (possibly it only happens in an OO

Re: [PATCH 02/25] use g_autoptr for all xmlBuffers

2020-06-25 Thread Ján Tomko
On a Wednesday in 2020, Laine Stump wrote: AUTOPTR_CLEANUP_FUNC is set to xmlBufferFree() in util/virxml.h (This is actually new - added accidentally (but fortunately harmlessly!) in commit 257aba2dafe. I had added it along with the hunks in this patch, then decided to remove it and submit separa

Re: [PATCH 01/25] conf, vmx: check for OOM after calling xmlBufferCreate()

2020-06-25 Thread Ján Tomko
On a Wednesday in 2020, Laine Stump wrote: Although libvirt itself uses g_malloc0() and friends, which exit when there isn't enouogh memory, libxml2 uses standard malloc(), which just returns NULL on OOM - this means we must check for NULL on return from any libxml2 functions that allocate memory

[PATCH v1] qemu: monitor: substitute missing model name for host-passthrough

2020-06-25 Thread Collin Walling
When executing the hypervisor-cpu-compare/baseline commands and the XML file contains a CPU definition using host-passthrough and no model name, the commands will fail and return an error message from the QMP response. Let's fix this by checking for host-passthrough and a missing model name when c

Re: [libvirt PATCH v2] ci: Use openSUSE image for code style checking

2020-06-25 Thread Jonathon Jongsma
On Mon, 2020-06-22 at 18:18 +0200, Andrea Bolognani wrote: > On Mon, 2020-06-22 at 09:43 -0500, Jonathon Jongsma wrote: > > CentOS does not have the cppi package, so some code style checks > > are > > skipped. Switch to a openSUSE image to do the code style checks. > > > > Signed-off-by: Jonathon

[libvirt PATCH v3 0/2] Refuse PCI Address for ramfb device definition

2020-06-25 Thread Jonathon Jongsma
Changes in this version: - Add the test case input file - modify the test itself to properly fail when an input file is missing. Jonathon Jongsma (2): qemu: ramfb video device doesn't support PCI address tests: ensure failure if input file doesn't exist src/qemu/qemu_validate.c

[libvirt PATCH v3 1/2] qemu: ramfb video device doesn't support PCI address

2020-06-25 Thread Jonathon Jongsma
Although a ramfb video device is not a PCI device, we don't currently report an error for ramfb device definitions containing a PCI address. However, a guest configured with such a device will fail to start: # virsh start test1 error: Failed to start domain test1 error: internal error:

[libvirt PATCH v3 2/2] tests: ensure failure if input file doesn't exist

2020-06-25 Thread Jonathon Jongsma
When using the DO_TEST_PARSE_ERROR() macro, a failure to parse the input file is considered a successful test. However, if the input file is totally missing, that should be distinguished from a parsing error and not be treated as a test success. The function virDomainDefParseFile() simply returns

Re: [PATCH libvirt v2 0/5] Fix zPCI address auto-generation on s390

2020-06-25 Thread Andrea Bolognani
On Thu, 2020-06-18 at 10:25 +0200, Shalini Chellathurai Saroja wrote: > Shalini Chellathurai Saroja (5): > conf: use g_autofree to ensure automatic cleanup > conf: fix zPCI address auto-generation on s390 > qemu: move ZPCI uid validation into device validation > tests: qemu: add more tests

Re: [PATCH libvirt v2 5/5] tests: add test with PCI and CCW device

2020-06-25 Thread Andrea Bolognani
On Thu, 2020-06-18 at 10:25 +0200, Shalini Chellathurai Saroja wrote: > Add test with a ZPCI host device and a CCW memballoon device to ensure > that CCW address remains the default address assigned. > > Signed-off-by: Boris Fiuczynski > Signed-off-by: Shalini Chellathurai Saroja > Reviewed-by:

Re: [PATCH libvirt v2 4/5] tests: qemu: add more tests for ZPCI on S390

2020-06-25 Thread Andrea Bolognani
On Thu, 2020-06-18 at 10:25 +0200, Shalini Chellathurai Saroja wrote: > 1. Test for auto-generating uids while specifying valid fids > 2. Test for auto-generating fids while specifying valid uids > 3. Test for parse error while specifying a valid fid and an invalid >uid > 4. Test for parse erro

Re: [PATCH libvirt v2 3/5] qemu: move ZPCI uid validation into device validation

2020-06-25 Thread Andrea Bolognani
On Thu, 2020-06-18 at 10:25 +0200, Shalini Chellathurai Saroja wrote: > qemu: move ZPCI uid validation into device validation > > The ZPCI device validation is specific to qemu. So, let us move the > ZPCI uid validation out of domain xml parsing into qemu domain device > validation. We can just t

Re: [PATCH libvirt v2 2/5] conf: fix zPCI address auto-generation on s390

2020-06-25 Thread Andrea Bolognani
On Thu, 2020-06-18 at 10:25 +0200, Shalini Chellathurai Saroja wrote: > @@ -129,7 +129,8 @@ static void > virDomainZPCIAddressReleaseUid(virHashTablePtr set, > virZPCIDeviceAddressPtr addr) > { > -virDomainZPCIAddressReleaseId(set, &addr->uid, "uid"); > +if

Re: [PATCH libvirt v2 1/5] conf: use g_autofree to ensure automatic cleanup

2020-06-25 Thread Andrea Bolognani
On Thu, 2020-06-18 at 10:25 +0200, Shalini Chellathurai Saroja wrote: > Signed-off-by: Bjoern Walk > Signed-off-by: Shalini Chellathurai Saroja > Reviewed-by: Boris Fiuczynski > --- > src/conf/device_conf.c | 17 ++--- > 1 file changed, 6 insertions(+), 11 deletions(-) Reviewed-by:

Re: [PATCH libvirt-dbus v3 2/3] gitlab: introduce CI jobs testing git master & distro libvirt

2020-06-25 Thread Andrea Bolognani
On Thu, 2020-06-25 at 17:14 +0100, Daniel P. Berrangé wrote: > +.git_native_build_job_template: &git_native_build_job_definition > + image: $CI_REGISTRY_IMAGE/ci-$NAME:latest > + stage: builds > + cache: > +paths: > + - ccache/ > +key: "$CI_JOB_NAME" > + before_script: > +- *sc

Re: [libvirt PATCH v2] qemu: ramfb video device doesn't support PCI address

2020-06-25 Thread Laine Stump
On 6/25/20 12:30 PM, Jonathon Jongsma wrote: On Thu, 2020-06-25 at 12:20 -0400, Laine Stump wrote: On 6/25/20 10:34 AM, Jonathon Jongsma wrote: Although a ramfb video device is not a PCI device, we don't currently report an error for ramfb device definitions containing a PCI address. However, a

Re: [libvirt PATCH v2] qemu: ramfb video device doesn't support PCI address

2020-06-25 Thread Jonathon Jongsma
On Thu, 2020-06-25 at 12:20 -0400, Laine Stump wrote: > On 6/25/20 10:34 AM, Jonathon Jongsma wrote: > > Although a ramfb video device is not a PCI device, we don't > > currently > > report an error for ramfb device definitions containing a PCI > > address. > > However, a guest configured with such

Re: [libvirt PATCH v2] qemu: ramfb video device doesn't support PCI address

2020-06-25 Thread Laine Stump
On 6/25/20 10:34 AM, Jonathon Jongsma wrote: Although a ramfb video device is not a PCI device, we don't currently report an error for ramfb device definitions containing a PCI address. However, a guest configured with such a device will fail to start: # virsh start test1 error: Failed

[PATCH libvirt-dbus v3 3/3] gitlab: add CONTRIBUTING.rst file to indicate use of merge requests

2020-06-25 Thread Daniel P . Berrangé
With the introduction of automated CI pipelines, we are now ready to switch to using merge requests for the project. With this switch we longer wish to have patches sent to the mailing list, and thus the git-publish config is removed. Reviewed-by: Andrea Bolognani Signed-off-by: Daniel P. Berrang

[PATCH libvirt-dbus v3 2/3] gitlab: introduce CI jobs testing git master & distro libvirt

2020-06-25 Thread Daniel P . Berrangé
The dbus build needs to validate one axis - A variety of libvirt versions We test a variety of libvirt versions by running a build against the distro provided libvirt packages. All that is then missing is a build against the latest libvirt git master, which only needs to be run on a single dist

[PATCH libvirt-dbus v3 1/3] src: fix double free of virDomain object

2020-06-25 Thread Daniel P . Berrangé
The virDomainSnapshotGetDomain() method does NOT increment the refcount on the returned virDomain, so it must not be unrefed. This double free is responsible for random failures of the test_snapshot.py tests. Reviewed-by: Andrea Bolognani Signed-off-by: Daniel P. Berrangé --- src/domainsnapsho

[PATCH libvirt-dbus v3 0/3] Introduce GitLab CI and merge requests

2020-06-25 Thread Daniel P . Berrangé
This introduces CI build coverage and then documents the switch to use merge requests. Daniel P. Berrangé (3): src: fix double free of virDomain object gitlab: introduce CI jobs testing git master & distro libvirt gitlab: add CONTRIBUTING.rst file to indicate use of merge requests .gitlab-

Re: [PATCH 11/25] network: use g_free() in place of remaining VIR_FREE()

2020-06-25 Thread Daniel P . Berrangé
On Thu, Jun 25, 2020 at 11:01:48AM -0400, Laine Stump wrote: > On 6/25/20 3:55 AM, Peter Krempa wrote: > > On Wed, Jun 24, 2020 at 23:34:00 -0400, Laine Stump wrote: > > > Signed-off-by: Laine Stump > > > --- > > > src/network/bridge_driver.c | 59 + > > > 1

Re: [PATCH 11/25] network: use g_free() in place of remaining VIR_FREE()

2020-06-25 Thread Laine Stump
On 6/25/20 3:55 AM, Peter Krempa wrote: On Wed, Jun 24, 2020 at 23:34:00 -0400, Laine Stump wrote: Signed-off-by: Laine Stump --- src/network/bridge_driver.c | 59 + 1 file changed, 33 insertions(+), 26 deletions(-) diff --git a/src/network/bridge_driver.

Re: [PATCH] qemuxml2xmltest: Set dummy non-hypervisor drivers

2020-06-25 Thread Daniel P . Berrangé
On Thu, Jun 25, 2020 at 04:37:59PM +0200, Michal Privoznik wrote: > When parsing domain XML post parse callbacks are run and one of > them might try and call API from a non-hypervisor driver (e.g. > just like qemuDomainDeviceNetDefPostParse() is doing - it calls a > network API). To avoid this in t

Re: [PATCH libvirt-dbus v2 2/3] gitlab: introduce CI jobs testing git master & distro libvirt

2020-06-25 Thread Daniel P . Berrangé
On Thu, Jun 25, 2020 at 04:34:51PM +0200, Andrea Bolognani wrote: > On Thu, 2020-06-25 at 15:20 +0100, Daniel P. Berrangé wrote: > > On Thu, Jun 25, 2020 at 04:16:35PM +0200, Andrea Bolognani wrote: > > > We should really try to figure out why the packages are absent from > > > the repos, however.

[PATCH] qemuxml2xmltest: Set dummy non-hypervisor drivers

2020-06-25 Thread Michal Privoznik
When parsing domain XML post parse callbacks are run and one of them might try and call API from a non-hypervisor driver (e.g. just like qemuDomainDeviceNetDefPostParse() is doing - it calls a network API). To avoid this in the test suite, set dummy drivers, which renders all non-hypervisor APIs re

Re: [PATCH libvirt-dbus v2 2/3] gitlab: introduce CI jobs testing git master & distro libvirt

2020-06-25 Thread Andrea Bolognani
On Thu, 2020-06-25 at 15:20 +0100, Daniel P. Berrangé wrote: > On Thu, Jun 25, 2020 at 04:16:35PM +0200, Andrea Bolognani wrote: > > We should really try to figure out why the packages are absent from > > the repos, however. Wasn't the PowerTools repo supposed to take care > > of that? I'm pretty s

[libvirt PATCH v2] qemu: ramfb video device doesn't support PCI address

2020-06-25 Thread Jonathon Jongsma
Although a ramfb video device is not a PCI device, we don't currently report an error for ramfb device definitions containing a PCI address. However, a guest configured with such a device will fail to start: # virsh start test1 error: Failed to start domain test1 error: internal error:

Re: [libvirt PATCH] ci: Refresh Dockerfiles

2020-06-25 Thread Andrea Bolognani
On Thu, 2020-06-25 at 15:25 +0100, Daniel P. Berrangé wrote: > On Thu, Jun 25, 2020 at 04:19:16PM +0200, Andrea Bolognani wrote: > > All targets get pip3, which is now part of the base system, and > > the number of native packages included in the MinGW containers is > > significantly reduced. > >

Re: [libvirt PATCH] ci: Refresh Dockerfiles

2020-06-25 Thread Daniel P . Berrangé
On Thu, Jun 25, 2020 at 04:19:16PM +0200, Andrea Bolognani wrote: > All targets get pip3, which is now part of the base system, and > the number of native packages included in the MinGW containers is > significantly reduced. FWIW, I thinkit would be benefit to reduce and even eliminate the base se

Re: [PATCH libvirt-dbus v2 2/3] gitlab: introduce CI jobs testing git master & distro libvirt

2020-06-25 Thread Daniel P . Berrangé
On Thu, Jun 25, 2020 at 04:16:35PM +0200, Andrea Bolognani wrote: > On Thu, 2020-06-25 at 13:32 +0100, Daniel P. Berrangé wrote: > > On Wed, Jun 24, 2020 at 07:16:16PM +0200, Andrea Bolognani wrote: > > > What's the rationale for building libvirt and libvirt-glib from git > > > on CentOS Stream in

Re: [PATCH libvirt-dbus v2 2/3] gitlab: introduce CI jobs testing git master & distro libvirt

2020-06-25 Thread Andrea Bolognani
On Thu, 2020-06-25 at 13:32 +0100, Daniel P. Berrangé wrote: > On Wed, Jun 24, 2020 at 07:16:16PM +0200, Andrea Bolognani wrote: > > What's the rationale for building libvirt and libvirt-glib from git > > on CentOS Stream in addition to CentOS 8? > > There's something odd with the repos, probably

[libvirt PATCH] ci: Refresh Dockerfiles

2020-06-25 Thread Andrea Bolognani
All targets get pip3, which is now part of the base system, and the number of native packages included in the MinGW containers is significantly reduced. The corresponding libvirt-ci commit is 4ff697ba0b5d. Signed-off-by: Andrea Bolognani --- Pushed under the Dockerfile refresh rule. ci/contain

Re: [libvirt PATCH] qemu: ramfb video device doesn't support PCI address

2020-06-25 Thread Jonathon Jongsma
On Wed, 2020-06-24 at 23:21 -0400, Laine Stump wrote: > On 6/24/20 6:06 PM, Jonathon Jongsma wrote: > > Although a ramfb video device is not a PCI device, we don't > > currently > > report an error for ramfb device definitions containing a PCI > > address. > > However, a guest configured with such

Re: [PATCH] qemuDomainDeviceNetDefPostParse: Switch order of conditions

2020-06-25 Thread Daniel P . Berrangé
On Thu, Jun 25, 2020 at 03:54:18PM +0200, Michal Privoznik wrote: > On 6/25/20 10:38 AM, Daniel P. Berrangé wrote: > > On Thu, Jun 25, 2020 at 09:48:56AM +0200, Michal Privoznik wrote: > > > A few commits back (in v6.4.0-131-gbdb8f2e418) the post parse > > > function for domain interface was change

Re: [PATCH] qemuDomainDeviceNetDefPostParse: Switch order of conditions

2020-06-25 Thread Michal Privoznik
On 6/25/20 10:38 AM, Daniel P. Berrangé wrote: On Thu, Jun 25, 2020 at 09:48:56AM +0200, Michal Privoznik wrote: A few commits back (in v6.4.0-131-gbdb8f2e418) the post parse function for domain interface was changed so that it doesn't fill in model for hostdev types of interfaces (including net

Re: [libvirt-cim PATCH v2 0/2] Introduce GitLab CI and merge requests

2020-06-25 Thread Andrea Bolognani
On Thu, 2020-06-25 at 13:42 +0100, Daniel P. Berrangé wrote: > Daniel P. Berrangé (2): > gitlab: introduce CI jobs testing git master & distro libvirt > gitlab: add CONTRIBUTING.rst file to indicate use of merge requests > > .gitlab-ci.yml| 114

Re: [PATCH] qemuDomainDeviceNetDefPostParse: Switch order of conditions

2020-06-25 Thread Laine Stump
On 6/25/20 3:48 AM, Michal Privoznik wrote: A few commits back (in v6.4.0-131-gbdb8f2e418) the post parse function for domain interface was changed so that it doesn't fill in model for hostdev types of interfaces (including network type interfaces which would end up hostdevs). While the idea is

[RFC PATCH] docs: backup: Convert XML documentation to RST

2020-06-25 Thread Peter Krempa
Switch to the new format for easier extension. Signed-off-by: Peter Krempa --- This was a surprisingly easy conversion done using: pandoc --from html --to rst --toc --columns 80 --standalone formatbackup.html.in -o formatbackup.rst The file generated by pandoc required following manual tweak

[libvirt-cim PATCH v2 1/2] gitlab: introduce CI jobs testing git master & distro libvirt

2020-06-25 Thread Daniel P . Berrangé
The sandbox build needs to validate two axis - A variety of distro versions - A variety of libvirt versions We test a variety of libvirt versions by running a build against the distro provided libvirt packages. All that is then missing is a build against the latest libvirt git master, which o

[libvirt-cim PATCH v2 0/2] Introduce GitLab CI and merge requests

2020-06-25 Thread Daniel P . Berrangé
Daniel P. Berrangé (2): gitlab: introduce CI jobs testing git master & distro libvirt gitlab: add CONTRIBUTING.rst file to indicate use of merge requests .gitlab-ci.yml| 114 ++ .gitpublish | 4 - CONTRIBUTING

[libvirt-cim PATCH v2 2/2] gitlab: add CONTRIBUTING.rst file to indicate use of merge requests

2020-06-25 Thread Daniel P . Berrangé
With the introduction of automated CI pipelines, we are now ready to switch to using merge requests for the project. With this switch we longer wish to have patches sent to the mailing list, and thus the git-publish config is removed. Reviewed-by: Andrea Bolognani Signed-off-by: Daniel P. Berrang

Re: [PATCH libvirt-dbus v2 2/3] gitlab: introduce CI jobs testing git master & distro libvirt

2020-06-25 Thread Daniel P . Berrangé
On Wed, Jun 24, 2020 at 07:16:16PM +0200, Andrea Bolognani wrote: > On Wed, 2020-06-24 at 17:26 +0100, Daniel P. Berrangé wrote: > > The dbus build needs to validate one axis > > > > - A variety of libvirt versions > > > > We test a variety of libvirt versions by running a build against the > >

Re: [PATCH libvirt-cim 1/2] gitlab: introduce CI jobs testing git master & distro libvirt

2020-06-25 Thread Daniel P . Berrangé
On Wed, Jun 24, 2020 at 08:06:08PM +0200, Andrea Bolognani wrote: > On Wed, 2020-06-24 at 17:20 +0100, Daniel P. Berrangé wrote: > > diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml > > new file mode 100644 > > index 000..75d34c3 > > --- /dev/null > > +++ b/.gitlab-ci.yml > > Oh and this doesn't a

Re: [PATCH libvirt-cim 1/2] gitlab: introduce CI jobs testing git master & distro libvirt

2020-06-25 Thread Daniel P . Berrangé
On Wed, Jun 24, 2020 at 07:39:21PM +0200, Andrea Bolognani wrote: > On Wed, 2020-06-24 at 17:20 +0100, Daniel P. Berrangé wrote: > > The sandbox build needs to validate two axis > > > > - A variety of distro versions > > - A variety of libvirt versions > > > > We test a variety of libvirt ver

Re: [PATCH 6/6] kbase: incrementalbackupinternals: Describe 'block commit'

2020-06-25 Thread Peter Krempa
On Wed, Jun 24, 2020 at 09:35:22 -0500, Eric Blake wrote: > On 6/24/20 9:07 AM, Peter Krempa wrote: > > oVirt does merge images out of libvirt in some cases. Add docs outlining > > how it's done from a high level. > > > > Signed-off-by: Peter Krempa > > --- > > docs/kbase/incrementalbackupinter

Re: [PATCH 1/6] kbase: incrementalbackupinternals: Add snapshot terminology

2020-06-25 Thread Peter Krempa
On Wed, Jun 24, 2020 at 09:23:00 -0500, Eric Blake wrote: > On 6/24/20 9:07 AM, Peter Krempa wrote: > > Make it obvious what's meant by 'overlay' and 'backing image' for sake > > of extension of the document. > > > > Signed-off-by: Peter Krempa > > --- > > docs/kbase/incrementalbackupinternals.

Re: [PATCH] NEWS: mention fix for crash in qemuDomainBlockCommit

2020-06-25 Thread Andrea Bolognani
On Thu, 2020-06-25 at 10:25 +0200, Peter Krempa wrote: > There were two upstream issues filed for the problem so it's worth > mentioning. > > Signed-off-by: Peter Krempa > --- > NEWS.rst | 5 + > 1 file changed, 5 insertions(+) Reviewed-by: Andrea Bolognani -- Andrea Bolognani / Red Hat

Re: [PATCH] qemuDomainDeviceNetDefPostParse: Switch order of conditions

2020-06-25 Thread Daniel P . Berrangé
On Thu, Jun 25, 2020 at 09:48:56AM +0200, Michal Privoznik wrote: > A few commits back (in v6.4.0-131-gbdb8f2e418) the post parse > function for domain interface was changed so that it doesn't fill > in model for hostdev types of interfaces (including network type > interfaces which would end up ho

[PATCH] NEWS: mention fix for crash in qemuDomainBlockCommit

2020-06-25 Thread Peter Krempa
There were two upstream issues filed for the problem so it's worth mentioning. Signed-off-by: Peter Krempa --- NEWS.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index 2fc43c31b9..54b1e4a992 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -51,6 +51,11 @@ v6.5.0 (unrele

Re: [PATCH 11/25] network: use g_free() in place of remaining VIR_FREE()

2020-06-25 Thread Peter Krempa
On Wed, Jun 24, 2020 at 23:34:00 -0400, Laine Stump wrote: > Signed-off-by: Laine Stump > --- > src/network/bridge_driver.c | 59 + > 1 file changed, 33 insertions(+), 26 deletions(-) > > diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c >

[PATCH] qemuDomainDeviceNetDefPostParse: Switch order of conditions

2020-06-25 Thread Michal Privoznik
A few commits back (in v6.4.0-131-gbdb8f2e418) the post parse function for domain interface was changed so that it doesn't fill in model for hostdev types of interfaces (including network type interfaces which would end up hostdevs). While the idea is sound, the execution can be a bit better: virD