On Wed, Jul 21, 2021 at 10:54 PM Michal Prívozník
wrote:
>
> > The bug quoted shows a few examples where we fail to save status.
> >
> > I'm very surprised we don't save status when hotplugging a NIC or a
> > disk, as the BZ suggests.
>
> I'm not convinced that the steps there are 100% correct.
On Thu, Jul 8, 2021 at 4:28 PM Jonathon Jongsma wrote:
>
> On Thu, Jul 8, 2021 at 3:47 PM Boris Fiuczynski wrote:
> >
> > On 7/6/21 9:05 PM, Jonathon Jongsma wrote:
> > > Unfortunately, mdevctl supports defining more than one mdev with the
> > > same UUID as long as they have different parent
On Thu, Jul 22, 2021 at 09:44:28AM +0100, Daniel P. Berrangé wrote:
> On Wed, Jul 21, 2021 at 04:22:19PM -0300, Beraldo Leal wrote:
> > On Wed, Jul 21, 2021 at 06:50:03PM +0100, Daniel P. Berrangé wrote:
> > > On Thu, Jul 01, 2021 at 06:09:47PM -0300, Beraldo Leal wrote:
> > > > On Thu, Jul 01,
Daniel P. Berrangé writes:
> On Tue, Jul 20, 2021 at 02:19:25PM +0200, Erik Skultety wrote:
>> On Thu, Jul 01, 2021 at 07:04:32PM +0100, Daniel P. Berrangé wrote:
>> > Libvirt has consumers writing applications in a variety of
>> > languages, and periodically reporting bugs. My general wish
>>
Am Thu, 22 Jul 2021 17:17:11 +0200
schrieb Olaf Hering :
> xc_private.h uses XTL_INFO, XTL_DETAIL, XTL_DEBUG and XTL_ERROR in the
> wrappers.
I wonder if the code should map VIR_LOG_INFO to XTL_DETAIL to enable DPRINTF.
Olaf
pgp3lN57hElrs.pgp
Description: Digitale Signatur von OpenPGP
On Thu, Jul 22, 2021 at 04:01:13PM +0200, Andrea Bolognani wrote:
> lcitool now uses the term "target" instead of "host" to refer to
> the various operating systems it supports, and we need to adapt
> our helper script so that it works with the new command line
> interface.
>
> Signed-off-by:
On Wed, 21 Jul 2021 13:30:00 +0200
Boris Fiuczynski wrote:
> Commit e9b534905f4 introduced an error when parsing an empty list
> returned from mdevctl.
>
> This occurs e.g. if nodedev-undefine is used to undefine the last
> defined mdev which causes the following error messages
>
>
In one of my previous patches I've tried to postpone dropping
CAP_SETPCAP until the very end because it's needed for
capng_apply(). What I did not realize back then was that we might
not have the capability to begin with. Because of unknown reasons
capng_apply() pollutes logs only for
See 2/2 for explanation.
Michal Prívozník (2):
virSetUIDGIDWithCaps: Check for capng_apply() retval properly
virSetUIDGIDWithCaps: Set bounding capabilities only with CAP_SETPCAP
src/util/virutil.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--
2.31.1
After all capabilities were set (except for CAP_SETGID,
CAP_SETUID and CAP_SETPCAP) and after UID:GID was changed we drop
the last aforementioned capabilities (we couldn't drop them
before because we needed UID:GID and capabilities change).
Therefore, there's final capng_apply() call. However,
Am Thu, 22 Jul 2021 16:07:15 +0100
schrieb Daniel P. Berrangé :
> Do we actually need to care about every single level, as opposed to
> just doing a sparse mapping where we squash several xen levels into
> one libvirt level, as the code below shows ?
xc_private.h uses XTL_INFO, XTL_DETAIL,
On Thu, Jul 22, 2021 at 04:39:24PM +0200, Olaf Hering wrote:
> Thanks for your reply, I had no time to look at this until now.
>
> Am Wed, 16 Jun 2021 11:44:10 +0100
> schrieb Daniel P. Berrangé :
>
> > Anyway if you used a virLogSource object, then turning on debugging
> > exclusively for libxl
On Thu, Jul 22, 2021 at 16:39:26 +0200, Paolo Bonzini wrote:
> On 22/07/21 10:19, Peter Krempa wrote:
> > This patch breaks detection of certain machine options features in
> > libvirt which were being detected from 'query-command-line-options'.
> >
> > I presume the change simply removed this
Thanks for your reply, I had no time to look at this until now.
Am Wed, 16 Jun 2021 11:44:10 +0100
schrieb Daniel P. Berrangé :
> Anyway if you used a virLogSource object, then turning on debugging
> exclusively for libxl library messages would be as simple as
>
>
On 22/07/21 10:19, Peter Krempa wrote:
This patch breaks detection of certain machine options features in
libvirt which were being detected from 'query-command-line-options'.
I presume the change simply removed this from the output of
query-command-line-options due to the historical cruft how
adding libvirt-list
On Thu, Jul 08, 2021 at 17:17:37 +0200, Paolo Bonzini wrote:
> From: Gerd Hoffmann
>
> Drop one more shared library dependency (libusb) from core qemu.
>
> Signed-off-by: Gerd Hoffmann
> Reviewed-by: Jose R. Ziviani
> Message-Id:
lcitool now uses the term "target" instead of "host" to refer to
the various operating systems it supports, and we need to adapt
our helper script so that it works with the new command line
interface.
Signed-off-by: Andrea Bolognani
---
Getting this ready for when
On a %A in %Y, Michal Privoznik wrote:
> A stub implementation for virQEMUCapsGetKVMSupportsSecureGuest()
> was added recently. However, the very same implementation was
> added to domaincapsmock.c which is also loaded by
> qemuxml2argvtest and thus one occurrence of the stub can be
> dropped.
>
On 7/22/21 3:17 PM, Pavel Hrdina wrote:
> It is actually not needed because in qemuxml2argvtest we preload
> domaincapsmock as well.
>
> Reported-by: Michal Privoznik
> Signed-off-by: Pavel Hrdina
> ---
> tests/qemuxml2argvmock.c | 16
> 1 file changed, 16 deletions(-)
>
A stub implementation for virQEMUCapsGetKVMSupportsSecureGuest()
was added recently. However, the very same implementation was
added to domaincapsmock.c which is also loaded by
qemuxml2argvtest and thus one occurrence of the stub can be
dropped.
Signed-off-by: Michal Privoznik
---
sysconfig files are owned by the admin of the host. They have the
liberty to put anything they want into these files. This makes it
difficult to provide different built-in defaults.
Remove the sysconfig file and place the current desired default into
the service file.
Local customizations can
Signed-off-by: Olaf Hering
---
NEWS.rst | 10 ++
1 file changed, 10 insertions(+)
diff --git a/NEWS.rst b/NEWS.rst
index d95750e776..3e5b790e03 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -15,6 +15,16 @@ v7.6.0 (unreleased)
* **Improvements**
+ * packaging: sysconfig files no longer
Reduce the delta in an upcoming change.
No change in behavior intended.
Signed-off-by: Olaf Hering
---
libvirt.spec.in | 32 +++-
1 file changed, 15 insertions(+), 17 deletions(-)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index cb48dd0be0..85e79883c5 100644
---
based on 94944e38d7.
Olaf Hering (3):
libvirt.spec: relocate pre script of daemon-driver-qemu
remove sysconfig files
NEWS: mention removal of sysconfig
NEWS.rst| 10 +++
docs/daemons.rst| 20 +
docs/remote.html.in
It is actually not needed because in qemuxml2argvtest we preload
domaincapsmock as well.
Reported-by: Michal Privoznik
Signed-off-by: Pavel Hrdina
---
tests/qemuxml2argvmock.c | 16
1 file changed, 16 deletions(-)
diff --git a/tests/qemuxml2argvmock.c
On Thu, Jul 22, 2021 at 02:54:57PM +0200, Michal Prívozník wrote:
> On 7/22/21 12:24 PM, Pavel Hrdina wrote:
> > We need to mock virQEMUCapsGetKVMSupportsSecureGuest only if compiling
> > with QEMU otherwise compilation will fail with error:
> >
> >
On 7/22/21 12:24 PM, Pavel Hrdina wrote:
> We need to mock virQEMUCapsGetKVMSupportsSecureGuest only if compiling
> with QEMU otherwise compilation will fail with error:
>
> /usr/lib/gcc/i686-w64-mingw32/11.1.1/../../../../i686-w64-mingw32/bin/ld:
>
On a %A in %Y, Tim Wiederhake wrote:
> Signed-off-by: Tim Wiederhake
> ---
> src/conf/nwfilter_params.c | 11 ---
> 1 file changed, 4 insertions(+), 7 deletions(-)
>
> diff --git a/src/conf/nwfilter_params.c b/src/conf/nwfilter_params.c
> index 63ab7e7150..35ea0256c3 100644
> ---
On a %A in %Y, Tim Wiederhake wrote:
> "virHashNew" cannot return NULL, yet we check for NULL in various places.
>
> See https://listman.redhat.com/archives/libvir-list/2021-July/msg00074.html.
>
> Tim Wiederhake (10):
> conf: Add AUTOPTR_CLEANUP_FUNC for virNWFilterVarValue
>
Am Wed, 21 Jul 2021 12:36:40 +0100
schrieb Daniel P. Berrangé :
> If we remove the sysconfig files, we're not expecting users to
> modify the .service files. Instead they will be using the systemd
> overrides in /etc/systemd/system/libvirtd.service.d/ to
> customize.
It seems docs/daemons.rst
Am Wed, 21 Jul 2021 06:00:12 -0700
schrieb Andrea Bolognani :
> On Wed, Jul 21, 2021 at 01:23:56PM +0200, Olaf Hering wrote:
> > There is no point in restarting libvirtd in the middle of the transaction.
> > The spec file gives no ordering hints to rpm.
> Note that the daemon restart always
On 7/21/21 11:27 AM, Peter Krempa wrote:
> 'virStoragePoolObjListSearch' returns a locked and refed object, thus we
> must release it on ACL permission failure.
>
> Fixes: 7aa0e8c0cb8
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1984318
> Signed-off-by: Peter Krempa
> ---
>
We need to mock virQEMUCapsGetKVMSupportsSecureGuest only if compiling
with QEMU otherwise compilation will fail with error:
/usr/lib/gcc/i686-w64-mingw32/11.1.1/../../../../i686-w64-mingw32/bin/ld:
tests/libdomaincapsmock.dll.p/domaincapsmock.c.obj: in function
If lvcreate found an existing signature when trying to create a
new logical volume (E.g. left after some deleted volume), the
action failed due to inability to answer interactive question to
wiping it (lvcreate assumed 'no' was the answer). With added
option --yes to the command line, the answer
Hi Peter,
I'm going to allocate a new (low impact) CVE for this bug.
Thanks.
On Wed, Jul 21, 2021 at 11:34 AM Peter Krempa wrote:
>
> Adding libvirt-security since I forgot when sending the patch.
>
> On Wed, Jul 21, 2021 at 11:27:41 +0200, Peter Krempa wrote:
> > 'virStoragePoolObjListSearch'
On Thu, Jul 22, 2021 at 11:07:42AM +0200, Boris Fiuczynski wrote:
> Since commit d399a728f4 placed the restore in the right scope the
> restore can get removed in virDomainSEVDefParseXML.
>
> Signed-off-by: Boris Fiuczynski
> ---
> src/conf/domain_conf.c | 1 -
> 1 file changed, 1 deletion(-)
Since commit d399a728f4 placed the restore in the right scope the
restore can get removed in virDomainSEVDefParseXML.
Signed-off-by: Boris Fiuczynski
---
src/conf/domain_conf.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index
On Thu, Jul 22, 2021 at 11:00:18AM +0200, Tim Wiederhake wrote:
> The undefined behaviour sanitizer (UBSAN) defaults to merely printing an
> error message if it detects undefined behaviour. These error messages often
> end up in captured output and do not fail the tests, effectively hiding
> the
On Thu, Jul 22, 2021 at 11:00:17AM +0200, Tim Wiederhake wrote:
> If the function is called with maxlen equal to `INT_MAX`, adding
> one will trigger a signed integer overflow.
>
> Signed-off-by: Tim Wiederhake
> ---
> src/util/virfile.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
The undefined behaviour sanitizer (UBSAN) defaults to merely printing an
error message if it detects undefined behaviour. These error messages often
end up in captured output and do not fail the tests, effectively hiding
the warning. Make the test cases fail to make the issues visible.
V1: https://listman.redhat.com/archives/libvir-list/2021-July/msg00592.html
Changes since V1:
Simplified series by using the approach mentioned in
https://listman.redhat.com/archives/libvir-list/2021-June/msg00358.html
Tim Wiederhake (2):
virFileReadLimFD: Cast maxlen to size_t before adding
If the function is called with maxlen equal to `INT_MAX`, adding
one will trigger a signed integer overflow.
Signed-off-by: Tim Wiederhake
---
src/util/virfile.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/virfile.c b/src/util/virfile.c
index
On Wed, Jul 21, 2021 at 04:22:19PM -0300, Beraldo Leal wrote:
> On Wed, Jul 21, 2021 at 06:50:03PM +0100, Daniel P. Berrangé wrote:
> > On Thu, Jul 01, 2021 at 06:09:47PM -0300, Beraldo Leal wrote:
> > > On Thu, Jul 01, 2021 at 07:04:32PM +0100, Daniel P. Berrangé wrote:
> > > > On Wed, Jun 30,
On Wed, Jul 21, 2021 at 06:01:34PM -0400, Cleber Rosa wrote:
>
> Daniel P. Berrangé writes:
>
> > On Thu, Jul 01, 2021 at 06:09:47PM -0300, Beraldo Leal wrote:
> >>
> >> This is supported already:
> >>
> >> $ avocado run --tap - --test-runner='nrunner' tests/domain/transient.py
> >> 1..3
> >>
CC libvir-list
On Tue, Jul 06, 2021 at 12:01:37 +0200, Paolo Bonzini wrote:
> Switch from QemuOpts to keyval. This enables the introduction
> of non-scalar machine properties, and JSON syntax in the future.
>
> For JSON syntax to be supported right now, we would have to
> consider what would
On Wed, 2021-07-21 at 06:56 -0700, Andrea Bolognani wrote:
> On Wed, Jul 21, 2021 at 03:08:02PM +0200, Peter Krempa wrote:
> > On Wed, Jul 21, 2021 at 14:46:43 +0200, Tim Wiederhake wrote:
> > > +++ b/.gitlab-ci.yml
> > > @@ -89,6 +89,8 @@ stages:
> > > - meson build --werror -Ddocs=disabled
Add helper function virHostCPUGetHaltPollTime to obtain halt polling
time. If the kernel support halt polling time statistic, and mount
debugfs. This function will take effect on KVM VMs.
Signed-off-by: Yang Fei
---
src/libvirt_private.syms | 1 +
src/util/virhostcpu.c| 39
This series add the ability to statistic the halt polling time when
VM execute HLT(arm is WFI).
v1:
https://listman.redhat.com/archives/libvir-list/2021-July/msg00029.html
v2:
https://listman.redhat.com/archives/libvir-list/2021-July/msg00339.html
v3:
This function add halt polling time interface in domstats. So that
we can use command 'virsh domstats VM' to get the data if system
support.
Signed-off-by: Yang Fei
---
docs/manpages/virsh.rst | 4
src/libvirt-domain.c| 7 +++
src/qemu/qemu_driver.c | 20
3
Use function virFileReadValueUllongQuiet to read unsigned long
long value without error report.
Signed-off-by: Yang Fei
---
src/libvirt_private.syms | 1 +
src/util/virfile.c | 24
src/util/virfile.h | 2 ++
3 files changed, 27 insertions(+)
diff --git
> -Original Message-
> From: Pavel Hrdina
> Sent: Wednesday, July 21, 2021 10:23 PM
> To: Duan, Zhenzhong
> Cc: libvir-list@redhat.com; pkre...@redhat.com; berra...@redhat.com;
> Yamahata, Isaku ; Tian, Jun J
> ; Qiang, Chenyi
> Subject: Re: [RFC PATCH v2 0/8] LIBVIRT: X86: TDX
On Thu, Jul 22, 2021 at 03:44:18PM +0800, Zhenzhong Duan wrote:
> We just found is ignored in our xml. Further debug
> shows that ctxt's node pointer isn't restored in virDomainSecDefParseXML(),
> which leads to parsing of remaining elements failed.
>
> Signed-off-by: Zhenzhong Duan
> ---
>
Signed-off-by: Tim Wiederhake
---
src/libxl/libxl_logger.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/libxl/libxl_logger.c b/src/libxl/libxl_logger.c
index 0807383d39..f7b5c8ee16 100644
--- a/src/libxl/libxl_logger.c
+++ b/src/libxl/libxl_logger.c
@@ -149,9 +149,7
Signed-off-by: Tim Wiederhake
---
src/util/virlockspace.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/util/virlockspace.c b/src/util/virlockspace.c
index 9986d8df41..edf2ec907f 100644
--- a/src/util/virlockspace.c
+++ b/src/util/virlockspace.c
@@ -247,8 +247,7 @@
Signed-off-by: Tim Wiederhake
---
src/rpc/virnetdaemon.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/rpc/virnetdaemon.c b/src/rpc/virnetdaemon.c
index 1a17753f42..b6f3233f64 100644
--- a/src/rpc/virnetdaemon.c
+++ b/src/rpc/virnetdaemon.c
@@ -141,8 +141,7 @@
Signed-off-by: Tim Wiederhake
---
src/security/security_selinux.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/security/security_selinux.c b/src/security/security_selinux.c
index 0bff9b7bae..5f98d4d47a 100644
--- a/src/security/security_selinux.c
+++
Signed-off-by: Tim Wiederhake
---
src/conf/virnetworkobj.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/conf/virnetworkobj.c b/src/conf/virnetworkobj.c
index 66f916c749..ea021892c7 100644
--- a/src/conf/virnetworkobj.c
+++ b/src/conf/virnetworkobj.c
@@ -118,8 +118,7
Signed-off-by: Tim Wiederhake
---
src/hyperv/hyperv_wmi.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/hyperv/hyperv_wmi.c b/src/hyperv/hyperv_wmi.c
index b113283aeb..dc2c6471ab 100644
--- a/src/hyperv/hyperv_wmi.c
+++ b/src/hyperv/hyperv_wmi.c
@@ -275,7 +275,7 @@
Signed-off-by: Tim Wiederhake
---
src/conf/virstorageobj.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/conf/virstorageobj.c b/src/conf/virstorageobj.c
index 24957d6012..6c8a06e8bc 100644
--- a/src/conf/virstorageobj.c
+++ b/src/conf/virstorageobj.c
@@ -401,12
Signed-off-by: Tim Wiederhake
---
src/conf/virstorageobj.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/src/conf/virstorageobj.c b/src/conf/virstorageobj.c
index 6c8a06e8bc..2b6932d7e5 100644
--- a/src/conf/virstorageobj.c
+++ b/src/conf/virstorageobj.c
@@ -170,12
Signed-off-by: Tim Wiederhake
---
src/security/security_selinux.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/security/security_selinux.c b/src/security/security_selinux.c
index 0c2cf1d1c7..0bff9b7bae 100644
--- a/src/security/security_selinux.c
+++
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_capabilities.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 6cea8c2eca..3804687080 100644
--- a/src/qemu/qemu_capabilities.c
+++
Signed-off-by: Tim Wiederhake
---
src/conf/virnodedeviceobj.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/conf/virnodedeviceobj.c b/src/conf/virnodedeviceobj.c
index b213592b56..e8f6792138 100644
--- a/src/conf/virnodedeviceobj.c
+++ b/src/conf/virnodedeviceobj.c
Signed-off-by: Tim Wiederhake
---
src/util/virlockspace.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/util/virlockspace.c b/src/util/virlockspace.c
index edf2ec907f..0c4beaf9fe 100644
--- a/src/util/virlockspace.c
+++ b/src/util/virlockspace.c
@@ -293,8 +293,7 @@
Signed-off-by: Tim Wiederhake
---
src/conf/virnetworkobj.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/conf/virnetworkobj.c b/src/conf/virnetworkobj.c
index 341d6b4292..66f916c749 100644
--- a/src/conf/virnetworkobj.c
+++ b/src/conf/virnetworkobj.c
@@ -350,10
Signed-off-by: Tim Wiederhake
---
src/locking/lock_daemon.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/locking/lock_daemon.c b/src/locking/lock_daemon.c
index f5e5375e80..fa08acbc76 100644
--- a/src/locking/lock_daemon.c
+++ b/src/locking/lock_daemon.c
@@ -211,8
Signed-off-by: Tim Wiederhake
---
src/locking/lock_daemon.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/locking/lock_daemon.c b/src/locking/lock_daemon.c
index 05fc68dc54..f5e5375e80 100644
--- a/src/locking/lock_daemon.c
+++ b/src/locking/lock_daemon.c
@@ -153,8
Signed-off-by: Tim Wiederhake
---
src/util/virhash.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/util/virhash.c b/src/util/virhash.c
index d2b591c0b7..a9996c9fc0 100644
--- a/src/util/virhash.c
+++ b/src/util/virhash.c
@@ -102,10 +102,7 @@
Signed-off-by: Tim Wiederhake
---
src/conf/virinterfaceobj.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/conf/virinterfaceobj.c b/src/conf/virinterfaceobj.c
index c8fda4990f..a73208f1fc 100644
--- a/src/conf/virinterfaceobj.c
+++ b/src/conf/virinterfaceobj.c
@@
Signed-off-by: Tim Wiederhake
---
src/util/virfilecache.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/util/virfilecache.c b/src/util/virfilecache.c
index 2f55deefb6..64348dc1e6 100644
--- a/src/util/virfilecache.c
+++ b/src/util/virfilecache.c
@@ -242,8 +242,7
Signed-off-by: Tim Wiederhake
---
src/conf/virdomainmomentobjlist.c | 4
1 file changed, 4 deletions(-)
diff --git a/src/conf/virdomainmomentobjlist.c
b/src/conf/virdomainmomentobjlist.c
index c0896685a9..17b9c16ae7 100644
--- a/src/conf/virdomainmomentobjlist.c
+++
Signed-off-by: Tim Wiederhake
---
src/conf/virdomainobjlist.c | 8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/conf/virdomainobjlist.c b/src/conf/virdomainobjlist.c
index 5f9fd9aabc..43d09692a9 100644
--- a/src/conf/virdomainobjlist.c
+++
Signed-off-by: Tim Wiederhake
---
src/conf/domain_validate.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/conf/domain_validate.c b/src/conf/domain_validate.c
index df2ab47361..aab377fbbd 100644
--- a/src/conf/domain_validate.c
+++ b/src/conf/domain_validate.c
@@
Signed-off-by: Tim Wiederhake
---
src/conf/domain_conf.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index e05ea9ba88..6937863db7 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -5924,10 +5924,7 @@
Signed-off-by: Tim Wiederhake
---
src/conf/domain_addr.c | 7 +--
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/conf/domain_addr.c b/src/conf/domain_addr.c
index f011721beb..53b39923e8 100644
--- a/src/conf/domain_addr.c
+++ b/src/conf/domain_addr.c
@@ -1388,8 +1388,7 @@
Signed-off-by: Tim Wiederhake
---
src/hypervisor/virclosecallbacks.c | 4
1 file changed, 4 deletions(-)
diff --git a/src/hypervisor/virclosecallbacks.c
b/src/hypervisor/virclosecallbacks.c
index b9d4940b60..2578a71f03 100644
--- a/src/hypervisor/virclosecallbacks.c
+++
Signed-off-by: Tim Wiederhake
---
src/conf/virchrdev.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/src/conf/virchrdev.c b/src/conf/virchrdev.c
index 91f2b5a233..5d6de68427 100644
--- a/src/conf/virchrdev.c
+++ b/src/conf/virchrdev.c
@@ -265,13 +265,9 @@ virChrdevs
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_domain.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index ac1d8ef151..b919da6eab 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -1788,8 +1788,7 @@
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_interop_config.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/qemu/qemu_interop_config.c b/src/qemu/qemu_interop_config.c
index ea2afcc070..848e8f7381 100644
--- a/src/qemu/qemu_interop_config.c
+++
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_block.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/src/qemu/qemu_block.c b/src/qemu/qemu_block.c
index 2815eb54fa..8150241015 100644
--- a/src/qemu/qemu_block.c
+++ b/src/qemu/qemu_block.c
@@ -231,22 +231,16 @@
Signed-off-by: Tim Wiederhake
---
tests/qemusecuritymock.c | 17 +++--
1 file changed, 3 insertions(+), 14 deletions(-)
diff --git a/tests/qemusecuritymock.c b/tests/qemusecuritymock.c
index 5daf27ccd7..87aadf564e 100644
--- a/tests/qemusecuritymock.c
+++ b/tests/qemusecuritymock.c
Signed-off-by: Tim Wiederhake
---
src/qemu/qemu_block.c | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/qemu/qemu_block.c b/src/qemu/qemu_block.c
index 6627d044cd..2815eb54fa 100644
--- a/src/qemu/qemu_block.c
+++ b/src/qemu/qemu_block.c
@@ -365,10 +365,7 @@
Signed-off-by: Tim Wiederhake
---
src/nwfilter/nwfilter_gentech_driver.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/nwfilter/nwfilter_gentech_driver.c
b/src/nwfilter/nwfilter_gentech_driver.c
index d17be401e6..a425285e8c 100644
---
Signed-off-by: Tim Wiederhake
---
src/nwfilter/nwfilter_gentech_driver.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/nwfilter/nwfilter_gentech_driver.c
b/src/nwfilter/nwfilter_gentech_driver.c
index a425285e8c..f98af5d513 100644
---
Signed-off-by: Tim Wiederhake
---
src/nwfilter/nwfilter_ebiptables_driver.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/nwfilter/nwfilter_ebiptables_driver.c
b/src/nwfilter/nwfilter_ebiptables_driver.c
index 345562bab6..ec17d43c4e 100644
---
Signed-off-by: Tim Wiederhake
---
src/util/virsystemd.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/util/virsystemd.c b/src/util/virsystemd.c
index 6417dc6ea7..f90c17e767 100644
--- a/src/util/virsystemd.c
+++ b/src/util/virsystemd.c
@@ -958,11 +958,10 @@
Signed-off-by: Tim Wiederhake
---
src/nwfilter/nwfilter_gentech_driver.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/nwfilter/nwfilter_gentech_driver.c
b/src/nwfilter/nwfilter_gentech_driver.c
index dbb6b1f80e..d17be401e6 100644
---
Signed-off-by: Tim Wiederhake
---
src/util/virsystemd.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/src/util/virsystemd.c b/src/util/virsystemd.c
index f90c17e767..99c92b6f52 100644
--- a/src/util/virsystemd.c
+++ b/src/util/virsystemd.c
@@ -968,17 +968,14 @@
Signed-off-by: Tim Wiederhake
---
src/nwfilter/nwfilter_gentech_driver.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/src/nwfilter/nwfilter_gentech_driver.c
b/src/nwfilter/nwfilter_gentech_driver.c
index da4f71daf1..dbb6b1f80e 100644
--- a/src/nwfilter/nwfilter_gentech_driver.c
+++
"virHashNew" cannot return NULL, yet we check for NULL in various places.
See https://listman.redhat.com/archives/libvir-list/2021-July/msg00074.html.
Not split up further as per
https://listman.redhat.com/archives/libvir-list/2021-July/msg00575.html
Tim Wiederhake (38):
Signed-off-by: Tim Wiederhake
---
src/util/virsystemd.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/util/virsystemd.c b/src/util/virsystemd.c
index 96f81cd3fa..6417dc6ea7 100644
--- a/src/util/virsystemd.c
+++ b/src/util/virsystemd.c
@@ -964,8 +964,7 @@
We just found is ignored in our xml. Further debug
shows that ctxt's node pointer isn't restored in virDomainSecDefParseXML(),
which leads to parsing of remaining elements failed.
Signed-off-by: Zhenzhong Duan
---
src/conf/domain_conf.c | 1 +
1 file changed, 1 insertion(+)
diff --git
Signed-off-by: Luke Yue
---
tests/virshtest.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/tests/virshtest.c b/tests/virshtest.c
index fe0c420958..88609af89c 100644
--- a/tests/virshtest.c
+++ b/tests/virshtest.c
@@ -257,6 +257,13 @@ static int
As the job should be running between 0-1 seconds, so if the API is
triggered between 0-1 seconds, it will set time to 1, so that
the job status will be completed. Otherwise, there is no job active and
report error.
Signed-off-by: Luke Yue
---
src/test/test_driver.c | 29
Signed-off-by: Luke Yue
---
src/test/test_driver.c | 90 ++
1 file changed, 90 insertions(+)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index 29b19d80f0..4af8ce42f2 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@
Luke Yue (4):
test_driver: Implement virDomainGetJobInfo
test_driver: Implement virDomainGetJobStats
test_driver: Implement virDomainAbortJob
virshtest: add test for domjobinfo
src/test/test_driver.c | 170 +
tests/virshtest.c | 11 +++
2
As in testDomainGetControlInfo, a background job should be running
between 0-1 seconds, so make the testDomainGetJobInfo consistent
with it.
Signed-off-by: Luke Yue
---
src/test/test_driver.c | 51 ++
1 file changed, 51 insertions(+)
diff --git
Signed-off-by: Mahmoud Mandour
---
docs/system/deprecated.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/docs/system/deprecated.rst b/docs/system/deprecated.rst
index e2e0090878..7ae6f1f727 100644
--- a/docs/system/deprecated.rst
+++ b/docs/system/deprecated.rst
@@ -126,6 +126,13
Add support for customizable grabToggle key combinations with
.
Signed-off-by: Justin Gatzen
---
docs/formatdomain.rst | 12 +++-
docs/schemas/domaincommon.rng | 12
src/conf/domain_conf.c| 19
99 matches
Mail list logo