On 4/7/21 9:07 AM, Pavel Hrdina wrote:
On Fri, Mar 26, 2021 at 05:25:03PM +0100, Eric Farman wrote:
The introduction of nested cgroups used a little macro
virCgroupGetNested() to retrieve the nested cgroup
pointer, if one exists. But this macro isn't used when
removing cgroups, resulting in
On Wed, 7 Apr 2021 08:05:17 +0200
Erik Skultety wrote:
> On Thu, Apr 01, 2021 at 10:18:45AM -0500, Jonathon Jongsma wrote:
> > On Wed, 31 Mar 2021 16:00:48 +0200
> > Erik Skultety wrote:
> >
> > > On Fri, Mar 26, 2021 at 11:47:56AM -0500, Jonathon Jongsma wrote:
> > >
> > > > This patch
On Wed, 7 Apr 2021 13:40:03 +0100
Daniel P. Berrangé wrote:
> On Wed, Apr 07, 2021 at 09:17:36AM +0200, Peter Krempa wrote:
> > On Tue, Apr 06, 2021 at 16:31:32 +0100, Daniel Berrange wrote:
> > > PCI devices can be associated with a unique integer index that is
> > > exposed via ACPI. In
On Wed, Apr 07, 2021 at 07:42:56PM +0200, Peter Krempa wrote:
> On Wed, Apr 07, 2021 at 19:27:31 +0200, Pavel Hrdina wrote:
> > On Wed, Apr 07, 2021 at 05:09:45PM +0200, Peter Krempa wrote:
> > > As with previous commits use virCommandSetDryRun to invoke
> > > virCommandToString so that it returns
On Wed, Apr 07, 2021 at 05:09:30PM +0200, Peter Krempa wrote:
> While virCommandSetDryRun is used in tests only, there were some cases
> when error paths would not call the function with NULL arguments to
> reset the dry run infrastructure.
>
> Introduce VIR_COMMAND_DRY_RUN_TOKEN macro which
Signed-off-by: Simon Martin
---
src/hyperv/hyperv_driver.c | 5 +
src/hyperv/hyperv_util.c | 11 +++
src/hyperv/hyperv_util.h | 1 +
3 files changed, 17 insertions(+)
diff --git a/src/hyperv/hyperv_driver.c b/src/hyperv/hyperv_driver.c
index 17f5be1f0d..67e6e09f2d 100644
---
On Wed, Apr 07, 2021 at 19:27:31 +0200, Pavel Hrdina wrote:
> On Wed, Apr 07, 2021 at 05:09:45PM +0200, Peter Krempa wrote:
> > As with previous commits use virCommandSetDryRun to invoke
> > virCommandToString so that it returns pre-wrapped string.
> >
> > Since virCommand is better aware of
On Wed, Apr 07, 2021 at 05:09:45PM +0200, Peter Krempa wrote:
> As with previous commits use virCommandSetDryRun to invoke
> virCommandToString so that it returns pre-wrapped string.
>
> Since virCommand is better aware of where the arguments terminate we can
> see an improvement where comments
On a Thursday in 2021, Peter Krempa wrote:
Remove 'cleanup' and 'error' labels by switching 'ret' to automatic
pointer and stealing it in the return statement.
Signed-off-by: Peter Krempa
---
src/util/virresctrl.c | 11 +++
1 file changed, 3 insertions(+), 8 deletions(-)
Reviewed-by:
On a Thursday in 2021, Peter Krempa wrote:
Move variables into the loop which uses them and use automatic freeing
for temporarily allocated variables.
Signed-off-by: Peter Krempa
---
src/util/virresctrl.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
Reviewed-by: Ján Tomko
On a Thursday in 2021, Peter Krempa wrote:
Move variables into the loop which uses them and use automatic freeing
for temporarily allocated variables.
Signed-off-by: Peter Krempa
---
src/util/virresctrl.c | 30 +-
1 file changed, 13 insertions(+), 17 deletions(-)
On Wed, Apr 07, 2021 at 17:24:35 +0100, Daniel Berrange wrote:
[...]
> Daniel P. Berrangé (5):
> conf: add support for for PCI devices
> qemu: fix indentation off-by-1
> qemu: use a switch when building device addresses
> qemu: probe for "acpi-index" property
> qemu: wire up command
This makes it possible to enable stable NIC device names in most modern
Linux distros.
Signed-off-by: Daniel P. Berrangé
---
src/qemu/qemu_command.c | 2 +
src/qemu/qemu_validate.c | 35 +
.../devices-acpi-index.x86_64-latest.args | 57
The compiler can more easily optimize a switch, and more importantly can
also warn when new address types are added which are not handled.
Reviewed-by: Peter Krempa
Signed-off-by: Daniel P. Berrangé
---
src/qemu/qemu_command.c | 38 --
1 file changed, 32
PCI devices can be associated with a unique integer index that is
exposed via ACPI. In Linux OS with systemd, this value is used for
provide a NIC device naming scheme that is stable across changes
in PCI slot configuration.
Signed-off-by: Daniel P. Berrangé
---
docs/formatdomain.rst |
Reviewed-by: Peter Krempa
Signed-off-by: Daniel P. Berrangé
---
src/qemu/qemu_command.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 7cb07306f3..20fba45780 100644
--- a/src/qemu/qemu_command.c
+++
With this series applied it is possible to get stable NIC device naming
in combination with QEMU >= 6.0.0 (release imminent), by setting the
ACPI device index against NICs.
The index is an unique integer that can be assigned to any PCI/PCIe
device. systemd uses this value for its stable NIC
This property is exposed by QEMU on any PCI device, but we have to pick
some specific device(s) to probe it against. We expect that at least one
of the virtio devices will be present, so probe against them.
Signed-off-by: Daniel P. Berrangé
---
src/qemu/qemu_capabilities.c |
On a Thursday in 2021, Peter Krempa wrote:
Count the elements after splitting the string.
Signed-off-by: Peter Krempa
---
src/storage_file/storage_source_backingstore.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
Reviewed-by: Ján Tomko
Jano
signature.asc
Description:
On a Thursday in 2021, Peter Krempa wrote:
Count the elements after splitting the string.
Signed-off-by: Peter Krempa
---
tools/virsh-domain.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Ján Tomko
Jano
signature.asc
Description: PGP signature
On a Thursday in 2021, Peter Krempa wrote:
Use g_auto for the string list and remove 'ret' and 'cleanup:'.
:'.
Signed-off-by: Peter Krempa
---
tools/virsh-domain.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
Reviewed-by: Ján Tomko
Jano
signature.asc
On a Thursday in 2021, Peter Krempa wrote:
We don't need the count of elements to iterate the list.
Signed-off-by: Peter Krempa
---
tools/virt-host-validate-common.c | 13 +
1 file changed, 5 insertions(+), 8 deletions(-)
Reviewed-by: Ján Tomko
Jano
signature.asc
Description:
On a Thursday in 2021, Peter Krempa wrote:
Unfortunately here we do need the count of elements. Use g_strv_length
to calculate it so that virStringSplitCount can be removed later.
Signed-off-by: Peter Krempa
---
src/util/virlog.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff
On a Thursday in 2021, Peter Krempa wrote:
Signed-off-by: Peter Krempa
---
src/bhyve/bhyve_parse_command.c | 14 +-
1 file changed, 5 insertions(+), 9 deletions(-)
Reviewed-by: Ján Tomko
Jano
signature.asc
Description: PGP signature
On a Thursday in 2021, Peter Krempa wrote:
Signed-off-by: Peter Krempa
---
tools/virsh-domain.c | 23 ++-
1 file changed, 10 insertions(+), 13 deletions(-)
Reviewed-by: Ján Tomko
Jano
signature.asc
Description: PGP signature
On a Thursday in 2021, Peter Krempa wrote:
We don't really need the count.
Signed-off-by: Peter Krempa
---
src/util/virlog.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Ján Tomko
Jano
signature.asc
Description: PGP signature
On a Thursday in 2021, Peter Krempa wrote:
Rewrite the code to remove the need to calculate the string list count.
Signed-off-by: Peter Krempa
---
src/util/virlog.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/util/virlog.c b/src/util/virlog.c
index
On a Thursday in 2021, Peter Krempa wrote:
Rewrite the code to remove the need to calculate the string list count.
Signed-off-by: Peter Krempa
---
src/util/virlog.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/util/virlog.c b/src/util/virlog.c
index
On a Thursday in 2021, Peter Krempa wrote:
Signed-off-by: Peter Krempa
---
src/util/virlog.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
Reviewed-by: Ján Tomko
Jano
signature.asc
Description: PGP signature
On a Thursday in 2021, Peter Krempa wrote:
Previous refactors left empty cleanup labels. Remove them.
Signed-off-by: Peter Krempa
---
src/util/virlog.c | 47 +--
1 file changed, 17 insertions(+), 30 deletions(-)
Reviewed-by: Ján Tomko
Jano
On a Thursday in 2021, Peter Krempa wrote:
The presence of the second element can be checked by looking at it
directly.
Signed-off-by: Peter Krempa
---
src/util/virstoragefile.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
Reviewed-by: Ján Tomko
Jano
signature.asc
On a Thursday in 2021, Peter Krempa wrote:
The presence of the second element can be checked by looking at it
directly.
Signed-off-by: Peter Krempa
---
src/util/virjson.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
Reviewed-by: Ján Tomko
Jano
signature.asc
Description: PGP
On a Thursday in 2021, Peter Krempa wrote:
Count the elements directly using g_strv_length.
Signed-off-by: Peter Krempa
---
src/conf/domain_conf.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
Reviewed-by: Ján Tomko
Jano
signature.asc
Description: PGP signature
On a Thursday in 2021, Peter Krempa wrote:
Signed-off-by: Peter Krempa
---
src/libvirt_private.syms | 1 -
src/util/virstoragefile.c | 210 --
src/util/virstoragefile.h | 8 --
3 files changed, 219 deletions(-)
Reviewed-by: Ján Tomko
Jano
On a Thursday in 2021, Peter Krempa wrote:
The private data structure is no longer used.
Signed-off-by: Peter Krempa
---
src/storage_file/storage_file_backend_fs.c | 20
1 file changed, 20 deletions(-)
Reviewed-by: Ján Tomko
Jano
signature.asc
Description: PGP
On a Thursday in 2021, Peter Krempa wrote:
The API isn't used any more.
Signed-off-by: Peter Krempa
---
src/libvirt_private.syms | 1 -
src/storage_file/storage_file_backend.h | 4 --
src/storage_file/storage_file_backend_fs.c| 24 ---
On a Thursday in 2021, Peter Krempa wrote:
Remove the last code using the function.
Signed-off-by: Peter Krempa
---
tests/virstoragetest.c | 100 -
1 file changed, 100 deletions(-)
Reviewed-by: Ján Tomko
Jano
signature.asc
Description: PGP
cannonpath
On a Thursday in 2021, Peter Krempa wrote:
Signed-off-by: Peter Krempa
---
src/storage_file/storage_file_backend_gluster.c | 2 --
1 file changed, 2 deletions(-)
With the typo fixed:
Reviewed-by: Ján Tomko
Jano
signature.asc
Description: PGP signature
On a Thursday in 2021, Peter Krempa wrote:
Prevent unbounded chains by limiting the recursion depth of
virStorageSourceGetMetadataRecurse to the maximum number of image layers
we limit anyways.
This removes the last use of virStorageSourceGetUniqueIdentifier which
will allow us to delete some
On a Thursday in 2021, Peter Krempa wrote:
The magic constant will be used in one more place.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_domain.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index 76e8903dbc..f818fce271
One of the error branches used a plain free where vshCommandFree
was required.
https://bugzilla.redhat.com/show_bug.cgi?id=1943415
Signed-off-by: Ján Tomko
---
tools/vsh.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/vsh.c b/tools/vsh.c
index 552ed29ab9..d9c0a9b80d
As with previous commits use virCommandSetDryRun to invoke
virCommandToString so that it returns pre-wrapped string.
Since virCommand is better aware of where the arguments terminate we can
see an improvement where comments are no longer line-wrapped.
The changes to the 'commonRules' strings
All tests which use files with 'ldargs' and 'args' suffix as output now
use the internal and better line splitting.
Remove the test-wrap-argv.py script, the syntax check which used it and
the helper rewrapping the output when regenerating test output.
For any further use, we require code to use
virCommandSetDryRun allows to invoke virCommandToString so that the
command string is already wrapped.
We now also need to load the base arguments file without unwrapping the
arguments.
Signed-off-by: Peter Krempa
---
tests/networkxml2firewalltest.c | 6 +++---
1 file changed, 3 insertions(+),
Enable the internal path clearing instead of using
virTestClearCommandPath.
Signed-off-by: Peter Krempa
---
tests/nwfilterxml2firewalltest.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/nwfilterxml2firewalltest.c b/tests/nwfilterxml2firewalltest.c
index
Enable the internal path clearing instead of using
virTestClearCommandPath.
Signed-off-by: Peter Krempa
---
tests/networkxml2firewalltest.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/networkxml2firewalltest.c b/tests/networkxml2firewalltest.c
index
While virCommandSetDryRun is used in tests only, there were some cases
when error paths would not call the function with NULL arguments to
reset the dry run infrastructure.
Introduce VIR_COMMAND_DRY_RUN_TOKEN macro which declares a variable
called 'dryRunToken' which must be passed to
In tests we don't want to use the full path to commands as it's
unpleasant to keep that working on all systems.
Add an integrated way to strip the prefix which will be used to replace
virTestClearCommandPath() as a more systemic solution.
Signed-off-by: Peter Krempa
---
The symlinks are not used by the test.
Signed-off-by: Peter Krempa
---
tests/qemuxml2xmloutdata/audio-default-nographics.xml| 1 -
tests/qemuxml2xmloutdata/audio-default-sdl.xml | 1 -
tests/qemuxml2xmloutdata/audio-default-spice.xml | 1 -
The files are no longer referenced by either qemuxml2argvtest or
qemuxml2xmltest. Remove them.
Signed-off-by: Peter Krempa
---
tests/qemuxml2argvdata/console-compat-2.xml | 103 ---
tests/qemuxml2argvdata/hostdev-scsi-boot.xml | 34 --
The files were added in error (audio-*) for test cases which produce an
error, left over after converting to DO_TEST_CAPS_LATEST
(disk-detect-zeroes), or left over after splitting test cases
(disk-network-tlsx509).
Signed-off-by: Peter Krempa
---
tests/qemuxml2argvdata/audio-alsa-full.args |
Our log file wrapping helper keeps the option and argument together
regardless of the length which makes for more reasonable diffs without
any pointless re-wrapping of the files which may distract from real
change.
Reuse the wrapping code and replace the test code which used a python
script to do
Use virFileReadAll to load the file instead of virTestLoadFile which
tries to unwrap the file.
Signed-off-by: Peter Krempa
---
tests/testutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/testutils.c b/tests/testutils.c
index 0f6b3a9705..3363d7f0aa 100644
---
Move calls to virStorageBackendFileSystemMountAddOptions earlier so that
the options are formatted before the positional arguments.
Signed-off-by: Peter Krempa
---
src/storage/storage_util.c| 8
tests/storagepoolxml2argvdata/pool-fs-freebsd.argv|
virCommandToString has the possibility to return an already wrapped
string with better format than what we get from the test wrapper script.
The main advantage is that arguments for an option are always on the
same line which makes it more easy to see what changed in a diff and
prevents
virCommandToString has the possibility to return an already wrapped
string with better format than what we get from the test wrapper script.
Signed-off-by: Peter Krempa
---
tests/storagepoolxml2argvdata/pool-fs-linux.argv | 4 +++-
tests/storagepoolxml2argvdata/pool-fs.argv
virCommandToString has the possibility to return an already wrapped
string with better format than what we get from the test wrapper script.
Signed-off-by: Peter Krempa
---
tests/storagevolxml2argvdata/iso-input.argv| 4 +++-
tests/storagevolxml2argvdata/iso.argv | 4 +++-
Splitting lines with arguments causes in many cases a rewrap if the
arguments are modified making it harder to see what actually changed.
In upcoming patches some rewrapping of 'args' files will be removed so
remove this check first.
Signed-off-by: Peter Krempa
---
build-aux/syntax-check.mk |
In some cases we might want to compare already wrapped data against a
wrapped file. Introduce virTestCompareToFileFull with a 'unwrap' boolean
which will control the unwrapping.
Signed-off-by: Peter Krempa
---
tests/testutils.c | 46 +++---
Put multiple values for an option if followed by another option as used
in certain iptables arguments.
Signed-off-by: Peter Krempa
---
src/util/vircommand.c| 29 +++--
tests/commanddata/test26.log | 2 +-
tests/commandtest.c | 5 -
3 files changed,
virCommand(ToString) now provides the functionality internally so we
don't have to keep the string-munging function around.
Signed-off-by: Peter Krempa
---
tests/testutils.c | 51 ---
tests/testutils.h | 2 --
2 files changed, 53 deletions(-)
diff
Enable the internal path clearing instead of using
virTestClearCommandPath.
Signed-off-by: Peter Krempa
---
tests/nwfilterebiptablestest.c | 21 +++--
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/tests/nwfilterebiptablestest.c b/tests/nwfilterebiptablestest.c
virCommandToStringFull used internally when virCommandSetDryRun is
requested allows to strip command path and wrap lines nicely. Expose
these via virCommandSetDryRun so that tests can use those features
instead of local hacks.
Signed-off-by: Peter Krempa
---
src/util/vircommand.c|
The files are no longer referenced by existing test cases. Remove them.
Signed-off-by: Peter Krempa
---
tests/qemuxml2xmloutdata/disk-fat.xml | 37 --
tests/qemuxml2xmloutdata/nographics-vga.xml | 34 -
tests/qemuxml2xmloutdata/parallel-tcp.xml | 39
Replace virTestClearCommandPath by virCommandToStringFull which allows
to strip the command prefix internally.
Signed-off-by: Peter Krempa
---
tests/storagepoolxml2argvtest.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/storagepoolxml2argvtest.c
Compile the policy using a script executed by meson.
Signed-off-by: Vit Mojzis
---
libvirt.spec.in | 12
meson.build | 12
selinux/compile_policy.py | 128 ++
selinux/meson.build | 23 +++
4 files changed, 163
From: Nikola Knazekova
SELinux policy was created for:
Hypervisor drivers:
- virtqemud (QEMU/KVM)
- virtlxcd (LXC)
- virtvboxd (VirtualBox)
Secondary drivers:
- virtstoraged (host storage mgmt)
- virtnetworkd (virtual network mgmt)
- virtinterface (network interface mgmt)
- virtnodedevd
Temporary commit for testing purposes.
The change needs to be done in
https://gitlab.com/libvirt/libvirt-ci/-/blob/master/guests/lcitool/lcitool/ansible/vars/projects/libvirt.yml
Signed-off-by: Vit Mojzis
---
ci/containers/ci-centos-8.Dockerfile | 1 +
Compile the module also for use with "mls" systems and allow
installation to systems with any selinux type (targeted, mls and
minimum).
Signed-off-by: Vit Mojzis
---
libvirt.spec.in | 53 +--
selinux/compile_policy.py | 21 ++--
On a Wednesday in 2021, Daniel P. Berrangé wrote:
Signed-off-by: Daniel P. Berrangé
---
src/conf/domain_conf.c | 7 +++
1 file changed, 7 insertions(+)
Reviewed-by: Ján Tomko
Jano
signature.asc
Description: PGP signature
Signed-off-by: Daniel P. Berrangé
---
src/conf/domain_conf.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 875edcbff3..83415f9271 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -22313,6 +22313,13 @@
Sorry for the long delay. This is our first request to ship a policy for
multiple selinux stores (targeted, mls and minimum).
Changes:
* Replace all selinux-policy-%{policytype} dependencies with selinux-policy-base
* Add Ghost files representing installed policy modules in all policy stores
*
On Tue, Apr 06, 2021 at 08:27:07PM +0200, Igor Mammedov wrote:
> On Tue, 6 Apr 2021 16:31:36 +0100
> Daniel P. Berrangé wrote:
>
> > This property is exposed by QEMU on any PCI device, but we have to pick
> > some specific device(s) to probe it against. We expect that at least one
> > of the
On Fri, Mar 26, 2021 at 05:25:03PM +0100, Eric Farman wrote:
> The introduction of nested cgroups used a little macro
> virCgroupGetNested() to retrieve the nested cgroup
> pointer, if one exists. But this macro isn't used when
> removing cgroups, resulting in some messages:
>
> Mar 25 20:55:17
On 4/7/21 8:40 AM, Daniel P. Berrangé wrote:
On Wed, Apr 07, 2021 at 09:23:50AM +0200, Peter Krempa wrote:
On Wed, Apr 07, 2021 at 09:17:36 +0200, Peter Krempa wrote:
On Tue, Apr 06, 2021 at 16:31:32 +0100, Daniel Berrange wrote:
PCI devices can be associated with a unique integer index that
On Wed, Apr 07, 2021 at 08:53:12AM -0400, Laine Stump wrote:
> On 4/6/21 11:31 AM, Daniel P. Berrangé wrote:
> > PCI devices can be associated with a unique integer index that is
> > exposed via ACPI. In Linux OS with systemd, this value is used for
> > provide a NIC device naming scheme that is
On 4/6/21 11:31 AM, Daniel P. Berrangé wrote:
PCI devices can be associated with a unique integer index that is
exposed via ACPI. In Linux OS with systemd, this value is used for
provide a NIC device naming scheme that is stable across changes
in PCI slot configuration.
Signed-off-by: Daniel P.
On Wed, Apr 07, 2021 at 09:23:50AM +0200, Peter Krempa wrote:
> On Wed, Apr 07, 2021 at 09:17:36 +0200, Peter Krempa wrote:
> > On Tue, Apr 06, 2021 at 16:31:32 +0100, Daniel Berrange wrote:
> > > PCI devices can be associated with a unique integer index that is
> > > exposed via ACPI. In Linux OS
On Wed, Apr 07, 2021 at 09:17:36AM +0200, Peter Krempa wrote:
> On Tue, Apr 06, 2021 at 16:31:32 +0100, Daniel Berrange wrote:
> > PCI devices can be associated with a unique integer index that is
> > exposed via ACPI. In Linux OS with systemd, this value is used for
> > provide a NIC device
Polite ping, now that release freeze has finished.
On 3/26/21 12:25 PM, Eric Farman wrote:
Hi Pavel, et al,
Running Fedora 33 KVM/QEMU on s390x, I recently noticed a couple
of oddities when shutting down my guests, which I bisected between
7.0.0 and 7.1.0 to your commit:
commit
On Wed, Apr 07, 2021 at 01:37:07PM +0200, Peter Krempa wrote:
> Unless you create such an commit, cirrus-ci.com will not pick up the
> github project and cirrus-run will fail.
>
> Signed-off-by: Peter Krempa
> ---
> ci/README.rst | 6 ++
> 1 file changed, 6 insertions(+)
Reviewed-by: Pavel
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.c | 17 +
src/conf/domain_conf.h | 2 +-
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index a99553cb0b..d0d03b16bb 100644
--- a/src/conf/domain_conf.c
+++
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.c | 17 +
src/conf/domain_conf.h | 2 +-
2 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index d0d03b16bb..e529eb7bc1 100644
--- a/src/conf/domain_conf.c
+++
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.c | 26 --
src/conf/domain_conf.h | 4 ++--
2 files changed, 18 insertions(+), 12 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 313d7fd291..24d124158e 100644
---
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.c | 26 --
src/conf/domain_conf.h | 4 ++--
2 files changed, 18 insertions(+), 12 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 2ae3080a8c..313d7fd291 100644
---
Signed-off-by: Tim Wiederhake
---
src/conf/device_conf.c | 16 +---
src/util/virpci.h | 2 +-
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/src/conf/device_conf.c b/src/conf/device_conf.c
index 714ac50762..0dd60985e9 100644
--- a/src/conf/device_conf.c
+++
Note that the comment for virStoragePoolSourceDevice::part_separator was wrong.
Signed-off-by: Tim Wiederhake
---
src/conf/storage_conf.c | 7 ---
src/conf/storage_conf.h | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
index b2e14ba2e1..e53f5d1b47 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -2756,7 +2756,7 @@ struct
Note that the comment for virStorageAdapterFCHost::managed was wrong.
Signed-off-by: Tim Wiederhake
---
src/conf/storage_adapter_conf.c | 4 +++-
src/conf/storage_adapter_conf.h | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/conf/storage_adapter_conf.c
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.c | 34 +-
src/conf/domain_conf.h | 6 +++---
2 files changed, 24 insertions(+), 16 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index e529eb7bc1..2ae3080a8c 100644
---
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
index ad9b8f632b..445f48d8ed 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -1863,7 +1863,7 @@ struct
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.c | 12
src/conf/storage_source_conf.h | 2 +-
2 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 1e72171586..b8f6c3d606 100644
---
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.c | 39 ---
src/conf/domain_conf.h | 6 +++---
2 files changed, 27 insertions(+), 18 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 67954bb42b..a99553cb0b 100644
---
This is a preparation step for some refactoring of the XML parser, see
https://listman.redhat.com/archives/libvir-list/2021-March/msg01066.html
Many libvirt structs have members that are of type `int` but actually are
virTristateBool or virTristateSwitch. Fix this to increase type safety.
Note
Note that the wrong "VIR_TRISTATE_*_ABSENT" was used in qemuDomainChangeNet.
Signed-off-by: Tim Wiederhake
---
src/conf/device_conf.h | 4 ++--
src/conf/domain_conf.c | 26 --
src/qemu/qemu_command.c | 3 ++-
src/qemu/qemu_hotplug.c | 2 +-
4 files changed, 21
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.c | 4 +++-
src/conf/storage_source_conf.h | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index b8f6c3d606..dfdca1891a 100644
--- a/src/conf/domain_conf.c
+++
Unless you create such an commit, cirrus-ci.com will not pick up the
github project and cirrus-run will fail.
Signed-off-by: Peter Krempa
---
ci/README.rst | 6 ++
1 file changed, 6 insertions(+)
diff --git a/ci/README.rst b/ci/README.rst
index 033db1c847..2a7d767227 100644
---
On Mon, 2021-04-05 at 10:31 -0600, Jim Fehlig wrote:
> Signed-off-by: Jim Fehlig
> ---
> NEWS.rst | 5 +
> 1 file changed, 5 insertions(+)
Reviewed-by: Andrea Bolognani
--
Andrea Bolognani / Red Hat / Virtualization
On Tue, 2021-04-06 at 12:01 +0100, Daniel P. Berrangé wrote:
> +++ b/tests/qemucapsprobe.c
> @@ -46,6 +46,7 @@ main(int argc, char **argv)
> {
> virThread thread;
> virQEMUCapsPtr caps;
> +virArch guest, host;
I believe it's preferred to declare each variable on its own line,
even
On Tue, 2021-04-06 at 15:41 +0100, Daniel P. Berrangé wrote:
> The "args" array already contains the binary name, so does not need to
> be concatenated with "prog".
>
> Signed-off-by: Daniel P. Berrangé
> ---
> run.in | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by:
1 - 100 of 108 matches
Mail list logo