[PATCH v2 0/3] security: Don't error out on seclabels of type='none'

Michal Privoznik via Devel posted 3 patches 7 hours ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1775043601.git.mprivozn@redhat.com
src/conf/domain_conf.c          | 13 ++++++-------
src/security/security_manager.c | 33 ++++++++++++++++++++++-----------
2 files changed, 28 insertions(+), 18 deletions(-)
[PATCH v2 0/3] security: Don't error out on seclabels of type='none'
Posted by Michal Privoznik via Devel 7 hours ago
v2 of:

https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/OWDBSMSSFLOYNMYZ3XBA5YPQFTRIRGIX/

diff to v1:
- In patch 3/3 do not validate secmodel against known models.

Michal Prívozník (3):
  conf: Fix seclabel type parsing wrt default value
  security: Rewrite virSecurityManagerCheckModel() to use g_autofree
  security: Don't error out on seclabels of type='none'

 src/conf/domain_conf.c          | 13 ++++++-------
 src/security/security_manager.c | 33 ++++++++++++++++++++++-----------
 2 files changed, 28 insertions(+), 18 deletions(-)

-- 
2.52.0

Re: [PATCH v2 0/3] security: Don't error out on seclabels of type='none'
Posted by Peter Krempa via Devel 6 hours ago
On Wed, Apr 01, 2026 at 13:40:52 +0200, Michal Privoznik via Devel wrote:
> v2 of:
> 
> https://lists.libvirt.org/archives/list/devel@lists.libvirt.org/thread/OWDBSMSSFLOYNMYZ3XBA5YPQFTRIRGIX/
> 
> diff to v1:
> - In patch 3/3 do not validate secmodel against known models.
> 
> Michal Prívozník (3):
>   conf: Fix seclabel type parsing wrt default value
>   security: Rewrite virSecurityManagerCheckModel() to use g_autofree
>   security: Don't error out on seclabels of type='none'
> 
>  src/conf/domain_conf.c          | 13 ++++++-------
>  src/security/security_manager.c | 33 ++++++++++++++++++++++-----------
>  2 files changed, 28 insertions(+), 18 deletions(-)

Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Re: [PATCH v2 0/3] security: Don't error out on seclabels of type='none'
Posted by Richard W.M. Jones via Devel 6 hours ago
I tested it again, and it still works!

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top