On Tue, Nov 17, 2026 at 8:50 AM Markus Armbruster <[email protected]> wrote:
> Elizabeth Ashurov <[email protected]> writes: > > > Add a new guest-get-driver-packages command that returns out-of-box > > driver packages from the Windows Driver Store, enumerated via the > > DISM API (DismGetDrivers). Each entry includes the published INF > > name, original INF name, version, and provider. > > > > Load DismApi.dll dynamically with LoadLibraryExW so that its absence > > does not prevent qemu-ga from starting. Initialize DISM lazily once > > per QGA process and open a separate online DISM session for each > > command invocation, with process cleanup registered through > > ga_command_state_add. > > > > Signed-off-by: Elizabeth Ashurov <[email protected]> > > [...] > > > diff --git a/qga/qapi-schema.json b/qga/qapi-schema.json > > index 8cd0ba048b..081c99bc74 100644 > > --- a/qga/qapi-schema.json > > +++ b/qga/qapi-schema.json > > @@ -1590,6 +1590,37 @@ > > 'returns': ['GuestDeviceInfo'], > > 'if': 'CONFIG_WIN32' } > > > > +## > > +# @GuestDriverPackage: > > +# > > +# An out-of-box driver package installed in the guest. > > Excuse my ignorance: what's an "out-of-box driver package"? Is this > established Windows terminology, or something you made up? > Inbox drivers and Out-of-Box drivers are MSFT terminology. Inbox - preinstalled in Windows, built-in Out-of-Box - OEM, Vendors drivers that should be installed manually > > Please use the revised syntax for introductions: > > ## > # @GuestDriverPackage: > # An out-of-box driver package installed in the guest. > > Same below. > > > +# > > +# @name: published INF name > > +# > > +# @original-name: base name of the original INF file > > +# > > +# @version: four-part version from the package INF DriverVer entry > > +# > > +# @vendor: package provider from the INF metadata > > +# > > +# Since: 11.2 > > 12.0 > > Same below. > > > +## > > +{ 'struct': 'GuestDriverPackage', > > + 'data': { 'name': 'str', '*original-name': 'str', 'version': 'str', > > + '*vendor': 'str' }, > > + 'if': 'CONFIG_WIN32' } > > + > > +## > > +# @guest-get-driver-packages: > > +# > > +# Retrieve out-of-box driver packages installed in the guest. > > +# > > +# Since: 11.2 > > +## > > +{ 'command': 'guest-get-driver-packages', > > + 'returns': ['GuestDriverPackage'], > > + 'if': 'CONFIG_WIN32' } > > + > > ## > > # @GuestAuthorizedKeys: > > # > >
