The most common "error" when trying to unset the firewalld zone of an
interface is for firewalld to tell us that the interface already isn't
in any zone. Since this is what we want, no need to alarm the user by
logging it as an error.
Signed-off-by: Laine Stump
---
src/util/virfirewalld.c | 33 +
Any time the firewalld zone for an interface is set, by definition
that removes it from any previous zone that it was in, so there is
really no point in unsetting the zone if it's just going to be
immediately set again.
(incoming "weave" - it meanders a bit, but then ties together into a
point. Bi
While testing a recent patch that unsets the zone of bridge interfaces
when a virtual network is stopped, a side effect was noticed: when
firewalld reloaded its rules, this would result in an error log from
libvirt complaining about attempting to unset the zone of an interface
that wasn't in any zo
On 10/21/24 3:39 PM, validsud...@gmail.com wrote:
Hi, pardon my ignorance. I'm trying to add some changes to the libvirt codebase
(https://gitlab.com/libvirt/libvirt).
I've successfully built it with `meson setup /build` and a
`compile_commands.json` was generated in the build folder. But vscod
On 10/21/24 4:57 PM, Jim Fehlig via Devel wrote:
The libvirt xen driver does not support nwfilters. In fact, since
commit d721b6840f, the driver rejects VM configuration referencing
nwfilters. Drop the needless nwfilter dependency from
libvirt-daemon-xen.
Signed-off-by: Jim Fehlig
Reviewed-by
Learn to parse a file path for the TPM state.
Signed-off-by: Marc-André Lureau
---
docs/formatdomain.rst | 19 ++
src/conf/domain_conf.c | 28 +
src/conf/domain_conf.h | 9 +++
src/conf/
On 10/21/24 2:23 PM, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau
With upcoming v0.10 swtpm (commit
https://github.com/stefanberger/swtpm/commit/aa483aeb6df87ed56ccf3d5778d6fd8019089bda),
file locking with "lock" option is now supported and reflected in
"tpmstate-opt-lock" capa
On 10/21/24 2:23 PM, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau
Learn to parse a directory for the TPM state.
Signed-off-by: Marc-André Lureau
Reviewed-by: Stefan Berger
---
docs/formatdomain.rst | 3 ++-
src/conf/domain_conf.c
On 10/21/24 2:23 PM, marcandre.lur...@redhat.com wrote:
From: Marc-André Lureau
Mechanically replace existing 'storagepath' with 'source_path', as the
following patches introduce configuration.
Signed-off-by: Marc-André Lureau
Reviewed-by: Stefan Berger
The libvirt xen driver does not support nwfilters. In fact, since
commit d721b6840f, the driver rejects VM configuration referencing
nwfilters. Drop the needless nwfilter dependency from
libvirt-daemon-xen.
Signed-off-by: Jim Fehlig
---
libvirt.spec.in | 1 -
1 file changed, 1 deletion(-)
diff
From: Marc-André Lureau
When swtpm reports "nvram-backend-dir", it can accepts a single file or
block device where TPM state will be stored. --tpmstate must be
backend-uri=file://.
Teach the storage to use custom directory or file source location.
Signed-off-by: Marc-André Lureau
---
src/qemu
Hi, pardon my ignorance. I'm trying to add some changes to the libvirt codebase
(https://gitlab.com/libvirt/libvirt).
I've successfully built it with `meson setup /build` and a
`compile_commands.json` was generated in the build folder. But vscode keeps
showing that there are errors from trying
From: Marc-André Lureau
Hi,
When swtpm capabilities reports "nvram-backend-dir", it can accepts a single
file or block device where TPM state will be stored.
--tpmstate must be backend-uri=file://.
v4:
- add "qemu: explicit swtpm state locking"
- add r-b from Stefan, first patch only atm
v3:
From: Marc-André Lureau
With upcoming v0.10 swtpm (commit
https://github.com/stefanberger/swtpm/commit/aa483aeb6df87ed56ccf3d5778d6fd8019089bda),
file locking with "lock" option is now supported and reflected in
"tpmstate-opt-lock" capability.
Signed-off-by: Marc-André Lureau
---
src/qemu/qemu
From: Marc-André Lureau
Learn to parse a directory for the TPM state.
Signed-off-by: Marc-André Lureau
---
docs/formatdomain.rst | 3 ++-
src/conf/domain_conf.c| 1 +
src/conf/domain_conf.h| 1 +
src/conf/schemas/domain
From: Marc-André Lureau
Learn to parse a file path for the TPM state.
Signed-off-by: Marc-André Lureau
---
docs/formatdomain.rst | 19 ++
src/conf/domain_conf.c | 28 +
src/conf/domain_conf.h | 9 +
From: Marc-André Lureau
Mechanically replace existing 'storagepath' with 'source_path', as the
following patches introduce configuration.
Signed-off-by: Marc-André Lureau
---
src/conf/domain_conf.c | 2 +-
src/conf/domain_conf.h | 2 +-
src/qemu/qemu_tpm.c | 46
From: Marc-André Lureau
Signed-off-by: Marc-André Lureau
Reviewed-by: Stefan Berger
---
src/util/virtpm.c | 2 ++
src/util/virtpm.h | 2 ++
2 files changed, 4 insertions(+)
diff --git a/src/util/virtpm.c b/src/util/virtpm.c
index 81fd6166cf..298caaad80 100644
--- a/src/util/virtpm.c
+++ b/src
By "REBOOTED", do you mean VIR_DOMAIN_EVENT_STARTED_REBOOTED ?
If yes, do you suggest adding this detail/reason to each lifecycle event
caused by a reboot ?
Then, we will also have :
- VIR_DOMAIN_EVENT_SHUTDOWN_REBOOTED
- VIR_DOMAIN_EVENT_STOPPED_REBOOTED
- VIR_DOMAIN_EVENT_RESUMED_REBOOTED
Best
On Mon, Oct 21, 2024 at 03:14:13PM +0200, Hector Cao wrote:
> By "REBOOTED", do you mean VIR_DOMAIN_EVENT_STARTED_REBOOTED ?
>
> If yes, do you suggest adding this detail/reason to each lifecycle event
> caused by a reboot ?
>
> Then, we will also have :
> - VIR_DOMAIN_EVENT_SHUTDOWN_REBOOTED
> -
On Mon, Oct 21, 2024 at 12:34:23PM -, hector@canonical.com wrote:
> Hello Zhenzhong and Daniel,
>
> With this implementation, upon TD reboot, some events
> VIR_DOMAIN_EVENT_ID_LIFECYCLE are emitted (STARTED, STOPPED and probably
> SHUTDOWN and RESUMED).
>
> For normal VM, only the event
Hello Zhenzhong and Daniel,
With this implementation, upon TD reboot, some events
VIR_DOMAIN_EVENT_ID_LIFECYCLE are emitted (STARTED, STOPPED and probably
SHUTDOWN and RESUMED).
For normal VM, only the event VIR_DOMAIN_EVENT_ID_REBOOT is emitted.
Do you think it is good to align the API for TD
On Mon, Oct 21, 2024 at 03:06:13PM +0400, Marc-André Lureau wrote:
> Hi
>
> On Mon, Oct 14, 2024 at 5:41 PM Daniel P. Berrangé
> wrote:
> >
> > On Mon, Oct 14, 2024 at 09:35:14AM -0400, Stefan Berger wrote:
> > >
> > >
> > > On 10/14/24 5:17 AM, Daniel P. Berrangé wrote:
> > > > On Fri, Oct 11,
Hi
On Mon, Oct 14, 2024 at 5:41 PM Daniel P. Berrangé wrote:
>
> On Mon, Oct 14, 2024 at 09:35:14AM -0400, Stefan Berger wrote:
> >
> >
> > On 10/14/24 5:17 AM, Daniel P. Berrangé wrote:
> > > On Fri, Oct 11, 2024 at 10:16:51AM -0400, Stefan Berger wrote:
> > > >
> > > >
> > > > On 10/11/24 10:10
On a Friday in 2024, Jiri Denemark wrote:
Jiri Denemark (3):
domain_capabilities: Sort CPU models
domain_capabilities: Report CPU blockers
NEWS: Report CPU model blockers in domain capabilities
NEWS.rst | 6 +
docs/formatdomaincaps.rst
On Sat, Oct 19, 2024 at 12:24 AM Stefan Berger wrote:
>
> Factor-out code related to adding key to the swtpm command line into its
> own function.
>
> Signed-off-by: Stefan Berger
Reviewed-by: Marc-André Lureau
> ---
> src/qemu/qemu_tpm.c | 60 +++--
>
On Sat, Oct 19, 2024 at 12:24 AM Stefan Berger wrote:
>
> Run swtpm_setup with the --profile-name option if the user provided the
> name of a profile. swtpm_setup will try to load the profile from
> directories with local profiles and distro profiles and if no profile
> by this name with appended
27 matches
Mail list logo