daemon: inspect_get_windows_group_policy

Windows group policy objects (GPOs) are restrictions that can be added
by an administrator to Windows to lock down various operations.  From
our point of view the ones that matter involve restricting the ability
to inject device drivers.

Previously virt-v2v detected group policy here:

9bb2e7d470/convert/convert_windows.ml (L69)

We would like to report group policy through the libguestfs API and
tools such as virt-inspector, so move the code that is used to detect
group policy to libguestfs.  A new API is introduced that returns
whether group policy was found (only for Windows guests) during
inspection of the software registry.

Fixes: https://issues.redhat.com/browse/RHEL-125846
This commit is contained in:
Richard W.M. Jones
2025-11-03 15:47:10 +00:00
committed by rwmjones
parent 355f8a5413
commit 1db2b7837f
7 changed files with 86 additions and 1 deletions

View File

@@ -1 +1 @@
520
521