virProcessKillPainfullyDelay() currently almost always returns 1 or -1,
even though the documentation indicates that it should return 0 if the
process was terminated gracefully. But the computation of the return
code is faulty and the only case that it currently returns 0 is when it
is called with
The idea behind these is to prevent running both modular daemons
and monolithic daemon at the same time. We will implement a more
effective solution for that shortly.
Signed-off-by: Andrea Bolognani
---
src/remote/meson.build | 5 -
1 file changed, 5 deletions(-)
diff --git a/src/remote/mes
Signed-off-by: Andrea Bolognani
---
src/qemu/meson.build | 33 +---
src/qemu/virtqemud.service.in | 48 ---
2 files changed, 29 insertions(+), 52 deletions(-)
delete mode 100644 src/qemu/virtqemud.service.in
diff --git a/src/qemu/meso
Signed-off-by: Andrea Bolognani
---
src/node_device/meson.build | 4
src/node_device/virtnodedevd.service.in | 25 -
2 files changed, 29 deletions(-)
delete mode 100644 src/node_device/virtnodedevd.service.in
diff --git a/src/node_device/meson.build b/s
Now that providing the value is optional, we can remove almost
all uses.
Signed-off-by: Andrea Bolognani
---
src/ch/meson.build | 1 -
src/interface/meson.build | 1 -
src/libxl/meson.build | 1 -
src/locking/meson.build | 1 -
src/logging/meson.build | 1 -
src/lxc/meso
These contain the part that is common to all existing service
and socket definitions.
Each section of each template ends with a placeholder, which
marks the spot where additional, service-specific lines should
be injected.
Signed-off-by: Andrea Bolognani
---
src/meson.build | 10 +
All services are still listing their input files explicitly, so
no changes to the output files will occur yet.
Signed-off-by: Andrea Bolognani
---
src/meson.build | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/meson.build b/src/meson.build
index d7133d1293..b0
We're about to change the defaults and start migrating to common
templates: in order to be able to switch units over one at a
time, make the input files that are currently used explicit
rather than implicit.
Signed-off-by: Andrea Bolognani
---
src/ch/meson.build | 3 +++
src/interface/
Requires/Wants only tells systemd that the corresponding unit
should be started when the current one is, but that could very
well happen in parallel. For virtlogd/virtlockd, we want the
socket to be already active when the hypervisor driver is
started.
Signed-off-by: Andrea Bolognani
---
src/lib
Like the Description, these are intended to be displayed to the
user, so it makes sense to have them towards the top of the file
before all the information that systemd will parse to calculate
dependencies.
Signed-off-by: Andrea Bolognani
---
src/locking/virtlockd.service.in | 4 ++--
src/loggin
They are unnecessary, since all sockets for a service are now
enabled as soon as one of them is and each service has a very
strong dependency on all of its sockets.
Signed-off-by: Andrea Bolognani
---
src/locking/virtlockd-admin.socket.in | 2 --
src/logging/virtlogd-admin.socket.in | 2 --
src
Hypervisors are referred to by their user-facing name rather
than the name of their libvirt driver, the monolithic daemon is
explicitly referred to as legacy, and a consistent format is
used throughout.
Signed-off-by: Andrea Bolognani
---
src/ch/meson.build| 2 +-
src/interfa
This results in all sockets for a service being enabled when a
single one of them is.
The -tcp and -tls sockets are intentionally excluded, because
enabling them should require explicit action on the
administrator's part; moreover, disabling them should not result
in the local sockets being disabl
Signed-off-by: Andrea Bolognani
---
src/vbox/meson.build | 7 +++
src/vbox/virtvboxd.service.in | 26 --
2 files changed, 3 insertions(+), 30 deletions(-)
delete mode 100644 src/vbox/virtvboxd.service.in
diff --git a/src/vbox/meson.build b/src/vbox/meson.bu
It's no longer used anywhere. @socket_unit_extra@ would be its
equivalent when using common templates.
Signed-off-by: Andrea Bolognani
---
src/meson.build | 2 --
src/remote/libvirtd-admin.socket.in | 1 -
src/remote/libvirtd-ro.socket.in| 1 -
src/remote/libvirtd-tcp.soc
Now that the migration to common templates has been completed,
we no longer need these.
Signed-off-by: Andrea Bolognani
---
src/meson.build | 4
1 file changed, 4 deletions(-)
diff --git a/src/meson.build b/src/meson.build
index b00895fd07..4e837c1e6d 100644
--- a/src/meson.build
+++ b/src
Signed-off-by: Andrea Bolognani
---
src/secret/meson.build| 4
src/secret/virtsecretd.service.in | 25 -
2 files changed, 29 deletions(-)
delete mode 100644 src/secret/virtsecretd.service.in
diff --git a/src/secret/meson.build b/src/secret/meson.build
i
systemd will automatically infer this dependency based on the
socket's Service=foo.service setting.
Signed-off-by: Andrea Bolognani
---
src/remote/libvirtd-admin.socket.in | 1 -
src/remote/libvirtd-ro.socket.in| 1 -
src/remote/libvirtd-tcp.socket.in | 1 -
src/remote/libvirtd-tls.socket.
Signed-off-by: Andrea Bolognani
---
src/libxl/meson.build | 21 -
src/libxl/virtxend.service.in | 32
2 files changed, 16 insertions(+), 37 deletions(-)
delete mode 100644 src/libxl/virtxend.service.in
diff --git a/src/libxl/meson.bui
Signed-off-by: Andrea Bolognani
---
src/ch/meson.build| 27
src/ch/virtchd.service.in | 44 ---
2 files changed, 23 insertions(+), 48 deletions(-)
delete mode 100644 src/ch/virtchd.service.in
diff --git a/src/ch/meson.build b/
We want to make sure that, at any given time, we have either the
modular daemons or the monolithic one running, never both. In
order to achieve that, make every single modular unit conflict
with the corresponding libvirtd unit.
We set both Conflicts=libvirtd.unit and After=libvirtd.unit: this
tell
It is currently considered required, but we're soon going to
provide a default that will be suitable for most services.
Since all services currently provide a value explicitly, we
can implement a default without breaking anything.
Signed-off-by: Andrea Bolognani
---
src/meson.build | 6 --
The decision is based only on whether Polkit support is enabled,
so there's no need to go through it again for every single
service.
Signed-off-by: Andrea Bolognani
---
src/meson.build | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/meson.build b/src/meson.bu
We have already declared the mirror relationship, so this one
is now redundant.
Moreover, this version was incomplete: it only ever worked for
the monolithic daemon, but the modular daemons for QEMU and Xen
also want the sockets to be active.
Signed-off-by: Andrea Bolognani
---
src/locking/virt
Signed-off-by: Andrea Bolognani
---
src/vz/meson.build| 7 +++
src/vz/virtvzd.service.in | 26 --
2 files changed, 3 insertions(+), 30 deletions(-)
delete mode 100644 src/vz/virtvzd.service.in
diff --git a/src/vz/meson.build b/src/vz/meson.build
index 9c2eb9
This is the strongest relationship that can be declared between
two units, and causes the service to be terminated immediately
if any of its sockets disappear. This is the behavior we want.
Signed-off-by: Andrea Bolognani
---
src/locking/virtlockd.service.in | 6 --
src/logging/virtlogd.serv
Up until now the files have been used as template for most
services, but now that those have been converted to common
templates we can drop parametrization and make it clear that
these files are for libvirtd only.
Signed-off-by: Andrea Bolognani
---
src/remote/libvirtd-admin.socket.in | 10 +
Signed-off-by: Andrea Bolognani
---
src/lxc/meson.build | 27 +++
src/lxc/virtlxcd.service.in | 44 -
2 files changed, 23 insertions(+), 48 deletions(-)
delete mode 100644 src/lxc/virtlxcd.service.in
diff --git a/src/lxc/meson.buil
Signed-off-by: Andrea Bolognani
---
src/remote/meson.build | 10 +++---
src/remote/virtproxyd.service.in | 25 -
2 files changed, 3 insertions(+), 32 deletions(-)
delete mode 100644 src/remote/virtproxyd.service.in
diff --git a/src/remote/meson.build b/src/
This tells systemd that the services in question support the
native socket activation protocol.
virtlogd and virtlockd, just like all the other daemons, implement
the necessary handshake.
Signed-off-by: Andrea Bolognani
---
src/locking/virtlockd.service.in | 1 +
src/logging/virtlogd.service.in
A grab bag of changes, ranging from very much functional ones
to purely aesthetical ones.
Patches 01-05 fix a few inconsistencies that the units for
virtlogd/virtlockd had compared to the ones for all other
services.
Patches 06-16 prepare the stage for the mass conversion of unit
files to set of
Signed-off-by: Andrea Bolognani
---
src/nwfilter/meson.build | 4
src/nwfilter/virtnwfilterd.service.in | 25 -
2 files changed, 29 deletions(-)
delete mode 100644 src/nwfilter/virtnwfilterd.service.in
diff --git a/src/nwfilter/meson.build b/src/nwfilt
Signed-off-by: Andrea Bolognani
---
src/network/meson.build | 7 +++
src/network/virtnetworkd.service.in | 26 --
2 files changed, 3 insertions(+), 30 deletions(-)
delete mode 100644 src/network/virtnetworkd.service.in
diff --git a/src/network/meson.buil
The information is not used anywhere right now, but the
documentation for virt_daemon_units claims it's mandatory.
More importantly, we're going to start actually using it later
on.
Signed-off-by: Andrea Bolognani
---
src/locking/meson.build | 2 +-
src/logging/meson.build | 2 +-
2 files chang
Signed-off-by: Andrea Bolognani
---
src/storage/meson.build | 8
src/storage/virtstoraged.service.in | 27 ---
2 files changed, 4 insertions(+), 31 deletions(-)
delete mode 100644 src/storage/virtstoraged.service.in
diff --git a/src/storage/meson.bu
These will be useful during the upcoming migration to common
templates for systemd units and will be dropped as soon as all
services have been converted.
Signed-off-by: Andrea Bolognani
---
src/meson.build | 4
1 file changed, 4 insertions(+)
diff --git a/src/meson.build b/src/meson.build
Signed-off-by: Andrea Bolognani
---
src/interface/meson.build | 4
src/interface/virtinterfaced.service.in | 25 -
2 files changed, 29 deletions(-)
delete mode 100644 src/interface/virtinterfaced.service.in
diff --git a/src/interface/meson.build b/src
For most services, the socket paths can be derived trivially from
the name of the daemon: for virtqemud, for example, they will be
/run/libvirt/virtqemud-sock
/run/libvirt/virtqemud-sock-ro
/run/libvirt/virtqemud-admin-sock
libvirtd and virtproxyd are the exceptions, since their socket
path
For most services, the value provided explicitly matches the
documented default.
Signed-off-by: Andrea Bolognani
---
src/ch/meson.build | 1 -
src/interface/meson.build | 1 -
src/libxl/meson.build | 1 -
src/lxc/meson.build | 1 -
src/network/meson.build | 1 -
src/
While systemd will automatically match foo.socket with foo.service
based on their names, it's nicer to connect the two explicitly.
This is what we do for all services, with virtlogd and virtlockd
being the only exceptions.
Signed-off-by: Andrea Bolognani
---
src/locking/virtlockd.socket.in | 1
Signed-off-by: Andrea Bolognani
---
src/meson.build | 6 +++---
src/remote/libvirtd.socket.in | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/meson.build b/src/meson.build
index 7b6ce6d32f..3fae80d67c 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -
When libvirtd, virtlog and virtlockd are enabled, we want their
admin sockets to be enabled as well.
Signed-off-by: Andrea Bolognani
---
src/locking/virtlockd.service.in | 1 +
src/logging/virtlogd.service.in | 1 +
src/remote/libvirtd.service.in | 1 +
3 files changed, 3 insertions(+)
diff
The meaning of the _def suffix might not be immediately obvious,
especially since it's also used to refer to the output of the
meson-gen-def.py script elsewhere in the same file.
Signed-off-by: Andrea Bolognani
---
src/meson.build | 8
1 file changed, 4 insertions(+), 4 deletions(-)
di
This annotation being missing resulted in virtlogd and virtlockd
being marked as "indirect" services, i.e. services that cannot
be started directly but have to be socket activated instead.
While this is our preferred configuration, we shouldn't prevent
the admin to start them at boot if they want
On Mon, Sep 25, 2023 at 7:00 PM Alex Bennée wrote:
>
> Daniel P. Berrangé writes:
>
> > On Mon, Sep 25, 2023 at 03:48:27PM +0100, Alex Bennée wrote:
> >> This might be premature but while streamling the avocado tests I
> >> realised the only tests we have are "check-tcg" ones. The aging
> >> fed
On Mon, 25 Sept 2023 at 17:45, Alex Bennée wrote:
>
>
> Paolo Bonzini writes:
>
> > On 9/25/23 16:48, Alex Bennée wrote:
> >> If we update configure we should make sure we regenerate all the
> >> compiler details. We should also ensure those details are upto date
> >> before building the TCG test
Il lun 25 set 2023, 18:45 Alex Bennée ha scritto:
> Paolo Bonzini writes:
> > On 9/25/23 16:48, Alex Bennée wrote:
> >> echo "HOST_GDB_SUPPORTS_ARCH=y" >> "$config_target_mak"
> >> fi
> >> + echo "$config_target_mak: configure" >> Makefile.prereqs
> >
> > This in pract
Daniel P. Berrangé writes:
> On Mon, Sep 25, 2023 at 03:48:27PM +0100, Alex Bennée wrote:
>> This might be premature but while streamling the avocado tests I
>> realised the only tests we have are "check-tcg" ones. The aging
>> fedora-criss-cross image works well enough for developers but can't
Paolo Bonzini writes:
> On 9/25/23 16:48, Alex Bennée wrote:
>> If we update configure we should make sure we regenerate all the
>> compiler details. We should also ensure those details are upto date
>> before building the TCG tests.
>> Signed-off-by: Alex Bennée
>> ---
>> configure | 2 ++
>
On Mon, Sep 25, 2023 at 03:48:27PM +0100, Alex Bennée wrote:
> This might be premature but while streamling the avocado tests I
> realised the only tests we have are "check-tcg" ones. The aging
> fedora-criss-cross image works well enough for developers but can't be
> used in CI as we need supporte
On Mon, Sep 25, 2023 at 03:48:27PM +0100, Alex Bennée wrote:
> This might be premature but while streamling the avocado tests I
> realised the only tests we have are "check-tcg" ones. The aging
> fedora-criss-cross image works well enough for developers but can't be
> used in CI as we need supporte
On 9/25/23 16:48, Alex Bennée wrote:
If we update configure we should make sure we regenerate all the
compiler details. We should also ensure those details are upto date
before building the TCG tests.
Signed-off-by: Alex Bennée
---
configure | 2 ++
1 file changed, 2 insertions(+)
diff --gi
On 9/25/23 16:48, Alex Bennée wrote:
Since 0b1a649047 (tests/docker: use direct RUNC call to build
containers) we ended up with the potential for the remaining docker.py
script calls to deviate from the direct RUNC calls. Fix this by
dropping the use of ENGINE in the makefile and rely entirely on
On Mon, Sep 25, 2023 at 03:48:25PM +0100, Alex Bennée wrote:
> We need this to test some TPM stuff.
>
> Signed-off-by: Alex Bennée
> ---
> .gitlab-ci.d/cirrus/macos-12.vars| 2 +-
> tests/docker/dockerfiles/alpine.docker | 1 +
> tests/docker/dockerfiles/centos8
On Mon, Sep 25, 2023 at 03:39:09PM +0200, Marc Hartmayer wrote:
> When starting a guest via libvirt (`virsh start --console`), early
> console output was missed because the guest was started first and then
> the console was attached. This patch changes this to the following
> sequence:
>
> 1. crea
This might be premature but while streamling the avocado tests I
realised the only tests we have are "check-tcg" ones. The aging
fedora-criss-cross image works well enough for developers but can't be
used in CI as we need supported build platforms to build QEMU.
Does this mean the writing is on th
From: Matt Borgerson
Translation logic may partially decode an instruction, then abort and
remove the instruction from the TB. This can happen for example when an
instruction spans two pages. In this case, plugins may get an incorrect
result when calling qemu_plugin_tb_n_insns to query for the nu
From: Akihiko Odaki
GDB has XML support since 6.7 which was released in 2007.
It's time to remove support for old GDB versions without XML support.
Signed-off-by: Akihiko Odaki
Acked-by: Alex Bennée
Message-Id: <20230912224107.29669-10-akihiko.od...@daynix.com>
Signed-off-by: Alex Bennée
---
From: Akihiko Odaki
GDB has XML support since 6.7 which was released in 2007.
It's time to remove support for old GDB versions without XML support.
Signed-off-by: Akihiko Odaki
Message-Id: <20230912224107.29669-11-akihiko.od...@daynix.com>
Signed-off-by: Alex Bennée
---
target/ppc/gdbstub.c |
Coverity complains that we have an unbalance use of mutex leading to
potential deadlocks.
Fixes: CID 1519048
Signed-off-by: Alex Bennée
---
contrib/plugins/hotblocks.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/plugins/hotblocks.c b/contrib/plugins/hotblocks.c
in
This plugin uses the new time control interface to make decisions
about the state of time during the emulation. The algorithm is
currently very simple. The user specifies an iops rate which applies
per core. If the core runs ahead of its allocated execution time the
plugin sleeps for a bit to let r
From: Akihiko Odaki
The created member of CPUState tells if the vCPU thread is started, and
will be always false for the user space emulation that manages threads
independently. Use the realized member of DeviceState, which is valid
for both of the system and user space emulation.
Fixes: 54cb65d
Move the key functionality of moving time forward into the clock
sub-system itself. This will allow us to plumb in time control into
plugins.
Signed-off-by: Alex Bennée
Message-Id: <20230519170454.2353945-7-alex.ben...@linaro.org>
---
v2
- rename arg to target_ns
---
include/qemu/timer.h | 15
From: Richard Henderson
Signed-off-by: Richard Henderson
Message-Id: <20230824181233.1568795-2-richard.hender...@linaro.org>
Signed-off-by: Alex Bennée
---
include/exec/translator.h | 2 ++
accel/tcg/translator.c| 1 +
2 files changed, 3 insertions(+)
diff --git a/include/exec/translator.
From: Akihiko Odaki
g_markup_printf_escaped() is a safer alternative to simple printf() as
it automatically escapes values.
Signed-off-by: Akihiko Odaki
Message-Id: <20230912224107.29669-9-akihiko.od...@daynix.com>
Signed-off-by: Alex Bennée
---
gdbstub/gdbstub.c | 36 +---
Expose the ability to control time through the plugin API. Only one
plugin can control time so it has to request control when loaded.
There are probably more corner cases to catch here.
Signed-off-by: Alex Bennée
Message-Id: <20230519170454.2353945-8-alex.ben...@linaro.org>
---
v2
- ifdef for
Coverity complains that e don't check for a truncation when copying in
the path. Bail if we can't copy the whole path into sockaddr.
Fixes: CID 1519045
Fixes: CID 1519046
Signed-off-by: Alex Bennée
---
contrib/plugins/lockstep.c | 13 +++--
1 file changed, 11 insertions(+), 2 deletions(-
From: Richard Henderson
Signed-off-by: Richard Henderson
Message-Id: <20230824181233.1568795-3-richard.hender...@linaro.org>
Signed-off-by: Alex Bennée
---
target/sh4/translate.c | 41 +
1 file changed, 29 insertions(+), 12 deletions(-)
diff --git a/tar
From: Akihiko Odaki
Some subclasses overwrite gdb_core_xml_file member but others don't.
Always initialize the member in the subclasses for consistency.
This especially helps for AArch64; in a following change, the file
specified by gdb_core_xml_file is always looked up even if it's going to
be
Since 0b1a649047 (tests/docker: use direct RUNC call to build
containers) we ended up with the potential for the remaining docker.py
script calls to deviate from the direct RUNC calls. Fix this by
dropping the use of ENGINE in the makefile and rely entirely on what
we detect at configure time.
Sig
We are about to remove direct calls to individual accelerators for
this information and will need a central point for plugins to hook
into time changes.
Signed-off-by: Alex Bennée
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <20230519170454.2353945-5-alex.ben...@linaro.org>
---
v2
- more k
From: Akihiko Odaki
It was failing to return target.xml after the first request.
Fixes: 56e534bd11 ("gdbstub: refactor get_feature_xml")
Signed-off-by: Akihiko Odaki
Message-Id: <20230912224107.29669-3-akihiko.od...@daynix.com>
Signed-off-by: Alex Bennée
---
gdbstub/gdbstub.c | 2 +-
1 file c
From: Akihiko Odaki
All implementations of gdb_arch_name() returns dynamic duplicates of
static strings. It's also unlikely that there will be an implementation
of gdb_arch_name() that returns a truly dynamic value due to the nature
of the function returning a well-known identifiers. Qualify the
From: Akihiko Odaki
target_xml is no longer a fixed-length array but a pointer to a
variable-length memory.
Fixes: 56e534bd11 ("gdbstub: refactor get_feature_xml")
Signed-off-by: Akihiko Odaki
Reviewed-by: Philippe Mathieu-Daudé
Message-Id: <20230912224107.29669-2-akihiko.od...@daynix.com>
Sig
From: Akihiko Odaki
Before this change, the information from a XML file was stored in an
array that is not descriptive. Introduce a dedicated structure type to
make it easier to understand and to extend with more fields.
Signed-off-by: Akihiko Odaki
Reviewed-by: Philippe Mathieu-Daudé
Reviewed
From: Marcin Juszkiewicz
Update prebuilt firmware images to have TF-A with Neoverse V1 support enabled.
This allowed us to enable test for this cpu in sbsa-ref machine.
Signed-off-by: Marcin Juszkiewicz
Acked-by: Leif Lindholm
Reviewed-by: Philippe Mathieu-Daudé
Reviewed-by: Richard Henderson
The modern packaging of cross GCC's doesn't need the explicit version
number at the end.
Signed-off-by: Alex Bennée
---
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index ebad155d9e..e83872571d 100755
--- a/configure
+++ b/configure
@@ -
If we update configure we should make sure we regenerate all the
compiler details. We should also ensure those details are upto date
before building the TCG tests.
Signed-off-by: Alex Bennée
---
configure | 2 ++
1 file changed, 2 insertions(+)
diff --git a/configure b/configure
index e83872571
From: Akihiko Odaki
execlog had the following comment:
> As we could have multiple threads trying to do this we need to
> serialise the expansion under a lock. Threads accessing already
> created entries can continue without issue even if the ptr array
> gets reallocated during resize.
However,
This generalises the qtest_clock_warp code to use the AccelOps
handlers for updating its own sense of time. This will make the next
patch which moves the warp code closer to pure code motion.
Signed-off-by: Alex Bennée
Acked-by: Thomas Huth
Message-Id: <20230519170454.2353945-6-alex.ben...@linar
From: Akihiko Odaki
An array is a more appropriate data structure than a list for gdb_regs
since it is initialized only with append operation and read-only after
initialization.
Signed-off-by: Akihiko Odaki
Message-Id: <20230912224107.29669-13-akihiko.od...@daynix.com>
[AJB: fixed a checkpatch
Coverity complains that appends_stats_line can be fed a 0 leading
to the undefined behaviour of a divide by 0.
Fixes: CID 1519044
Fixes: CID 1519047
Signed-off-by: Alex Bennée
---
contrib/plugins/cache.c | 18 --
1 file changed, 8 insertions(+), 10 deletions(-)
diff --git a/cont
From: Akihiko Odaki
GDB has XML support since 6.7 which was released in 2007.
It's time to remove support for old GDB versions without XML support.
Signed-off-by: Akihiko Odaki
Message-Id: <20230912224107.29669-12-akihiko.od...@daynix.com>
Signed-off-by: Alex Bennée
---
gdbstub/internals.h
We move a couple of targets out of the avocado runs because there are
no tests to run. Tricore already has some coverage. The cris target
only really has check-tcg tests but its getting harder to find
anything that packages the compiler.
To reduce the noise of CANCEL messages we also set AVOCADO_
If you have both engines installed but one is broken you are stuck
with the automagic. Allow the user to override the engine for this
case.
Signed-off-by: Alex Bennée
---
configure | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index 707132a3ae.
We need this to test some TPM stuff.
Signed-off-by: Alex Bennée
---
.gitlab-ci.d/cirrus/macos-12.vars| 2 +-
tests/docker/dockerfiles/alpine.docker | 1 +
tests/docker/dockerfiles/centos8.docker | 1 +
tests/docker/dockerfiles/debian-amd64-cross.doc
Hi,
This wraps up my current testing, gdbstub and plugin trees in an
attempt to do my part to reduce the qemu-devel fire hose.
For testing we have a number of cleanups to configure to better handle
selecting the container engine (removing the ability to dynamically
switch). I had to do this as on
Currently, early console output may be lost, e.g. if starting a guest with
`virsh start --console` guest, which can make debugging of early failures very
difficult
(like zipl messages or disabled wait conditions happening early). This is
because QEMU may emit serial console output before the libvir
When starting a guest via libvirt (`virsh start --console`), early
console output was missed because the guest was started first and then
the console was attached. This patch changes this to the following
sequence:
1. create a paused guest
2. attach the console
3. resume the guest
Reviewed-by: Bo
When starting a guest via libvirt (`virsh create --console`), early
console output was missed because the guest was started first and then
the console was attached. This patch changes this to the following
sequence:
1. create a paused transient guest
2. attach the console
3. resume the guest
Revi
This patch adds the command line flag `--resume` to the `virsh console`
command. This resumes a paused guest after connecting to the console.
This might be handy since it's a "common" pattern to start a guest
paused, connect to the console, and then resume it so as not to miss any
console messages.
On Tue, Sep 12, 2023 at 03:56:47PM +0300, Dmitry Frolov wrote:
Reviewing the code I found that return value of function
udev_device_get_sysattr_value() is dereferenced without a check.
udev_device_get_sysattr_value() may return NULL by number of reasons.
v2: VIR_DEBUG added, replaced STREQ(NULLS
On a Friday in 2023, Jonathon Jongsma wrote:
virProcessKillPainfullyDelay() currently almost always returns 1 or -1,
even though the documentation indicates that it should return 0 if the
process was terminated gracefully. The only case that it currently
returns 0 is when it is called with the pi
On a Friday in 2023, Jonathon Jongsma wrote:
Commit 93af79fb removed a cleanup label in favor of returning error
values directly in certain cases. But the final return value was changed
from -1 to 0. If we get to the end of the function, that means that
we've waited for the process to exit but it
On Wed, Sep 20, 2023 at 05:24:59PM +0200, Ján Tomko wrote:
> Ján Tomko (3):
> qemu: fix indentation in qemuValidateDomainDeviceDefFS
> qemu: extend filesystem XML validation
> docs: formatdomain: clarify support of some filesystem options
>
> docs/formatdomain.rst| 5 -
> src/qemu/q
On Fri, Sep 22, 2023 at 02:20:10PM -0600, Jim Fehlig wrote:
> In a modular daemon configuration, virtxend does not support the
> virNetwork* APIs. It should open a connection to virtnetworkd when
> using those APIs, but currently always opens a connection to
> "xen:///system". Switch to using virGe
96 matches
Mail list logo