Using `git grep -n "\[0\].*'/'"` to find files that may need the
treatment, then judge and replace. There may be some files replaced by
mistake though.
Luke Yue (1):
Replace AbsPath judgement method with g_path_is_absolute()
src/conf/backup_conf.c| 2 +-
src/conf/snapshot_conf.c
The g_path_is_absolute() considers more situations
than just a simply "path[0] == '/'".
Related issue: https://gitlab.com/libvirt/libvirt/-/issues/12
Signed-off-by: Luke Yue
---
src/conf/backup_conf.c| 2 +-
src/conf/snapshot_conf.c | 2 +-
src/conf/storage_source_conf.c
On Mon, Apr 19, 2021 at 11:10 AM Pavel Hrdina wrote:
>
> On Mon, Apr 19, 2021 at 01:59:52PM +0100, Daniel P. Berrangé wrote:
> > On Mon, Apr 19, 2021 at 02:50:13PM +0200, Michal Privoznik wrote:
> > > On 4/19/21 2:24 PM, Neal Gompa wrote:
> > > > On Fri, Apr 16, 2021 at 3:13 PM Pavel Hrdina
On 4/19/21 7:54 AM, Tim Wiederhake wrote:
Signed-off-by: Tim Wiederhake
Reviewed-by: Laine Stump
I pushed all 5 patches.
On 4/19/21 7:54 AM, Tim Wiederhake wrote:
Fixes: 3caa28dc50df7ec215713075d669b20bef6473a2
As with the last patch, a short description would have gained me the
time I spent looking into the original patch (on the other hand, not
having the explanation forces me to go back to the source to
On 4/19/21 7:54 AM, Tim Wiederhake wrote:
Fixes: 3caa28dc50df7ec215713075d669b20bef6473a2
Signed-off-by: Tim Wiederhake
Reviewed-by: Laine Stump
On 4/19/21 7:54 AM, Tim Wiederhake wrote:
Fixes: 94013ee04e3945307a71f5c4897d78729e7eaff4
While not necessary, a short explanation would have led to less time
spent loooking into the original patch.
Signed-off-by: Tim Wiederhake
Reviewed-by: Peter Krempa
---
src/conf/domain_conf.c | 2
On 4/19/21 7:54 AM, Tim Wiederhake wrote:
Fixes:b523e22521afe733165869c9e1ae18e88536acd6
Signed-off-by: Tim Wiederhake
---
src/libxl/xen_common.c | 28 +++-
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/src/libxl/xen_common.c b/src/libxl/xen_common.c
On Mon, Apr 19, 2021 at 02:35:04PM +0200, Peter Krempa wrote:
> May 7, 2021 is the 2nd anniversary of release of rhel-8, which means we
> no longer have to support qemu-1.5.
>
> Remove the capabilities and test data for the versions we no longer care
> about and clean up some capabilities related
Drop code that creates defines with program paths and update the comment
to reflect current usage of optional_programs.
Signed-off-by: Pavel Hrdina
---
meson.build | 10 +-
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/meson.build b/meson.build
index
This requires to define the binary name in code because we compile
src/util/viriscsi.c unconditionally.
Signed-off-by: Pavel Hrdina
---
meson.build | 22 --
src/util/viriscsi.h | 2 ++
2 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/meson.build
These binaries are used only during runtime so technically there is no
need to check for them while compiling libvirt.
Usually the location is the same while compiling and running but it may
not be true. In addition they are not strictly required to compile the
code so this way developers don't
Following patches will stop detecting the full path during compilation
so we will need to do it here.
Signed-off-by: Pavel Hrdina
---
src/qemu/qemu_conf.c | 18 ++
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c
index
These are no longer required to build libvirt as they are used during
compilation only by meson to detect if some "auto" features should be
enabled or not but in spec file we explicitly enable/disable all libvirt
features.
Signed-off-by: Pavel Hrdina
---
libvirt.spec.in | 31
This way meson will try to do the right thing by default but we will
allow users to change this behavior by using -Dname=enabled. This comes
with two benefits compared to the previous behavior:
- no need to install the binaries if developers would like to check
that the code compiles
Technically the location of these binaries may be different when
compiling libvirt or running it. This will allow users to change $PATH
to use different binaries as well.
Signed-off-by: Pavel Hrdina
---
meson.build| 41 --
Future patch will remove MKFS define as we will no longer check it
during compilation.
Signed-off-by: Pavel Hrdina
---
src/storage/storage_backend_fs.c | 24 +---
1 file changed, 9 insertions(+), 15 deletions(-)
diff --git a/src/storage/storage_backend_fs.c
Currently the tests would fail if the bhyve commands are installed in
different path then /usr/bin. Strip the command path to not depend on
the host environment.
Signed-off-by: Pavel Hrdina
---
tests/bhyvexml2argvdata/bhyvexml2argv-acpiapic.args | 2 +-
Extend virFindFileInPath to search in custom extra paths as well. Some
binaries that libvirt needs are not usually in $PATH so we need to have
a way to look for these as well.
Signed-off-by: Pavel Hrdina
---
src/libvirt_private.syms | 2 +-
src/util/virfile.c | 16 ++--
Having the function on mock library reflect more closely what we usually
do in tests.
Signed-off-by: Pavel Hrdina
---
tests/domaincapsmock.c | 16
tests/testutilsqemu.c | 15 ---
2 files changed, 16 insertions(+), 15 deletions(-)
diff --git
Upstream sheepdog changed collie to dog back in 2013 in version 0.7.0.
Looking into repology that version is no longer used by any distribution
supported by libvirt.
Signed-off-by: Pavel Hrdina
---
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meson.build
The function in question uses "tc" binary so virnetdevbandwidth feels
like better place for it.
Signed-off-by: Pavel Hrdina
---
src/libvirt_private.syms | 2 +-
src/qemu/qemu_domain.c| 3 ++-
src/util/virnetdev.c | 46
We always pass DNSMASQ so there is no need for the argument at all.
Signed-off-by: Pavel Hrdina
---
src/network/bridge_driver.c | 4 ++--
src/util/virdnsmasq.c | 4 ++--
src/util/virdnsmasq.h | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git
Instead of checking for specific error that the binaries are not
available mock the virFindFileInPath function. This way we don't have
to skip these tests on host where the binaries are missing.
Signed-off-by: Pavel Hrdina
---
tests/networkxml2firewalltest.c | 16 ++--
This will allow us to run tests using firewall on hosts where the mocked
binaries are not available/installed instead of skipping these tests.
Signed-off-by: Pavel Hrdina
---
src/util/virfile.h | 3 ++-
tests/meson.build | 1 +
tests/virfirewallmock.c | 34
Following patches will make this change necessary as we will stop
detecting the full path during compile time.
Signed-off-by: Pavel Hrdina
---
src/util/virfirewall.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/util/virfirewall.c b/src/util/virfirewall.c
index
We always pass DNSMASQ so there is no need for the argument at all.
Signed-off-by: Pavel Hrdina
---
src/util/virdnsmasq.c | 4 ++--
src/util/virdnsmasq.h | 3 +--
tests/networkxml2conftest.c | 6 +++---
3 files changed, 6 insertions(+), 7 deletions(-)
diff --git
Instead of removing binaryPath let's drop the function completely as
it is not used anywhere.
Signed-off-by: Pavel Hrdina
---
src/libvirt_private.syms | 1 -
src/util/virdnsmasq.c| 17 -
src/util/virdnsmasq.h| 1 -
3 files changed, 19 deletions(-)
diff --git
Instead of removing binaryPath let's drop the function completely as
it is not used anywhere.
Signed-off-by: Pavel Hrdina
---
src/libvirt_private.syms | 1 -
src/util/virdnsmasq.c| 30 --
src/util/virdnsmasq.h| 2 --
3 files changed, 33 deletions(-)
diff
We will never call dnsmasqCapsRefresh() so reflect what actually
happens.
Signed-off-by: Pavel Hrdina
---
src/network/bridge_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
index 1172dbbc18..706a557ee8 100644
Recent attempt to add a lot of meson options to specify different
runtime paths motivated me enough to cleanup this from meson.
Changes in v2:
- split and rework patch 16/17 to address review comments
- added a new patch to cleanup libvirt.spec.in file
Pavel Hrdina (21):
bridge_driver:
On Mon, Apr 19, 2021 at 05:26:55PM +0100, Daniel P. Berrangé wrote:
> On Mon, Apr 19, 2021 at 06:22:18PM +0200, Pavel Hrdina wrote:
> > On Mon, Apr 19, 2021 at 05:05:56PM +0100, Daniel P. Berrangé wrote:
> > > On Mon, Apr 19, 2021 at 06:01:42PM +0200, Andrea Bolognani wrote:
> > > > On Mon,
On Mon, Apr 19, 2021 at 06:22:18PM +0200, Pavel Hrdina wrote:
> On Mon, Apr 19, 2021 at 05:05:56PM +0100, Daniel P. Berrangé wrote:
> > On Mon, Apr 19, 2021 at 06:01:42PM +0200, Andrea Bolognani wrote:
> > > On Mon, 2021-04-19 at 13:35 +0100, Daniel P. Berrangé wrote:
> > > > On Fri, Apr 16, 2021
On Mon, Apr 19, 2021 at 05:05:56PM +0100, Daniel P. Berrangé wrote:
> On Mon, Apr 19, 2021 at 06:01:42PM +0200, Andrea Bolognani wrote:
> > On Mon, 2021-04-19 at 13:35 +0100, Daniel P. Berrangé wrote:
> > > On Fri, Apr 16, 2021 at 09:12:45PM +0200, Pavel Hrdina wrote:
> > > > - if not
On Mon, 2021-04-19 at 16:51 +0100, Daniel P. Berrangé wrote:
> On Mon, Apr 19, 2021 at 05:42:01PM +0200, Andrea Bolognani wrote:
> > Basically, if we can't avoid the overhead of duplication altogether,
> > I'd rather pay it on the filesystem than in the RPM database, where
> > it's felt over and
On Mon, Apr 19, 2021 at 06:01:42PM +0200, Andrea Bolognani wrote:
> On Mon, 2021-04-19 at 13:35 +0100, Daniel P. Berrangé wrote:
> > On Fri, Apr 16, 2021 at 09:12:45PM +0200, Pavel Hrdina wrote:
> > > - if not get_option('storage_iscsi').disabled() and iscsiadm_prog.found()
> > > + if not
On Mon, 2021-04-19 at 13:35 +0100, Daniel P. Berrangé wrote:
> On Fri, Apr 16, 2021 at 09:12:45PM +0200, Pavel Hrdina wrote:
> > - if not get_option('storage_iscsi').disabled() and iscsiadm_prog.found()
> > + if not get_option('storage_iscsi').disabled()
> > use_storage = true
> >
On Mon, Apr 19, 2021 at 05:42:01PM +0200, Andrea Bolognani wrote:
> On Mon, 2021-04-19 at 11:45 +0200, Michal Privoznik wrote:
> > On 4/15/21 2:52 PM, Andrea Bolognani wrote:
> > > the latter is also very small and, just like virsh,
> > > is something that you likely want to have available on any
On Mon, 2021-04-19 at 11:45 +0200, Michal Privoznik wrote:
> On 4/15/21 2:52 PM, Andrea Bolognani wrote:
> > the latter is also very small and, just like virsh,
> > is something that you likely want to have available on any
> > virtualization host to help with management and debugging
> > tasks.
>
On Mon, Apr 19, 2021 at 01:51:36PM +0100, Daniel P. Berrangé wrote:
> On Mon, Apr 19, 2021 at 02:45:52PM +0200, Pavel Hrdina wrote:
> > On Mon, Apr 19, 2021 at 01:24:26PM +0200, Peter Krempa wrote:
> > > On Mon, Apr 19, 2021 at 13:12:07 +0200, Pavel Hrdina wrote:
> > > > On Mon, Apr 19, 2021 at
On Monday, April 19, 2021 18:10
Jonathon Jongsma wrote:
>On Mon, 19 Apr 2021 14:16:59 +0200
>Michal Privoznik wrote:
>
>> On 4/18/21 10:08 AM, Gavi Teitz wrote:
>> > Hi,
>> >
>> > The page-per-vq flag is important for vdpa with vhost-user
>> > performance [1].
>> >
>> > Currently there is
On Mon, 19 Apr 2021 14:16:59 +0200
Michal Privoznik wrote:
> On 4/18/21 10:08 AM, Gavi Teitz wrote:
> > Hi,
> >
> > The page-per-vq flag is important for vdpa with vhost-user
> > performance [1].
> >
> > Currently there is no way in libvirt to set it in the xml
> > page-per-vq except with qemu
On Mon, Apr 19, 2021 at 01:59:52PM +0100, Daniel P. Berrangé wrote:
> On Mon, Apr 19, 2021 at 02:50:13PM +0200, Michal Privoznik wrote:
> > On 4/19/21 2:24 PM, Neal Gompa wrote:
> > > On Fri, Apr 16, 2021 at 3:13 PM Pavel Hrdina wrote:
> > > >
> > > >
> > >
> > > I don't think this is a good
On 4/7/21 3:52 PM, simonmartin76 wrote:
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(+)
Hey,
sorry for delayed review. The patch looks good, but could
On Mon, Apr 19, 2021 at 02:50:13PM +0200, Michal Privoznik wrote:
> On 4/19/21 2:24 PM, Neal Gompa wrote:
> > On Fri, Apr 16, 2021 at 3:13 PM Pavel Hrdina wrote:
> > >
> > >
> >
> > I don't think this is a good "cleanup" to do. Having these checks is
> > useful since without them, we'd blindly
On 3/30/21 8:36 AM, Han Han wrote:
Han Han (3):
tests: negative test for hugepages with anonymous memory backing
tests: negative test for hugepages with ondemand mode
tests: negative test of binding memnode cellid to an nonexist guest
cell
On Mon, Apr 19, 2021 at 02:45:52PM +0200, Pavel Hrdina wrote:
> On Mon, Apr 19, 2021 at 01:24:26PM +0200, Peter Krempa wrote:
> > On Mon, Apr 19, 2021 at 13:12:07 +0200, Pavel Hrdina wrote:
> > > On Mon, Apr 19, 2021 at 12:53:11PM +0200, Peter Krempa wrote:
> > > > On Mon, Apr 19, 2021 at 12:47:59
On 4/19/21 2:24 PM, Neal Gompa wrote:
On Fri, Apr 16, 2021 at 3:13 PM Pavel Hrdina wrote:
I don't think this is a good "cleanup" to do. Having these checks is
useful since without them, we'd blindly build modules that possibly
wouldn't work because we haven't verified that those
On Mon, Apr 19, 2021 at 01:24:26PM +0200, Peter Krempa wrote:
> On Mon, Apr 19, 2021 at 13:12:07 +0200, Pavel Hrdina wrote:
> > On Mon, Apr 19, 2021 at 12:53:11PM +0200, Peter Krempa wrote:
> > > On Mon, Apr 19, 2021 at 12:47:59 +0200, Pavel Hrdina wrote:
> > > > Upstream sheepdog project doesn't
All tests now get that capability via virQEMUCapsInitQMPBasicArch.
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
tests/qemuxml2argvtest.c | 70 +---
tests/qemuxml2xmltest.c | 30 +++--
2 files changed, 20
Modern code uses QMP schema to query for active commit support.
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
src/qemu/qemu_monitor.c | 11 -
src/qemu/qemu_monitor.h | 1 -
src/qemu/qemu_monitor_json.c | 33 ---
All supported qemu versions now have the capability so testing the
absence doesn't make sense.
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
.../qemuxml2argvdata/video-qxl-nodevice.args | 32 ---
Move it under AARCH 64, since it's a platform specific feature, thus it
will be removed from all other platforms.
Since virQEMUCapsInitQMPBasicArch is used in qemuxml2argv test to
initiate qemuCaps for tests with fake capabilities, all the tests gain
GIC support now.
Signed-off-by: Peter Krempa
The feature is present in all supported qemu versions (>2.11) and there
isn't a reasonable way to detect it.
In addition the capability wasn't even used to gate any functionality
except for reporting the presence in the domain capabilities XML.
Signed-off-by: Peter Krempa
---
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
src/qemu/qemu_capabilities.c | 1 -
src/qemu/qemu_capabilities.h | 2 +-
tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml | 1 -
'query-commandline-options' never returned 'vmport' but we can detect it
in the list of supported object types. This removes it from all non-x86
originating test data as it's platform specific.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_capabilities.c | 3 +--
As of May 7 2021, rhel-8 will be out for two years, which means we no
longer have to support rhel-7 ancient qemu.
QEMU versions in our supported distros:
RHEL-8: 2.12
Debian Stable: 3.1
OpenSuse LEAP 15.0 (SLES15 GA): 2.11
OpenSuse LEAP 15.2: 4.2
Ubuntu (Bionic): 2.11
Ubuntu (Focal): 4.2
Modern code uses QMP schema to query for supported event types.
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
src/qemu/qemu_monitor.c | 12
src/qemu/qemu_monitor.h | 2 --
src/qemu/qemu_monitor_json.c | 57
Drop all the cases pinned to unsupported versions.
Signed-off-by: Peter Krempa
Reviewed-by: Ján Tomko
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
.../channel-unix-guestfwd.x86_64-2.5.0.args | 33 -
.../console-virtio-unix.x86_64-2.5.0.args | 34 --
The qemuCaps is left for the device commandline formatters for now as it
might come in handy.
Signed-off-by: Peter Krempa
Reviewed-by: Ján Tomko
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
src/qemu/qemu_command.c | 73 -
1 file changed, 36
The feature is present in all supported QEMU versions and there isn't a
more elegant way to detect it.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_capabilities.c | 1 -
src/qemu/qemu_capabilities.h | 2 +-
src/qemu/qemu_validate.c
Remove the slot reservation for the vga card which doesn't make sense
with supported qemus any more for the q35 machine type.
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
src/qemu/qemu_domain_address.c | 40 --
1 file
All supported qemus have it, there isn't an elegant way to detect it and
it's unlikely to be ever removed on purpose.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_capabilities.c | 1 -
src/qemu/qemu_capabilities.h | 2 +-
src/qemu/qemu_domain.c
QEMU_CAPS_VHOSTUSER_MULTIQUEUE is now always enabled, so the negative
case doesn't make sense.
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
tests/qemuxml2argvdata/net-vhostuser-multiq.err | 1 -
tests/qemuxml2argvtest.c| 1 -
2
The feature is present in all supported qemu versions (>2.11) and there
isn't a reasonable way to detect it.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_capabilities.c | 3 ---
src/qemu/qemu_capabilities.h | 2 +-
src/qemu/qemu_validate.c
The feature is present in all supported qemu versions (>2.11) and there
isn't a reasonable way to detect it.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_capabilities.c | 1 -
src/qemu/qemu_capabilities.h | 2 +-
src/qemu/qemu_validate.c
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
src/qemu/qemu_domain_address.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/qemu/qemu_domain_address.c b/src/qemu/qemu_domain_address.c
index 8a2494947b..fff8816aa8 100644
---
The feature is present in all supported qemu versions (>2.11) and there
isn't a reasonable way to detect it.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_capabilities.c | 1 -
src/qemu/qemu_capabilities.h | 2 +-
src/qemu/qemu_validate.c
The feature is no longer asserted. Remove the checks related to it and
make the code work properly with QEMU_CAPS_DEVICE_INTEL_IOMMU.
Signed-off-by: Peter Krempa
---
src/qemu/qemu_capabilities.h | 2 +-
src/qemu/qemu_command.c | 19 +++
src/qemu/qemu_validate.c | 3
Use virQEMUCapsInitQMPBasicArch in qemuHotplugCreateObjects so that we
also add the always-present capabilities to the set of capabilities used
for the hotplug test and fix fallout.
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
tests/qemuhotplugtest.c
All supported QEMU versions now support query-qmp-schema. In the future
it will be possible to use the output of query-qmp-schema to also detect
commands reliably.
Since we are at the point where we have the least amount of .replies
files needing changing for a long time, move the
All supported qemus now support using '-device' for adding a graphics
device.
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
src/qemu/qemu_command.c | 115 +++-
1 file changed, 6 insertions(+), 109 deletions(-)
diff --git
Remove the slot reservation for the vga card which doesn't make sense
with supported qemus any more for the i440fx machine type.
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
src/qemu/qemu_domain_address.c | 37 +++---
1 file
All supported qemu versions have 'query-qmp-schema' so we can remove the
check whether it exists and all logic conntected to it.
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
src/qemu/qemu_capabilities.c | 36 ---
QEMU_CAPS_MACHINE_PSERIES_RESIZE_HPT and
QEMU_CAPS_MACHINE_PSERIES_MAX_CPU_COMPAT are now always asserted on PPC
machine types, move them to virQEMUCapsInitQMPBasicArch.
It's now always set for AARCH64, move it into the function setting basic
caps for the emulator.
Signed-off-by: Peter Krempa
These conveniently don't have any test fallout.
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
src/qemu/qemu_capabilities.c | 16 +++-
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/src/qemu/qemu_capabilities.c
On Fri, Apr 16, 2021 at 09:12:45PM +0200, Pavel Hrdina wrote:
> These binaries are used only during runtime so technically there is no
> need to check for them while compiling libvirt.
>
> Usually the location is the same while compiling and running but it may
> not be true. In addition they are
Signed-off-by: Peter Krempa
Reviewed-by: Ján Tomko
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
src/qemu/qemu_alias.c | 3 +--
src/qemu/qemu_alias.h | 1 -
src/qemu/qemu_hotplug.c | 2 +-
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/qemu/qemu_alias.c
May 7, 2021 is the 2nd anniversary of release of rhel-8, which means we
no longer have to support qemu-1.5.
Remove the capabilities and test data for the versions we no longer care
about and clean up some capabilities related stuff:
- remove code for QEMU_CAPS_DEVICE_VIDEO_PRIMARY
- remove
QEMU_CAPS_MACH_VIRT_GIC_VERSION will be assumed for all aarch64 machines
starting from next commit, so this test will become invalid. Remove it.
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
tests/qemuxml2argvdata/aarch64-gic-host.err | 1 -
All supported qemu versions now have the flag so the test doesn't make
sense any more.
The flag setting will be moved to virQEMUCapsInitQMPBasicArch which will
make this test fail.
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
It's now always set for AARCH64, move it into the function setting basic
caps for the emulator.
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
src/qemu/qemu_capabilities.c | 8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git
All machine types which have PCI support multibus since qemu 2.0
according to the logic we had, thus we can remove all the machine type
and version checks which are now dead code.
Signed-off-by: Peter Krempa
Reviewed-by: Ján Tomko
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
Now that minimum supported qemu version is 2.11, we can remove the
conditions.
Note that the check enabling QEMU_CAPS_TCG was for < 2.10.
Signed-off-by: Peter Krempa
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
src/qemu/qemu_capabilities.c | 65 +---
Drop all the cases pinned to unsupported versions.
Signed-off-by: Peter Krempa
Reviewed-by: Ján Tomko
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
.../disk-cache.x86_64-1.5.3.xml | 61 ---
.../disk-cache.x86_64-2.6.0.xml | 61
We no longer have to mask out IOMMU and NVDIMM support as we no longer
support the broken qemu versions.
Signed-off-by: Peter Krempa
Reviewed-by: Ján Tomko
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
src/qemu/qemu_capabilities.c | 17 -
1 file changed, 17
TODO: move news to correct section, add sign-off (anti-push failsafe)
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
NEWS.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index 5f8b0ae02d..d65d6174af 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -5,6 +5,13 @@
Signed-off-by: Peter Krempa
Reviewed-by: Ján Tomko
Reviewed-by: Pavel Hrdina
Reviewed-by: Neal Gompa
---
.../caps_1.5.3.x86_64.replies | 3327 ---
.../caps_1.5.3.x86_64.xml | 176 -
.../caps_1.6.0.x86_64.replies | 3298 ---
On Fri, Apr 16, 2021 at 3:13 PM Pavel Hrdina wrote:
>
> Recent attempt to add a lot of meson options to specify different
> runtime paths motivated me enough to cleanup this from meson.
>
> Pavel Hrdina (17):
> bridge_driver: fix comment about dnsmasqCaps
> virdnsmasq: drop unused
On 4/18/21 10:08 AM, Gavi Teitz wrote:
Hi,
The page-per-vq flag is important for vdpa with vhost-user performance [1].
Currently there is no way in libvirt to set it in the xml page-per-vq
except with qemu args, like so:
Yeah, we view extra cmd line arguments as unsupported.
Are there
Hi,
The page-per-vq flag is important for vdpa with vhost-user performance [1].
Currently there is no way in libvirt to set it in the xml page-per-vq except
with qemu args, like so:
However, this is not an
Signed-off-by: Tim Wiederhake
---
tools/virsh-checkpoint.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/virsh-checkpoint.c b/tools/virsh-checkpoint.c
index afe849dd16..e88f9ffb47 100644
--- a/tools/virsh-checkpoint.c
+++ b/tools/virsh-checkpoint.c
@@ -628,7 +628,8
Fixes: 3caa28dc50df7ec215713075d669b20bef6473a2
Signed-off-by: Tim Wiederhake
---
tools/virsh-snapshot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/virsh-snapshot.c b/tools/virsh-snapshot.c
index 2bec722c61..e64117785c 100644
--- a/tools/virsh-snapshot.c
+++
Fixes: 3caa28dc50df7ec215713075d669b20bef6473a2
Signed-off-by: Tim Wiederhake
---
tools/virsh-checkpoint.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/virsh-checkpoint.c b/tools/virsh-checkpoint.c
index 20a02b0b02..afe849dd16 100644
--- a/tools/virsh-checkpoint.c
Fixes: 94013ee04e3945307a71f5c4897d78729e7eaff4
Signed-off-by: Tim Wiederhake
Reviewed-by: Peter Krempa
---
src/conf/domain_conf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 17bbeddec6..356398294e 100644
---
Fixes:b523e22521afe733165869c9e1ae18e88536acd6
Signed-off-by: Tim Wiederhake
---
src/libxl/xen_common.c | 28 +++-
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/src/libxl/xen_common.c b/src/libxl/xen_common.c
index 12a44280cb..6fa69fbdf0 100644
---
Issues were found by llvm's asan and ubsan sanitizers.
V1: https://listman.redhat.com/archives/libvir-list/2021-April/msg00640.html
Changes since V1:
* Edited patch #1 to use two g_autofree variables instead of VIR_FREE'ing
a reused variable
* Removed "virQEMUCapsSetHostModel: Fix memory
On Mon, Apr 19, 2021 at 13:12:07 +0200, Pavel Hrdina wrote:
> On Mon, Apr 19, 2021 at 12:53:11PM +0200, Peter Krempa wrote:
> > On Mon, Apr 19, 2021 at 12:47:59 +0200, Pavel Hrdina wrote:
> > > Upstream sheepdog project doesn't have any active development for almost
> > > 3 years as the last
On Mon, Apr 19, 2021 at 12:04:16PM +0100, Daniel P. Berrangé wrote:
> On Mon, Apr 19, 2021 at 12:47:59PM +0200, Pavel Hrdina wrote:
> > Upstream sheepdog project doesn't have any active development for almost
> > 3 years as the last commit is from 28/06/2018 [1].
> >
> > Looking into repology [2]
On Mon, Apr 19, 2021 at 12:53:11PM +0200, Peter Krempa wrote:
> On Mon, Apr 19, 2021 at 12:47:59 +0200, Pavel Hrdina wrote:
> > Upstream sheepdog project doesn't have any active development for almost
> > 3 years as the last commit is from 28/06/2018 [1].
> >
> > Looking into repology [2] the
1 - 100 of 123 matches
Mail list logo