Re: [libvirt PATCH v2 5/7] ci: Don't mark any Fedora 36 job as optional

2022-05-26 Thread Andrea Bolognani
On Thu, May 26, 2022 at 04:23:44PM +0200, Erik Skultety wrote: > On Thu, May 26, 2022 at 04:01:50PM +0200, Andrea Bolognani wrote: > > +++ b/ci/manifest.yml > > @@ -157,7 +157,6 @@ targets: > >- arch: x86_64 > > > >- arch: mingw32 > > -allow-failure: true > > There must be

Re: [libvirt PATCH v2 0/7] ci: Drop Fedora 34, add Fedora 36

2022-05-26 Thread Erik Skultety
On Thu, May 26, 2022 at 04:01:45PM +0200, Andrea Bolognani wrote: > Test pipeline: > > https://gitlab.com/abologna/libvirt/-/pipelines/548848259 > > Only patches 1-5 should be pushed until the issues outlined in Go ahead and push 1-5 ;). Erik

Re: [libvirt PATCH v2 5/7] ci: Don't mark any Fedora 36 job as optional

2022-05-26 Thread Erik Skultety
On Thu, May 26, 2022 at 04:01:50PM +0200, Andrea Bolognani wrote: > It's a stable distro, so we expect all jobs to succeed. > > Signed-off-by: Andrea Bolognani > --- > ci/gitlab/containers.yml | 2 +- > ci/manifest.yml | 1 - > 2 files changed, 1 insertion(+), 2 deletions(-) > > diff

Re: [libvirt PATCH v2 4/7] ci: Move MinGW jobs to Fedora 36

2022-05-26 Thread Erik Skultety
On Thu, May 26, 2022 at 04:01:49PM +0200, Andrea Bolognani wrote: > Signed-off-by: Andrea Bolognani > --- Reviewed-by: Erik Skultety

Re: [libvirt PATCH v2 3/7] ci: Add Fedora 36

2022-05-26 Thread Erik Skultety
On Thu, May 26, 2022 at 04:01:48PM +0200, Andrea Bolognani wrote: > The target is intentionally not added to the integration tests > at this time, because the corresponding VM template is not yet > available on the runner. A later patch will take care of that. > > Signed-off-by: Andrea Bolognani

Re: [libvirt PATCH 0/4] ci: Drop Fedora 34, add Fedora 36

2022-05-26 Thread Andrea Bolognani
On Thu, May 26, 2022 at 03:07:52PM +0200, Erik Skultety wrote: > On Thu, May 26, 2022 at 05:15:28AM -0700, Andrea Bolognani wrote: > > On Thu, May 26, 2022 at 12:05:23PM +0200, Erik Skultety wrote: > > > Please don't push this yet, because the integration tests would fail (as > > > you > > >

[libvirt PATCH v2 6/7] ci: Add Fedora 36 to integration tests

2022-05-26 Thread Andrea Bolognani
This requires publishing the RPMs as artifacts from the regular build job. Signed-off-by: Andrea Bolognani --- ci/gitlab/builds.yml | 4 ci/integration.yml | 16 ci/manifest.yml | 4 3 files changed, 24 insertions(+) diff --git a/ci/gitlab/builds.yml

[libvirt PATCH v2 4/7] ci: Move MinGW jobs to Fedora 36

2022-05-26 Thread Andrea Bolognani
Signed-off-by: Andrea Bolognani --- ...gw32.Dockerfile => fedora-36-cross-mingw32.Dockerfile} | 2 +- ...gw64.Dockerfile => fedora-36-cross-mingw64.Dockerfile} | 2 +- ci/gitlab/builds.yml | 6 +++--- ci/gitlab/containers.yml

[libvirt PATCH v2 7/7] ci: Move upstream QEMU integration test to Fedora 36

2022-05-26 Thread Andrea Bolognani
Signed-off-by: Andrea Bolognani --- ci/integration.yml | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ci/integration.yml b/ci/integration.yml index 5b60b41e85..43f22813c9 100644 --- a/ci/integration.yml +++ b/ci/integration.yml @@ -49,24 +49,24 @@

[libvirt PATCH v2 1/7] ci: Drop Fedora 34

2022-05-26 Thread Andrea Bolognani
Signed-off-by: Andrea Bolognani Reviewed-by: Erik Skultety --- ci/containers/fedora-34.Dockerfile | 109 - ci/gitlab.yml | 20 -- ci/integration.yml | 16 - ci/manifest.yml| 8 --- 4 files changed,

[libvirt PATCH v2 5/7] ci: Don't mark any Fedora 36 job as optional

2022-05-26 Thread Andrea Bolognani
It's a stable distro, so we expect all jobs to succeed. Signed-off-by: Andrea Bolognani --- ci/gitlab/containers.yml | 2 +- ci/manifest.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ci/gitlab/containers.yml b/ci/gitlab/containers.yml index

[libvirt PATCH v2 2/7] ci: Refresh generated files

2022-05-26 Thread Andrea Bolognani
Notable changes: * 'lcitool manifest' now generates GitLab CI rules spread across a bunch of files; * container images are built less frequently for the main repository. Signed-off-by: Andrea Bolognani Reviewed-by: Erik Skultety --- ci/gitlab.yml | 747

[libvirt PATCH v2 3/7] ci: Add Fedora 36

2022-05-26 Thread Andrea Bolognani
The target is intentionally not added to the integration tests at this time, because the corresponding VM template is not yet available on the runner. A later patch will take care of that. Signed-off-by: Andrea Bolognani --- ci/containers/fedora-36.Dockerfile | 108 +

[libvirt PATCH v2 0/7] ci: Drop Fedora 34, add Fedora 36

2022-05-26 Thread Andrea Bolognani
Test pipeline: https://gitlab.com/abologna/libvirt/-/pipelines/548848259 Only patches 1-5 should be pushed until the issues outlined in https://listman.redhat.com/archives/libvir-list/2022-May/231851.html have been addressed. Changes from [v1] * handle integration tests separately; *

Re: [PATCH RFC 00/10] qemu: Enable SCHED_CORE for domains and helper processes

2022-05-26 Thread Dario Faggioli
On Thu, 2022-05-26 at 14:01 +0200, Dario Faggioli wrote: > Thoughts? > Oh, and there are even a couple of other (potential) use case, for having an (even more!) fine grained control of core-scheduling. So, right now, giving a virtual topology to a VM, pretty much only makes sense if the VM has

[PATCH 1/2] virDomainInputDefValidate: Reformat

2022-05-26 Thread Michal Privoznik
There are some formatting problems with virDomainInputDefValidate(). Reformat it to our standards. Use this opportunity to move error messages onto a single line. Signed-off-by: Michal Privoznik --- src/conf/domain_validate.c | 65 ++ 1 file changed, 30

[PATCH 2/2] virDomainInputDefValidate: Validate model

2022-05-26 Thread Michal Privoznik
If input device has one of virtio* models set then it has to go onto virtio bus. Introduce such check into the validator. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2081981 Signed-off-by: Michal Privoznik --- src/conf/domain_validate.c | 21 + 1 file changed, 21

[PATCH 0/2] virDomainInputDefValidate: Validate model

2022-05-26 Thread Michal Privoznik
*** BLURB HERE *** Michal Prívozník (2): virDomainInputDefValidate: Reformat virDomainInputDefValidate: Validate model src/conf/domain_validate.c | 84 +++--- 1 file changed, 50 insertions(+), 34 deletions(-) -- 2.35.1

Re: [libvirt PATCH 0/4] ci: Drop Fedora 34, add Fedora 36

2022-05-26 Thread Erik Skultety
On Thu, May 26, 2022 at 05:15:28AM -0700, Andrea Bolognani wrote: > On Thu, May 26, 2022 at 12:05:23PM +0200, Erik Skultety wrote: > > On Thu, May 26, 2022 at 11:05:30AM +0200, Andrea Bolognani wrote: > > > Test pipeline: > > > > > > https://gitlab.com/abologna/libvirt/-/pipelines/548549670 > >

Re: [libvirt PATCH 0/4] ci: Drop Fedora 34, add Fedora 36

2022-05-26 Thread Daniel P . Berrangé
On Thu, May 26, 2022 at 05:15:28AM -0700, Andrea Bolognani wrote: > On Thu, May 26, 2022 at 12:05:23PM +0200, Erik Skultety wrote: > > On Thu, May 26, 2022 at 11:05:30AM +0200, Andrea Bolognani wrote: > > > Test pipeline: > > > > > > https://gitlab.com/abologna/libvirt/-/pipelines/548549670 > >

Re: [libvirt PATCH 0/4] ci: Drop Fedora 34, add Fedora 36

2022-05-26 Thread Andrea Bolognani
On Thu, May 26, 2022 at 12:05:23PM +0200, Erik Skultety wrote: > On Thu, May 26, 2022 at 11:05:30AM +0200, Andrea Bolognani wrote: > > Test pipeline: > > > > https://gitlab.com/abologna/libvirt/-/pipelines/548549670 > > > > Matching libvirt-perl MR, needed because the integration tests > >

Re: [PATCH RFC 00/10] qemu: Enable SCHED_CORE for domains and helper processes

2022-05-26 Thread Dario Faggioli
On Mon, 2022-05-23 at 17:13 +0100, Daniel P. Berrangé wrote: > On Mon, May 09, 2022 at 05:02:07PM +0200, Michal Privoznik wrote: > In terms of defaults I'd very much like us to default to enabling > core scheduling, so that we have a secure deployment out of the box. > The only caveat is that this

[PATCH] lib: Be consistent about vm->pid

2022-05-26 Thread Michal Privoznik
The virDomainObj struct has @pid member where the domain's hypervisor PID is stored (e.g. QEMU/bhyve/libvirt_lxc/... PID). However, we are not consistent when it comes to shutoff state. Initially, because virDomainObjNew() uses g_new0() the @pid is initialized to 0. But when domain is shut off,

Re: [libvirt PATCH 0/4] ci: Drop Fedora 34, add Fedora 36

2022-05-26 Thread Erik Skultety
On Thu, May 26, 2022 at 11:05:30AM +0200, Andrea Bolognani wrote: > Test pipeline: > > https://gitlab.com/abologna/libvirt/-/pipelines/548549670 > > Matching libvirt-perl MR, needed because the integration tests > download artifacts from there: > >

Re: [libvirt PATCH 4/4] ci: Move nonstandard jobs from Fedora 35 to Fedora 36

2022-05-26 Thread Erik Skultety
On Thu, May 26, 2022 at 11:05:34AM +0200, Andrea Bolognani wrote: ... > diff --git a/ci/integration.yml b/ci/integration.yml > index 5b60b41e85..baf25e9aae 100644 > --- a/ci/integration.yml > +++ b/ci/integration.yml > @@ -49,24 +49,24 @@ fedora-35-tests: >tags: > -

Re: [libvirt PATCH 0/3] Fix null string specifiers detected by GCC

2022-05-26 Thread Ján Tomko
On a Thursday in 2022, Scott Davis wrote: On 5/26/22, 4:20 AM, Ján Tomko wrote: The author (in the From field in the email) has your gmail address while the sign-off has your starlab address. If you're okay with me changing the author to match the signoff address, I can push it after the

[libvirt PATCH 4/4] ci: Move nonstandard jobs from Fedora 35 to Fedora 36

2022-05-26 Thread Andrea Bolognani
Signed-off-by: Andrea Bolognani --- ...erfile => fedora-36-cross-mingw32.Dockerfile} | 2 +- ...erfile => fedora-36-cross-mingw64.Dockerfile} | 2 +- ci/gitlab/builds.yml | 14 +++--- ci/gitlab/containers.yml | 8

[libvirt PATCH 3/4] ci: Add Fedora 36

2022-05-26 Thread Andrea Bolognani
Signed-off-by: Andrea Bolognani --- ci/containers/fedora-36.Dockerfile | 108 + ci/gitlab/builds.yml | 10 +++ ci/gitlab/containers.yml | 7 ++ ci/integration.yml | 16 + ci/manifest.yml| 2 + 5

[libvirt PATCH 1/4] ci: Drop Fedora 34

2022-05-26 Thread Andrea Bolognani
Signed-off-by: Andrea Bolognani --- ci/containers/fedora-34.Dockerfile | 109 - ci/gitlab.yml | 20 -- ci/integration.yml | 16 - ci/manifest.yml| 8 --- 4 files changed, 153 deletions(-) delete

[libvirt PATCH 0/4] ci: Drop Fedora 34, add Fedora 36

2022-05-26 Thread Andrea Bolognani
Test pipeline: https://gitlab.com/abologna/libvirt/-/pipelines/548549670 Matching libvirt-perl MR, needed because the integration tests download artifacts from there: https://gitlab.com/libvirt/libvirt-perl/-/merge_requests/63 Andrea Bolognani (4): ci: Drop Fedora 34 ci: Refresh

[libvirt PATCH 2/4] ci: Refresh generated files

2022-05-26 Thread Andrea Bolognani
Notable changes: * 'lcitool manifest' now generates GitLab CI rules spread across a bunch of files; * container images are built less frequently for the main repository. Signed-off-by: Andrea Bolognani --- ci/gitlab.yml | 747 +-

Re: [libvirt PATCH 0/3] Fix null string specifiers detected by GCC

2022-05-26 Thread Ján Tomko
On a Wednesday in 2022, Scott Davis wrote: Each of the following tripped the -Wformat-overflow warning in GCC 11. The fixes all seemed pretty obvious based on the context. Apologies for any formatting or other mistakes, this is my first time submitting libvirt patches and using git publish.

[libvirt PATCH 3/3] vircgroupv1: fix null string specifier argument in virCgroupV1ValidatePlacement

2022-05-26 Thread Scott Davis
Detected by gcc 11 -Wformat-overflow: ../../src/util/vircgroupv1.c: In function ‘virCgroupV1ValidatePlacement’: ../../src/util/virerror.h:176:5: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 176 | virReportErrorHelper(VIR_FROM_THIS, code, __FILE__, \ |

[libvirt PATCH 0/3] Fix null string specifiers detected by GCC

2022-05-26 Thread Scott Davis
Each of the following tripped the -Wformat-overflow warning in GCC 11. The fixes all seemed pretty obvious based on the context. Apologies for any formatting or other mistakes, this is my first time submitting libvirt patches and using git publish. Scott Davis (3): qemu: fix null string

[libvirt PATCH 1/3] qemu: fix null string specifier argument in qemuDomainBlockJobAbort

2022-05-26 Thread Scott Davis
Detected by gcc 11 -Wformat-overflow: ../../src/qemu/qemu_driver.c: In function ‘qemuDomainBlockJobAbort’: ../../src/util/virerror.h:176:5: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 176 | virReportErrorHelper(VIR_FROM_THIS, code, __FILE__, \ |

[libvirt PATCH 2/3] remote: fix null string specifier argument in remoteProbeSessionDriverFromBinary

2022-05-26 Thread Scott Davis
Detected by gcc 11 -Wformat-overflow: ../src/remote/remote_sockets.c: In function ‘remoteProbeSessionDriverFromBinary’: ../src/util/virlog.h:79:5: error: ‘%s’ directive argument is null [-Werror=format-overflow=] 79 | virLogMessage(src, VIR_LOG_DEBUG, filename, linenr, funcname, NULL,